blob: 1987f19be36507c4f80220558d6a9998af138a70 [file] [log] [blame]
shalomb6319dfe2017-11-14 17:17:51 +02001<project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
AviZi280f8012017-06-09 02:39:56 +03003 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
AviZi280f8012017-06-09 02:39:56 +03006 <artifactId>sdc-onboarding</artifactId>
7 <packaging>pom</packaging>
8
9 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
Michael Lando0ad3c802017-09-19 16:32:59 +030012 <version>1.2.0-SNAPSHOT</version>
AviZi280f8012017-06-09 02:39:56 +030013 </parent>
14
15 <modules>
Gautam Shah3de22e12018-04-21 16:18:37 +053016 <module>../openecomp-be/tools/compile-helper-plugin</module>
AviZi280f8012017-06-09 02:39:56 +030017 <module>../common</module>
18 <module>../openecomp-be</module>
19 <module>../openecomp-ui</module>
20 </modules>
21
22 <properties>
23 <!-- Maven plugin versions -->
Avi Gaffa7d6d63c2017-09-10 15:22:07 +030024 <jacoco.version>0.7.9</jacoco.version>
AviZi280f8012017-06-09 02:39:56 +030025 <mvn.assembly.version>2.1</mvn.assembly.version>
shrikantawachar9a699252018-04-06 11:07:00 +053026 <mvn.compiler.version>3.7.0</mvn.compiler.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053027 <mvn.clean.version>2.5</mvn.clean.version>
AviZi280f8012017-06-09 02:39:56 +030028 <mvn.deploy.version>2.4</mvn.deploy.version>
29 <mvn.hub.version>1.4.0</mvn.hub.version>
30 <mvn.install.version>2.3.1</mvn.install.version>
31 <mvn.jar.version>2.4</mvn.jar.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053032 <mvn.jaxb2.version>0.13.3</mvn.jaxb2.version>
AviZi280f8012017-06-09 02:39:56 +030033 <mvn.license.version>1.10</mvn.license.version>
34 <mvn.shade.version>2.3</mvn.shade.version>
35 <mvn.surefire.version>2.19.1</mvn.surefire.version>
talig47cd3b42018-05-01 11:03:31 +030036 <mvn.swagger.version>3.1.0</mvn.swagger.version>
AviZi280f8012017-06-09 02:39:56 +030037 <mvn.war.version>2.1.1</mvn.war.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053038 <maven-core.version>3.5.3</maven-core.version>
39 <maven-plugin-plugin.version>3.5.1</maven-plugin-plugin.version>
40 <maven-plugin-annotations.version>3.5.1</maven-plugin-annotations.version>
vempo31a7a922017-10-22 14:10:41 +030041 <mvn.antrun.version>1.8</mvn.antrun.version>
AviZi280f8012017-06-09 02:39:56 +030042
talioa5eda622017-09-18 10:58:27 +030043 <!-- Onboarding artifacts version -->
Yuli Shlosberg9dde9262017-09-12 14:11:48 +030044 <openecomp.sdc.common.version>${project.version}</openecomp.sdc.common.version>
AviZi280f8012017-06-09 02:39:56 +030045
46 <!-- Onboarding 3rd party versions -->
47 <aspectj.version>1.8.9</aspectj.version>
48 <bsh.version>2.0b5</bsh.version>
49 <cassandra.version>2.1.9</cassandra.version>
50 <cglib.nodep.version>3.2.4</cglib.nodep.version> <!--old : 2.1_3. new 3.2.4 -->
51 <classmate.version>1.3.3</classmate.version>
52 <commons.beanutils.version>1.9.3</commons.beanutils.version>
shalomb6319dfe2017-11-14 17:17:51 +020053 <commons.codec.version>1.10
54 </commons.codec.version> <!-- orignal 1.6 updated to resolve blackduck violation -->
AviZi280f8012017-06-09 02:39:56 +030055 <commons.collections.version>4.1</commons.collections.version>
56 <commons.digester.version>2.1</commons.digester.version>
57 <commons.io.version>2.5</commons.io.version>
shalomb6319dfe2017-11-14 17:17:51 +020058 <commons.lang.version>2.6
59 </commons.lang.version> <!-- orignal 2.5. updated to resolve blackduck violation -->
AviZi280f8012017-06-09 02:39:56 +030060 <commons.lang3.version>3.4</commons.lang3.version>
61 <cxf.version>3.1.8</cxf.version>
62 <datasatx.version>2.1.9</datasatx.version>
63 <easymock.version>3.4</easymock.version>
64 <groovy.version>2.4.7</groovy.version>
65 <gson.version>2.3.1</gson.version>
66 <fop.version>2.2</fop.version>
67 <freemarker.version>2.3.26-incubating</freemarker.version>
shalomb6319dfe2017-11-14 17:17:51 +020068 <hibernate.validator.version>5.3.3.Final
69 </hibernate.validator.version> <!--5.3.1.Final changed to 5.3.3.Final to include jboss-logging 3.3.0.Final for 1702 -->
Michael Landoa1e17762018-05-21 16:57:56 +030070 <http.client.version>4.5.3</http.client.version>
71 <http.core.version>4.4.1</http.core.version>
AviZi280f8012017-06-09 02:39:56 +030072 <httpasyncclient.version>4.1.2</httpasyncclient.version>
73 <janino.version>2.7.7</janino.version>
74 <jaxb.impl.version>2.2.11</jaxb.impl.version>
75 <java.source>1.8</java.source>
76 <java.target>1.8</java.target>
77 <javax.el.version>2.2.4</javax.el.version>
shalomb6319dfe2017-11-14 17:17:51 +020078 <javax.el-api.version>3.0.1-b04
79 </javax.el-api.version> <!-- orignal 2.2.4 updated to resolve blackduck violation -->
AviZi280f8012017-06-09 02:39:56 +030080 <javax.inject.version>1</javax.inject.version>
81 <javax.servlet.version>2.5</javax.servlet.version>
82 <jackson.version>2.8.1</jackson.version>
83 <jackson.annotations.version>2.7.4</jackson.annotations.version>
84 <jackson.dataformat.version>2.7.4</jackson.dataformat.version>
85 <jackson.mapper.version>1.9.13</jackson.mapper.version>
86 <jcommander.version>1.58</jcommander.version>
87 <jetty.servlets.version>9.0.6.v20130930</jetty.servlets.version>
88 <jersey.core.version>1.19.1</jersey.core.version>
89 <jersey.multipart.version>1.18.1</jersey.multipart.version>
Avi Ziv61070c92017-07-26 17:37:57 +030090 <junit.version>RELEASE</junit.version>
AviZi280f8012017-06-09 02:39:56 +030091 <logback.version>1.1.2</logback.version>
92 <mockito.all.version>1.10.19</mockito.all.version>
93 <org.codehaus.jackson.version>1.9.13</org.codehaus.jackson.version> <!-- orignal 1.9.2 -->
shalomb6319dfe2017-11-14 17:17:51 +020094 <org.everit.json.schema.version>1.3.0
95 </org.everit.json.schema.version> <!--new 1.4.1 orignal 1.3.0 updated to resolve blackduck violation -->
96 <org.reflections.version>0.9.10
97 </org.reflections.version> <!-- orignal 0.9.9 updated to resolve blackduck violation -->
AviZi280f8012017-06-09 02:39:56 +030098 <powermock.version>1.6.5</powermock.version>
99 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
100 <servlet.version>2.5</servlet.version>
101 <slf4j.version>1.7.21</slf4j.version>
102 <snakeyaml.version>1.17</snakeyaml.version>
Michael Lando636c9932018-05-22 18:26:11 +0300103 <spring.framework.version>4.3.15.RELEASE</spring.framework.version> <!-- orignal 4.0.7.RELEASE 4.1.3.RELEASE-->
AviZi280f8012017-06-09 02:39:56 +0300104 <swagger.version>1.5.3</swagger.version>
105 <testng.version>6.9.10</testng.version> <!--new 6.9.13.6 still shows blackduck risk -->
106 <woodstox.version>4.4.1</woodstox.version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530107 <ws.rs.version>2.0.1
108 </ws.rs.version> <!-- New version 2.0.1 to fix blackduck violation Failing with comiplation issues-->
talig8e9c0652017-12-20 14:30:43 +0200109 <zusammen.version>0.3.0</zusammen.version>
110 <zusammen-state-store.version>0.3.0</zusammen-state-store.version>
taligd2b0fde2018-03-14 10:48:16 +0200111 <zusammen-collaboration-store.version>0.3.2</zusammen-collaboration-store.version>
talig8e9c0652017-12-20 14:30:43 +0200112 <zusammen-index-store.version>0.3.0</zusammen-index-store.version>
vempoab2b6de2017-09-18 18:42:12 +0300113 <pmd.version>5.8.1</pmd.version>
114 <build.tools.version>${project.version}</build.tools.version>
talioce889ad2017-11-12 16:12:35 +0200115 <togglz.version>2.4.1.Final</togglz.version>
shrikantawacharbfbe2c32018-03-15 20:01:34 +0530116 <jacoco.skip>true</jacoco.skip>
AviZi280f8012017-06-09 02:39:56 +0300117 </properties>
vempo09d4f062017-08-29 18:15:04 +0300118
noahs6f9929a2018-02-28 11:58:07 +0200119 <dependencyManagement>
120 <dependencies>
121 <dependency>
122 <groupId>org.projectlombok</groupId>
123 <artifactId>lombok</artifactId>
124 <version>1.16.20</version>
125 <scope>provided</scope>
126 </dependency>
127 </dependencies>
128 </dependencyManagement>
129
vempo09d4f062017-08-29 18:15:04 +0300130 <build>
131 <plugins>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
vempo09d4f062017-08-29 18:15:04 +0300134 <artifactId>maven-pmd-plugin</artifactId>
135 <version>3.8</version>
136 <configuration>
shrikantawachar9a699252018-04-06 11:07:00 +0530137 <analysisCache>true</analysisCache>
138 <analysisCacheLocation>${project.build.directory}/pmd/pmd.cache</analysisCacheLocation>
vempo09d4f062017-08-29 18:15:04 +0300139 <aggregate>false</aggregate>
vempob7e8bb72017-10-24 17:06:55 +0300140 <includeTests>true</includeTests>
vempo7ce87562018-02-12 17:04:44 +0200141 <linkXRef>false</linkXRef>
vempoe0c1d8c2017-10-23 17:03:24 +0300142 <printFailingErrors>true</printFailingErrors>
vempo09d4f062017-08-29 18:15:04 +0300143 <rulesets>
144 <ruleset>build-pmd-ruleset.xml</ruleset>
145 </rulesets>
146 </configuration>
147 <executions>
148 <execution>
149 <id>pmd-check</id>
vempofcfaa3e2017-10-10 15:50:37 +0000150 <phase>verify</phase>
vempo09d4f062017-08-29 18:15:04 +0300151 <goals>
152 <!-- violations fail build -->
153 <goal>check</goal>
154 </goals>
155 </execution>
156 </executions>
157 <dependencies>
158 <dependency>
159 <groupId>org.openecomp.sdc</groupId>
160 <artifactId>build-tools</artifactId>
161 <version>${build.tools.version}</version>
162 </dependency>
vempoab2b6de2017-09-18 18:42:12 +0300163 <dependency>
164 <groupId>net.sourceforge.pmd</groupId>
165 <artifactId>pmd-core</artifactId>
166 <version>${pmd.version}</version>
167 </dependency>
168 <dependency>
169 <groupId>net.sourceforge.pmd</groupId>
170 <artifactId>pmd-java</artifactId>
171 <version>${pmd.version}</version>
172 </dependency>
vempo09d4f062017-08-29 18:15:04 +0300173 </dependencies>
174 </plugin>
shrikantawachar9a699252018-04-06 11:07:00 +0530175 <plugin>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-clean-plugin</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530178 <version>${mvn.clean.version}</version>
shrikantawachar9a699252018-04-06 11:07:00 +0530179 <configuration>
180 <excludeDefaultDirectories>true</excludeDefaultDirectories>
181 <filesets>
182 <fileset>
183 <directory>${project.build.directory}</directory>
184 <excludes>
Gautam Shah3de22e12018-04-21 16:18:37 +0530185 <exclude>${classes}</exclude>
186 <exclude>${testClasses}</exclude>
187 <exclude>${pmd}</exclude>
188 <exclude>${mavenStatus}</exclude>
189 <exclude>${customGeneratedSources}</exclude>
190 <exclude>build-data/**</exclude>
shrikantawachar9a699252018-04-06 11:07:00 +0530191 </excludes>
192 </fileset>
193 </filesets>
194 </configuration>
195 </plugin>
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-surefire-plugin</artifactId>
199 <version>${mvn.surefire.version}</version>
200 <configuration>
Gautam Shah3de22e12018-04-21 16:18:37 +0530201 <forkCount>${fork.count}</forkCount>
shrikantawachar0ebace52018-04-09 13:03:56 +0530202 <printSummary>false</printSummary>
shrikantawachar9a699252018-04-06 11:07:00 +0530203 <redirectTestOutputToFile>true</redirectTestOutputToFile>
204 <additionalClasspathElements>
Gautam Shah09a41f52018-04-11 19:55:29 +0530205 <additionalClasspathElement>${project.basedir}/src/test/resources</additionalClasspathElement>
shrikantawachar9a699252018-04-06 11:07:00 +0530206 </additionalClasspathElements>
207 <systemPropertyVariables>
208 <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
Gautam Shah3de22e12018-04-21 16:18:37 +0530209 <artifactgenerator.config>
210 ${project.basedir}/src/test/resources/config/Artifact-Generator.properties
211 </artifactgenerator.config>
shrikantawachar9a699252018-04-06 11:07:00 +0530212 <config.location>${project.basedir}/configuration</config.location>
213 </systemPropertyVariables>
Gautam Shah3de22e12018-04-21 16:18:37 +0530214 <useSystemClassLoader>${useSystemClassLoader}</useSystemClassLoader>
215 <skip>${skipTestRun}</skip>
shrikantawachar9a699252018-04-06 11:07:00 +0530216 </configuration>
217 </plugin>
vempo09d4f062017-08-29 18:15:04 +0300218 </plugins>
shrikantawachar9a699252018-04-06 11:07:00 +0530219 <testResources>
220 <testResource>
221 <directory>src/test/resources</directory>
222 <excludes>
223 <exclude>**/*</exclude>
224 </excludes>
225 </testResource>
226 </testResources>
vempo09d4f062017-08-29 18:15:04 +0300227 </build>
228
AviZi280f8012017-06-09 02:39:56 +0300229</project>