blob: 1c0dbfede38cc8dc71b66fc591079af759ab440e [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 Shah09a41f52018-04-11 19:55:29 +053016 <module>../openecomp-be/tools/build-helper</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>
AviZi280f8012017-06-09 02:39:56 +030027 <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 Shah09a41f52018-04-11 19:55:29 +053035 <mvn.swagger.version>3.1.5</mvn.swagger.version>
AviZi280f8012017-06-09 02:39:56 +030036 <mvn.war.version>2.1.1</mvn.war.version>
vempo31a7a922017-10-22 14:10:41 +030037 <mvn.antrun.version>1.8</mvn.antrun.version>
AviZi280f8012017-06-09 02:39:56 +030038
talioa5eda622017-09-18 10:58:27 +030039 <!-- Onboarding artifacts version -->
Yuli Shlosberg9dde9262017-09-12 14:11:48 +030040 <openecomp.sdc.common.version>${project.version}</openecomp.sdc.common.version>
AviZi280f8012017-06-09 02:39:56 +030041
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>
shalomb6319dfe2017-11-14 17:17:51 +020049 <commons.codec.version>1.10
50 </commons.codec.version> <!-- orignal 1.6 updated to resolve blackduck violation -->
AviZi280f8012017-06-09 02:39:56 +030051 <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>
shalomb6319dfe2017-11-14 17:17:51 +020054 <commons.lang.version>2.6
55 </commons.lang.version> <!-- orignal 2.5. updated to resolve blackduck violation -->
AviZi280f8012017-06-09 02:39:56 +030056 <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>
shalomb6319dfe2017-11-14 17:17:51 +020064 <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 -->
AviZi280f8012017-06-09 02:39:56 +030066 <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>
shalomb6319dfe2017-11-14 17:17:51 +020073 <javax.el-api.version>3.0.1-b04
74 </javax.el-api.version> <!-- orignal 2.2.4 updated to resolve blackduck violation -->
AviZi280f8012017-06-09 02:39:56 +030075 <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 Ziv61070c92017-07-26 17:37:57 +030085 <junit.version>RELEASE</junit.version>
AviZi280f8012017-06-09 02:39:56 +030086 <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 -->
shalomb6319dfe2017-11-14 17:17:51 +020089 <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 -->
AviZi280f8012017-06-09 02:39:56 +030093 <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>
talig8e9c0652017-12-20 14:30:43 +020098 <spring.framework.version>4.3.4.RELEASE</spring.framework.version> <!-- orignal 4.0.7.RELEASE 4.1.3.RELEASE-->
AviZi280f8012017-06-09 02:39:56 +030099 <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>
talig8e9c0652017-12-20 14:30:43 +0200102 <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>
taligd2b0fde2018-03-14 10:48:16 +0200105 <zusammen-collaboration-store.version>0.3.2</zusammen-collaboration-store.version>
talig8e9c0652017-12-20 14:30:43 +0200106 <zusammen-index-store.version>0.3.0</zusammen-index-store.version>
vempoab2b6de2017-09-18 18:42:12 +0300107 <pmd.version>5.8.1</pmd.version>
108 <build.tools.version>${project.version}</build.tools.version>
talioce889ad2017-11-12 16:12:35 +0200109 <togglz.version>2.4.1.Final</togglz.version>
noahs6f9929a2018-02-28 11:58:07 +0200110
AviZi280f8012017-06-09 02:39:56 +0300111 </properties>
vempo09d4f062017-08-29 18:15:04 +0300112
noahs6f9929a2018-02-28 11:58:07 +0200113 <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
vempo09d4f062017-08-29 18:15:04 +0300124 <build>
125 <plugins>
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
vempo09d4f062017-08-29 18:15:04 +0300128 <artifactId>maven-pmd-plugin</artifactId>
129 <version>3.8</version>
130 <configuration>
shrikantawachar9a699252018-04-06 11:07:00 +0530131 <analysisCache>true</analysisCache>
132 <analysisCacheLocation>${project.build.directory}/pmd/pmd.cache</analysisCacheLocation>
vempo09d4f062017-08-29 18:15:04 +0300133 <aggregate>false</aggregate>
vempob7e8bb72017-10-24 17:06:55 +0300134 <includeTests>true</includeTests>
vempo7ce87562018-02-12 17:04:44 +0200135 <linkXRef>false</linkXRef>
vempoe0c1d8c2017-10-23 17:03:24 +0300136 <printFailingErrors>true</printFailingErrors>
vempo09d4f062017-08-29 18:15:04 +0300137 <rulesets>
138 <ruleset>build-pmd-ruleset.xml</ruleset>
139 </rulesets>
140 </configuration>
141 <executions>
142 <execution>
143 <id>pmd-check</id>
vempofcfaa3e2017-10-10 15:50:37 +0000144 <phase>verify</phase>
vempo09d4f062017-08-29 18:15:04 +0300145 <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>
vempoab2b6de2017-09-18 18:42:12 +0300157 <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>
vempo09d4f062017-08-29 18:15:04 +0300167 </dependencies>
168 </plugin>
shrikantawachar9a699252018-04-06 11:07:00 +0530169 <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 Shah09a41f52018-04-11 19:55:29 +0530179 <exclude>test-classes/**/*.class</exclude>
shrikantawachar9a699252018-04-06 11:07:00 +0530180 <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>
shrikantawachar0ebace52018-04-09 13:03:56 +0530193 <printSummary>false</printSummary>
shrikantawachar9a699252018-04-06 11:07:00 +0530194 <redirectTestOutputToFile>true</redirectTestOutputToFile>
195 <additionalClasspathElements>
Gautam Shah09a41f52018-04-11 19:55:29 +0530196 <additionalClasspathElement>${project.basedir}/src/test/resources</additionalClasspathElement>
shrikantawachar9a699252018-04-06 11:07:00 +0530197 </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 Shah09a41f52018-04-11 19:55:29 +0530203 <dependenciesToScan>
204 org.openecomp.sdc:build-helper
205 </dependenciesToScan>
shrikantawachar9a699252018-04-06 11:07:00 +0530206 </configuration>
207 </plugin>
vempo09d4f062017-08-29 18:15:04 +0300208 </plugins>
shrikantawachar9a699252018-04-06 11:07:00 +0530209 <testResources>
210 <testResource>
211 <directory>src/test/resources</directory>
212 <excludes>
213 <exclude>**/*</exclude>
214 </excludes>
215 </testResource>
216 </testResources>
vempo09d4f062017-08-29 18:15:04 +0300217 </build>
218
AviZi280f8012017-06-09 02:39:56 +0300219</project>