shalomb | 6319dfe | 2017-11-14 17:17:51 +0200 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 6 | <artifactId>sdc-onboarding</artifactId> |
| 7 | <packaging>pom</packaging> |
| 8 | |
| 9 | <parent> |
| 10 | <groupId>org.openecomp.sdc</groupId> |
| 11 | <artifactId>sdc-main</artifactId> |
Michael Lando | 0ad3c80 | 2017-09-19 16:32:59 +0300 | [diff] [blame] | 12 | <version>1.2.0-SNAPSHOT</version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 13 | </parent> |
| 14 | |
| 15 | <modules> |
Gautam Shah | 09a41f5 | 2018-04-11 19:55:29 +0530 | [diff] [blame] | 16 | <module>../openecomp-be/tools/build-helper</module> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 17 | <module>../common</module> |
| 18 | <module>../openecomp-be</module> |
| 19 | <module>../openecomp-ui</module> |
| 20 | </modules> |
| 21 | |
| 22 | <properties> |
| 23 | <!-- Maven plugin versions --> |
Avi Gaffa | 7d6d63c | 2017-09-10 15:22:07 +0300 | [diff] [blame] | 24 | <jacoco.version>0.7.9</jacoco.version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 25 | <mvn.assembly.version>2.1</mvn.assembly.version> |
shrikantawachar | 9a69925 | 2018-04-06 11:07:00 +0530 | [diff] [blame] | 26 | <mvn.compiler.version>3.7.0</mvn.compiler.version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 27 | <mvn.deploy.version>2.4</mvn.deploy.version> |
| 28 | <mvn.hub.version>1.4.0</mvn.hub.version> |
| 29 | <mvn.install.version>2.3.1</mvn.install.version> |
| 30 | <mvn.jar.version>2.4</mvn.jar.version> |
| 31 | <mvn.jaxb2.version>0.13.2</mvn.jaxb2.version> |
| 32 | <mvn.license.version>1.10</mvn.license.version> |
| 33 | <mvn.shade.version>2.3</mvn.shade.version> |
| 34 | <mvn.surefire.version>2.19.1</mvn.surefire.version> |
Gautam Shah | 09a41f5 | 2018-04-11 19:55:29 +0530 | [diff] [blame] | 35 | <mvn.swagger.version>3.1.5</mvn.swagger.version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 36 | <mvn.war.version>2.1.1</mvn.war.version> |
vempo | 31a7a92 | 2017-10-22 14:10:41 +0300 | [diff] [blame] | 37 | <mvn.antrun.version>1.8</mvn.antrun.version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 38 | |
talio | a5eda62 | 2017-09-18 10:58:27 +0300 | [diff] [blame] | 39 | <!-- Onboarding artifacts version --> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 40 | <openecomp.sdc.common.version>${project.version}</openecomp.sdc.common.version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 41 | |
| 42 | <!-- Onboarding 3rd party versions --> |
| 43 | <aspectj.version>1.8.9</aspectj.version> |
| 44 | <bsh.version>2.0b5</bsh.version> |
| 45 | <cassandra.version>2.1.9</cassandra.version> |
| 46 | <cglib.nodep.version>3.2.4</cglib.nodep.version> <!--old : 2.1_3. new 3.2.4 --> |
| 47 | <classmate.version>1.3.3</classmate.version> |
| 48 | <commons.beanutils.version>1.9.3</commons.beanutils.version> |
shalomb | 6319dfe | 2017-11-14 17:17:51 +0200 | [diff] [blame] | 49 | <commons.codec.version>1.10 |
| 50 | </commons.codec.version> <!-- orignal 1.6 updated to resolve blackduck violation --> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 51 | <commons.collections.version>4.1</commons.collections.version> |
| 52 | <commons.digester.version>2.1</commons.digester.version> |
| 53 | <commons.io.version>2.5</commons.io.version> |
shalomb | 6319dfe | 2017-11-14 17:17:51 +0200 | [diff] [blame] | 54 | <commons.lang.version>2.6 |
| 55 | </commons.lang.version> <!-- orignal 2.5. updated to resolve blackduck violation --> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 56 | <commons.lang3.version>3.4</commons.lang3.version> |
| 57 | <cxf.version>3.1.8</cxf.version> |
| 58 | <datasatx.version>2.1.9</datasatx.version> |
| 59 | <easymock.version>3.4</easymock.version> |
| 60 | <groovy.version>2.4.7</groovy.version> |
| 61 | <gson.version>2.3.1</gson.version> |
| 62 | <fop.version>2.2</fop.version> |
| 63 | <freemarker.version>2.3.26-incubating</freemarker.version> |
shalomb | 6319dfe | 2017-11-14 17:17:51 +0200 | [diff] [blame] | 64 | <hibernate.validator.version>5.3.3.Final |
| 65 | </hibernate.validator.version> <!--5.3.1.Final changed to 5.3.3.Final to include jboss-logging 3.3.0.Final for 1702 --> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 66 | <http.client.version>4.4.1</http.client.version> |
| 67 | <httpasyncclient.version>4.1.2</httpasyncclient.version> |
| 68 | <janino.version>2.7.7</janino.version> |
| 69 | <jaxb.impl.version>2.2.11</jaxb.impl.version> |
| 70 | <java.source>1.8</java.source> |
| 71 | <java.target>1.8</java.target> |
| 72 | <javax.el.version>2.2.4</javax.el.version> |
shalomb | 6319dfe | 2017-11-14 17:17:51 +0200 | [diff] [blame] | 73 | <javax.el-api.version>3.0.1-b04 |
| 74 | </javax.el-api.version> <!-- orignal 2.2.4 updated to resolve blackduck violation --> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 75 | <javax.inject.version>1</javax.inject.version> |
| 76 | <javax.servlet.version>2.5</javax.servlet.version> |
| 77 | <jackson.version>2.8.1</jackson.version> |
| 78 | <jackson.annotations.version>2.7.4</jackson.annotations.version> |
| 79 | <jackson.dataformat.version>2.7.4</jackson.dataformat.version> |
| 80 | <jackson.mapper.version>1.9.13</jackson.mapper.version> |
| 81 | <jcommander.version>1.58</jcommander.version> |
| 82 | <jetty.servlets.version>9.0.6.v20130930</jetty.servlets.version> |
| 83 | <jersey.core.version>1.19.1</jersey.core.version> |
| 84 | <jersey.multipart.version>1.18.1</jersey.multipart.version> |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 85 | <junit.version>RELEASE</junit.version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 86 | <logback.version>1.1.2</logback.version> |
| 87 | <mockito.all.version>1.10.19</mockito.all.version> |
| 88 | <org.codehaus.jackson.version>1.9.13</org.codehaus.jackson.version> <!-- orignal 1.9.2 --> |
shalomb | 6319dfe | 2017-11-14 17:17:51 +0200 | [diff] [blame] | 89 | <org.everit.json.schema.version>1.3.0 |
| 90 | </org.everit.json.schema.version> <!--new 1.4.1 orignal 1.3.0 updated to resolve blackduck violation --> |
| 91 | <org.reflections.version>0.9.10 |
| 92 | </org.reflections.version> <!-- orignal 0.9.9 updated to resolve blackduck violation --> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 93 | <powermock.version>1.6.5</powermock.version> |
| 94 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 95 | <servlet.version>2.5</servlet.version> |
| 96 | <slf4j.version>1.7.21</slf4j.version> |
| 97 | <snakeyaml.version>1.17</snakeyaml.version> |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 98 | <spring.framework.version>4.3.4.RELEASE</spring.framework.version> <!-- orignal 4.0.7.RELEASE 4.1.3.RELEASE--> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 99 | <swagger.version>1.5.3</swagger.version> |
| 100 | <testng.version>6.9.10</testng.version> <!--new 6.9.13.6 still shows blackduck risk --> |
| 101 | <woodstox.version>4.4.1</woodstox.version> |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 102 | <ws.rs.version>2.0.1</ws.rs.version> <!-- New version 2.0.1 to fix blackduck violation Failing with comiplation issues--> |
| 103 | <zusammen.version>0.3.0</zusammen.version> |
| 104 | <zusammen-state-store.version>0.3.0</zusammen-state-store.version> |
talig | d2b0fde | 2018-03-14 10:48:16 +0200 | [diff] [blame] | 105 | <zusammen-collaboration-store.version>0.3.2</zusammen-collaboration-store.version> |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 106 | <zusammen-index-store.version>0.3.0</zusammen-index-store.version> |
vempo | ab2b6de | 2017-09-18 18:42:12 +0300 | [diff] [blame] | 107 | <pmd.version>5.8.1</pmd.version> |
| 108 | <build.tools.version>${project.version}</build.tools.version> |
talio | ce889ad | 2017-11-12 16:12:35 +0200 | [diff] [blame] | 109 | <togglz.version>2.4.1.Final</togglz.version> |
shrikantawachar | bfbe2c3 | 2018-03-15 20:01:34 +0530 | [diff] [blame] | 110 | <jacoco.skip>true</jacoco.skip> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 111 | </properties> |
vempo | 09d4f06 | 2017-08-29 18:15:04 +0300 | [diff] [blame] | 112 | |
noahs | 6f9929a | 2018-02-28 11:58:07 +0200 | [diff] [blame] | 113 | <dependencyManagement> |
| 114 | <dependencies> |
| 115 | <dependency> |
| 116 | <groupId>org.projectlombok</groupId> |
| 117 | <artifactId>lombok</artifactId> |
| 118 | <version>1.16.20</version> |
| 119 | <scope>provided</scope> |
| 120 | </dependency> |
| 121 | </dependencies> |
| 122 | </dependencyManagement> |
| 123 | |
vempo | 09d4f06 | 2017-08-29 18:15:04 +0300 | [diff] [blame] | 124 | <build> |
| 125 | <plugins> |
| 126 | <plugin> |
| 127 | <groupId>org.apache.maven.plugins</groupId> |
vempo | 09d4f06 | 2017-08-29 18:15:04 +0300 | [diff] [blame] | 128 | <artifactId>maven-pmd-plugin</artifactId> |
| 129 | <version>3.8</version> |
| 130 | <configuration> |
shrikantawachar | 9a69925 | 2018-04-06 11:07:00 +0530 | [diff] [blame] | 131 | <analysisCache>true</analysisCache> |
| 132 | <analysisCacheLocation>${project.build.directory}/pmd/pmd.cache</analysisCacheLocation> |
vempo | 09d4f06 | 2017-08-29 18:15:04 +0300 | [diff] [blame] | 133 | <aggregate>false</aggregate> |
vempo | b7e8bb7 | 2017-10-24 17:06:55 +0300 | [diff] [blame] | 134 | <includeTests>true</includeTests> |
vempo | 7ce8756 | 2018-02-12 17:04:44 +0200 | [diff] [blame] | 135 | <linkXRef>false</linkXRef> |
vempo | e0c1d8c | 2017-10-23 17:03:24 +0300 | [diff] [blame] | 136 | <printFailingErrors>true</printFailingErrors> |
vempo | 09d4f06 | 2017-08-29 18:15:04 +0300 | [diff] [blame] | 137 | <rulesets> |
| 138 | <ruleset>build-pmd-ruleset.xml</ruleset> |
| 139 | </rulesets> |
| 140 | </configuration> |
| 141 | <executions> |
| 142 | <execution> |
| 143 | <id>pmd-check</id> |
vempo | fcfaa3e | 2017-10-10 15:50:37 +0000 | [diff] [blame] | 144 | <phase>verify</phase> |
vempo | 09d4f06 | 2017-08-29 18:15:04 +0300 | [diff] [blame] | 145 | <goals> |
| 146 | <!-- violations fail build --> |
| 147 | <goal>check</goal> |
| 148 | </goals> |
| 149 | </execution> |
| 150 | </executions> |
| 151 | <dependencies> |
| 152 | <dependency> |
| 153 | <groupId>org.openecomp.sdc</groupId> |
| 154 | <artifactId>build-tools</artifactId> |
| 155 | <version>${build.tools.version}</version> |
| 156 | </dependency> |
vempo | ab2b6de | 2017-09-18 18:42:12 +0300 | [diff] [blame] | 157 | <dependency> |
| 158 | <groupId>net.sourceforge.pmd</groupId> |
| 159 | <artifactId>pmd-core</artifactId> |
| 160 | <version>${pmd.version}</version> |
| 161 | </dependency> |
| 162 | <dependency> |
| 163 | <groupId>net.sourceforge.pmd</groupId> |
| 164 | <artifactId>pmd-java</artifactId> |
| 165 | <version>${pmd.version}</version> |
| 166 | </dependency> |
vempo | 09d4f06 | 2017-08-29 18:15:04 +0300 | [diff] [blame] | 167 | </dependencies> |
| 168 | </plugin> |
shrikantawachar | 9a69925 | 2018-04-06 11:07:00 +0530 | [diff] [blame] | 169 | <plugin> |
| 170 | <groupId>org.apache.maven.plugins</groupId> |
| 171 | <artifactId>maven-clean-plugin</artifactId> |
| 172 | <version>2.5</version> |
| 173 | <configuration> |
| 174 | <excludeDefaultDirectories>true</excludeDefaultDirectories> |
| 175 | <filesets> |
| 176 | <fileset> |
| 177 | <directory>${project.build.directory}</directory> |
| 178 | <excludes> |
Gautam Shah | 09a41f5 | 2018-04-11 19:55:29 +0530 | [diff] [blame] | 179 | <exclude>test-classes/**/*.class</exclude> |
shrikantawachar | 9a69925 | 2018-04-06 11:07:00 +0530 | [diff] [blame] | 180 | <exclude>pmd/**</exclude> |
| 181 | <exclude>maven-status/**</exclude> |
| 182 | </excludes> |
| 183 | </fileset> |
| 184 | </filesets> |
| 185 | </configuration> |
| 186 | </plugin> |
| 187 | <plugin> |
| 188 | <groupId>org.apache.maven.plugins</groupId> |
| 189 | <artifactId>maven-surefire-plugin</artifactId> |
| 190 | <version>${mvn.surefire.version}</version> |
| 191 | <configuration> |
| 192 | <forkCount>0</forkCount> |
shrikantawachar | 0ebace5 | 2018-04-09 13:03:56 +0530 | [diff] [blame] | 193 | <printSummary>false</printSummary> |
shrikantawachar | 9a69925 | 2018-04-06 11:07:00 +0530 | [diff] [blame] | 194 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 195 | <additionalClasspathElements> |
Gautam Shah | 09a41f5 | 2018-04-11 19:55:29 +0530 | [diff] [blame] | 196 | <additionalClasspathElement>${project.basedir}/src/test/resources</additionalClasspathElement> |
shrikantawachar | 9a69925 | 2018-04-06 11:07:00 +0530 | [diff] [blame] | 197 | </additionalClasspathElements> |
| 198 | <systemPropertyVariables> |
| 199 | <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile> |
| 200 | <artifactgenerator.config>${project.basedir}/src/test/resources/config/Artifact-Generator.properties</artifactgenerator.config> |
| 201 | <config.location>${project.basedir}/configuration</config.location> |
| 202 | </systemPropertyVariables> |
Gautam Shah | 09a41f5 | 2018-04-11 19:55:29 +0530 | [diff] [blame] | 203 | <dependenciesToScan> |
| 204 | org.openecomp.sdc:build-helper |
| 205 | </dependenciesToScan> |
shrikantawachar | 9a69925 | 2018-04-06 11:07:00 +0530 | [diff] [blame] | 206 | </configuration> |
| 207 | </plugin> |
vempo | 09d4f06 | 2017-08-29 18:15:04 +0300 | [diff] [blame] | 208 | </plugins> |
shrikantawachar | 9a69925 | 2018-04-06 11:07:00 +0530 | [diff] [blame] | 209 | <testResources> |
| 210 | <testResource> |
| 211 | <directory>src/test/resources</directory> |
| 212 | <excludes> |
| 213 | <exclude>**/*</exclude> |
| 214 | </excludes> |
| 215 | </testResource> |
| 216 | </testResources> |
vempo | 09d4f06 | 2017-08-29 18:15:04 +0300 | [diff] [blame] | 217 | </build> |
| 218 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 219 | </project> |