blob: 492d0e0a28e4ed9ccd38202b17ee6f1a1ab88181 [file] [log] [blame]
Michael Landof5f13c42017-02-19 12:35:04 +02001<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4
AviZi280f8012017-06-09 02:39:56 +03005 <name>openecomp-sdc</name>
Michael Landof5f13c42017-02-19 12:35:04 +02006 <groupId>org.openecomp.sdc</groupId>
7 <artifactId>openecomp-sdc</artifactId>
Michael Landof5f13c42017-02-19 12:35:04 +02008 <packaging>pom</packaging>
AviZi280f8012017-06-09 02:39:56 +03009
Michael Landof5f13c42017-02-19 12:35:04 +020010 <url>http://maven.apache.org</url>
11
AviZi280f8012017-06-09 02:39:56 +030012 <parent>
13 <groupId>org.openecomp.sdc</groupId>
14 <artifactId>sdc-onboarding</artifactId>
Michael Landod8a0dea2018-06-02 19:23:27 +030015 <version>1.3.0-SNAPSHOT</version>
AviZi280f8012017-06-09 02:39:56 +030016 <relativePath>../onboarding</relativePath>
17 </parent>
Michael Landof5f13c42017-02-19 12:35:04 +020018
AviZi280f8012017-06-09 02:39:56 +030019 <dependencies>
20 <dependency>
21 <groupId>com.fasterxml.jackson.core</groupId>
22 <artifactId>jackson-annotations</artifactId>
23 <version>${jackson.version}</version>
24 </dependency>
talioce889ad2017-11-12 16:12:35 +020025
26 <!-- Feature Toggle support libraries-->
27 <dependency>
28 <groupId>org.togglz</groupId>
29 <artifactId>togglz-core</artifactId>
30 <version>${togglz.version}</version>
31 </dependency>
32
33 <dependency>
34 <groupId>org.togglz</groupId>
talioce889ad2017-11-12 16:12:35 +020035 <artifactId>togglz-testing</artifactId>
36 <version>${togglz.version}</version>
37 <scope>test</scope>
38 </dependency>
AviZi280f8012017-06-09 02:39:56 +030039 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +020040
41 <build>
42 <plugins>
43
44 <!-- ================================================== -->
45 <!-- Set the JDK compiler version. -->
46 <!-- ================================================== -->
47 <plugin>
48 <groupId>org.apache.maven.plugins</groupId>
49 <artifactId>maven-compiler-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030050 <version>${mvn.compiler.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020051 <inherited>true</inherited>
Gautam Shahb145c082018-05-27 13:32:07 +053052 <executions>
53 <execution>
54 <id>default-compile</id>
55 <configuration>
56 <skipMain>${skipMainSourceCompile}</skipMain>
57 </configuration>
58 </execution>
59 <execution>
60 <id>default-testCompile</id>
61 <configuration>
62 <skip>${skipTestSourceCompile}</skip>
63 </configuration>
64 </execution>
65 </executions>
Michael Landof5f13c42017-02-19 12:35:04 +020066 <configuration>
67 <source>${java.source}</source>
68 <target>${java.target}</target>
Gautam Shahb145c082018-05-27 13:32:07 +053069 </configuration>
70 </plugin>
71 <plugin>
72 <groupId>org.openecomp.sdc.onboarding</groupId>
73 <artifactId>artifact-copy-plugin</artifactId>
74 <version>${project.version}</version>
75 <executions>
76 <execution>
77 <goals>
78 <goal>init-artifact-helper</goal>
Gautam Shah03205da2018-06-01 08:38:32 +053079 <!--<goal>copy-helper</goal>-->
Gautam Shahb145c082018-05-27 13:32:07 +053080 <goal>calibrate-artifact-helper</goal>
81 </goals>
82 </execution>
83 </executions>
84 <configuration>
85 <groupId>org.openecomp.sdc</groupId>
86 <artifactId>build-data-installer</artifactId>
87 <version>${project.version}</version>
Gautam Shahb145c082018-05-27 13:32:07 +053088 <artifactHelper>
89 <project>${project}</project>
Gautam Shah03205da2018-06-01 08:38:32 +053090 <session>${session}</session>
91 <unicornRoot>org.openecomp.sdc:sdc-onboarding/target/build-data</unicornRoot>
Gautam Shahb145c082018-05-27 13:32:07 +053092 </artifactHelper>
93 </configuration>
94 </plugin>
95 <plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +053096 <groupId>org.openecomp.sdc.onboarding</groupId>
97 <artifactId>compile-helper-plugin</artifactId>
98 <version>${project.version}</version>
Gautam Shahb145c082018-05-27 13:32:07 +053099 <dependencies>
100 <dependency>
Gautam Shahb145c082018-05-27 13:32:07 +0530101 <groupId>org.openecomp.sdc.onboarding</groupId>
102 <artifactId>pmd-helper-plugin</artifactId>
103 <version>${project.version}</version>
104 </dependency>
105 </dependencies>
Gautam Shah3de22e12018-04-21 16:18:37 +0530106 <executions>
107 <execution>
108 <goals>
Gautam Shah3de22e12018-04-21 16:18:37 +0530109 <goal>init-helper</goal>
Gautam Shahb145c082018-05-27 13:32:07 +0530110 <goal>pre-compile-helper</goal>
111 <goal>post-compile-helper</goal>
112 <goal>pre-test-compile-helper</goal>
113 <goal>post-test-run-helper</goal>
Gautam Shah3de22e12018-04-21 16:18:37 +0530114 </goals>
115 </execution>
116 </executions>
117 <configuration>
118 <excludePackaging>pom</excludePackaging>
119 <excludeDependencies>test,runtime</excludeDependencies>
Gautam Shahb145c082018-05-27 13:32:07 +0530120 <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation>
Gautam Shah3de22e12018-04-21 16:18:37 +0530121 <buildState>
Gautam Shah3de22e12018-04-21 16:18:37 +0530122 <project>${project}</project>
Gautam Shahb145c082018-05-27 13:32:07 +0530123 <compileStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat</compileStateFilePath>
Gautam Shah3de22e12018-04-21 16:18:37 +0530124 </buildState>
125 </configuration>
126 </plugin>
127 <plugin>
Gautam Shahb145c082018-05-27 13:32:07 +0530128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-pmd-plugin</artifactId>
130 <version>${maven.pmd.plugin.version}</version>
131 <dependencies>
132 <dependency>
133 <groupId>org.openecomp.sdc</groupId>
134 <artifactId>build-tools</artifactId>
135 <version>${build.tools.version}</version>
136 </dependency>
137 <dependency>
138 <groupId>net.sourceforge.pmd</groupId>
139 <artifactId>pmd-core</artifactId>
140 <version>${pmd.core.version}</version>
141 </dependency>
142 <dependency>
143 <groupId>net.sourceforge.pmd</groupId>
144 <artifactId>pmd-java</artifactId>
145 <version>${pmd.java.version}</version>
146 </dependency>
147 </dependencies>
148 <configuration>
149 <skip>${skipPMD}</skip>
150 <showPmdLog>false</showPmdLog>
151 <analysisCache>false</analysisCache>
152 <analysisCacheLocation>${project.build.directory}/pmd/pmd.cache</analysisCacheLocation>
153 <failOnViolation>false</failOnViolation>
154 <printFailingErrors>false</printFailingErrors>
155 <format>csv</format>
156 <targetDirectory>${project.build.directory}/pmd</targetDirectory>
157 <includeTests>true</includeTests>
158 <linkXRef>false</linkXRef>
159 <aggregate>false</aggregate>
160 <rulesets>
161 <ruleset>/category/java/bestpractices.xml</ruleset>
162 <ruleset>/category/java/codestyle.xml</ruleset>
163 <ruleset>/category/java/design.xml</ruleset>
164 <ruleset>/category/java/errorprone.xml</ruleset>
165 <ruleset>/category/java/multithreading.xml</ruleset>
166 <ruleset>/category/java/performance.xml</ruleset>
167 <ruleset>/category/java/security.xml</ruleset>
168 </rulesets>
169 </configuration>
170 <executions>
171 <execution>
172 <goals>
173 <goal>check</goal>
174 </goals>
175 <phase>integration-test</phase>
176 </execution>
177 </executions>
178 </plugin>
179 <plugin>
180 <groupId>org.openecomp.sdc.onboarding</groupId>
181 <artifactId>pmd-helper-plugin</artifactId>
182 <version>${project.version}</version>
Gautam Shahb145c082018-05-27 13:32:07 +0530183 <executions>
184 <execution>
185 <goals>
186 <goal>init-pmd-helper</goal>
187 <goal>post-verify-helper</goal>
188 </goals>
189 </execution>
190 </executions>
191 <configuration>
192 <excludePackaging>pom</excludePackaging>
193 <pmdTargetLocation>${project.build.directory}/pmd/pmd.xml</pmdTargetLocation>
194 <pmdFailureReportLocation>${project.build.directory}/pmd.txt</pmdFailureReportLocation>
195 <pmdReportFile>${project.build.directory}/pmd/pmd.csv</pmdReportFile>
196 <persistingModuleCoordinates>org.openecomp.sdc:build-data-installer</persistingModuleCoordinates>
197 <pmdCurrentStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/pmdState.dat</pmdCurrentStateFilePath>
198 <pmdStateFile>${project.build.outputDirectory}/pmd.dat</pmdStateFile>
199 <compiledFilesList>${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst</compiledFilesList>
200 <compiledTestFilesList>${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst</compiledTestFilesList>
201 </configuration>
202 </plugin>
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-jar-plugin</artifactId>
206 <version>${mvn.jar.version}</version>
207 <configuration>
208 <archive>
209 <addMavenDescriptor>${mvnDsc}</addMavenDescriptor>
210 </archive>
211 <excludes>
212 <exclude>${emptyJAR}</exclude>
213 </excludes>
214 </configuration>
215 </plugin>
216 <plugin>
AviZi280f8012017-06-09 02:39:56 +0300217 <groupId>org.codehaus.mojo</groupId>
218 <artifactId>license-maven-plugin</artifactId>
219 <version>${mvn.license.version}</version>
220 <configuration>
221 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
222 <processStartTag>============LICENSE_START=======================================================</processStartTag>
223 <processEndTag>============LICENSE_END=========================================================</processEndTag>
224 <sectionDelimiter>================================================================================</sectionDelimiter>
225 <licenseName>apache_v2</licenseName>
226 <inceptionYear>2017</inceptionYear>
227 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
228 <projectName>SDC</projectName>
229 <canUpdateCopyright>true</canUpdateCopyright>
230 <canUpdateDescription>true</canUpdateDescription>
231 <canUpdateLicense>true</canUpdateLicense>
232 <emptyLineAfterHeader>true</emptyLineAfterHeader>
233 <verbose>false</verbose>
234 <includes>
235 <include>**/*.java</include>
236 <include>**/*.js</include>
237 <include>**/*.ts</include>
238 </includes>
239 <roots>
240 <root>src</root>
241 <root>app</root>
242 <root>server-mock</root>
243 <root>typings</root>
244 </roots>
245 </configuration>
246 <executions>
247 <execution>
248 <id>first</id>
249 <goals>
250 <goal>update-file-header</goal>
251 </goals>
AviZi280f8012017-06-09 02:39:56 +0300252 </execution>
253 </executions>
254 </plugin>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300255 <plugin>
256 <groupId>org.jacoco</groupId>
257 <artifactId>jacoco-maven-plugin</artifactId>
258 <version>${jacoco.version}</version>
259 <executions>
260 <execution>
261 <goals>
262 <goal>prepare-agent</goal>
263 </goals>
264 </execution>
265 <execution>
266 <id>report</id>
267 <phase>prepare-package</phase>
268 <goals>
269 <goal>report</goal>
270 </goals>
271 </execution>
shrikantawachared640f62017-10-05 19:18:38 +0530272 <execution>
273 <id>post-unit-test</id>
274 <phase>test</phase>
275 <goals>
276 <goal>report</goal>
277 </goals>
278 <configuration>
279 <!-- Sets the path to the file which contains the execution data. -->
shrikantawachared640f62017-10-05 19:18:38 +0530280 <dataFile>target/jacoco.exec</dataFile>
281 <!-- Sets the output directory for the code coverage report. -->
282 <outputDirectory>target/jacoco-ut</outputDirectory>
283 </configuration>
284 </execution>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300285 </executions>
286 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300287
Michael Landof5f13c42017-02-19 12:35:04 +0200288 </plugins>
289 </build>
290
291 <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
292 <dependencyManagement>
293 <dependencies>
294 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
295 <dependency>
296 <groupId>commons-beanutils</groupId>
297 <artifactId>commons-beanutils</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300298 <version>${commons.beanutils.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200299 </dependency>
300 <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
301 <dependency>
302 <groupId>com.beust</groupId>
303 <artifactId>jcommander</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300304 <version>${jcommander.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200305 </dependency>
306 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
307 <dependency>
308 <groupId>org.apache.httpcomponents</groupId>
309 <artifactId>httpasyncclient</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300310 <version>${httpasyncclient.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200311 </dependency>
312 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
313 <dependency>
314 <groupId>com.sun.xml.bind</groupId>
315 <artifactId>jaxb-impl</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300316 <version>${jaxb.impl.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200317 </dependency>
318 <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
319 <dependency>
320 <groupId>org.beanshell</groupId>
321 <artifactId>bsh</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300322 <version>${bsh.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200323 </dependency>
324 <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
325 <dependency>
326 <groupId>commons-digester</groupId>
327 <artifactId>commons-digester</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300328 <version>${commons.digester.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200329 </dependency>
330 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
331 <dependency>
332 <groupId>com.fasterxml</groupId>
333 <artifactId>classmate</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300334 <version>${classmate.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200335 </dependency>
talig8e9c0652017-12-20 14:30:43 +0200336 <!--1702 -->
AviZi280f8012017-06-09 02:39:56 +0300337 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
338 <dependency>
339 <groupId>org.slf4j</groupId>
340 <artifactId>slf4j-api</artifactId>
341 <version>${slf4j.version}</version>
342 </dependency>
343 <dependency>
344 <groupId>org.codehaus.groovy</groupId>
345 <artifactId>groovy-all</artifactId>
346 <version>${groovy.version}</version>
347 </dependency>
talig8e9c0652017-12-20 14:30:43 +0200348 <dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200349 <groupId>org.codehaus.janino</groupId>
350 <artifactId>janino</artifactId>
351 <version>${janino.version}</version>
352 <scope>provided</scope>
353 </dependency>
354 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +0200355 </dependencyManagement>
356
Gautam Shah3de22e12018-04-21 16:18:37 +0530357 <modules>
358 <module>/api</module>
359 <module>/lib</module>
360 <module>/tools/swagger-ui</module>
361 <module>/tools/zusammen-tools</module>
362 <module>/backend</module>
363 </modules>
Avi Zivc175a0d2018-03-15 13:21:44 +0200364 <profiles>
365 <!--<profile>-->
Gautam Shah3de22e12018-04-21 16:18:37 +0530366 <!--<id>docker-staging</id>-->
367 <!--<properties>-->
368 <!--<docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>-->
369 <!--<docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>-->
370 <!--</properties>-->
Avi Zivc175a0d2018-03-15 13:21:44 +0200371 <!--</profile>-->
372
373 <profile>
374 <id>docker</id>
375 <activation>
376 <activeByDefault>false</activeByDefault>
377 </activation>
378
379 <modules>
380 <module>/dist</module>
381 </modules>
382 </profile>
383 </profiles>
Michael Landof5f13c42017-02-19 12:35:04 +0200384</project>
385