1 <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>
5 <name>openecomp-sdc</name>
6 <groupId>org.openecomp.sdc</groupId>
7 <artifactId>openecomp-sdc</artifactId>
8 <packaging>pom</packaging>
10 <url>http://maven.apache.org</url>
13 <groupId>org.openecomp.sdc</groupId>
14 <artifactId>sdc-onboarding</artifactId>
15 <version>1.2.0-SNAPSHOT</version>
16 <relativePath>../onboarding</relativePath>
21 <groupId>com.fasterxml.jackson.core</groupId>
22 <artifactId>jackson-annotations</artifactId>
23 <version>${jackson.version}</version>
26 <!-- Feature Toggle support libraries-->
28 <groupId>org.togglz</groupId>
29 <artifactId>togglz-core</artifactId>
30 <version>${togglz.version}</version>
34 <groupId>org.togglz</groupId>
35 <artifactId>togglz-testing</artifactId>
36 <version>${togglz.version}</version>
44 <!-- ================================================== -->
45 <!-- Set the JDK compiler version. -->
46 <!-- ================================================== -->
48 <groupId>org.apache.maven.plugins</groupId>
49 <artifactId>maven-compiler-plugin</artifactId>
50 <version>${mvn.compiler.version}</version>
51 <inherited>true</inherited>
54 <id>default-compile</id>
56 <skipMain>${skipMainSourceCompile}</skipMain>
60 <id>default-testCompile</id>
62 <skip>${skipTestSourceCompile}</skip>
67 <source>${java.source}</source>
68 <target>${java.target}</target>
72 <groupId>org.openecomp.sdc.onboarding</groupId>
73 <artifactId>artifact-copy-plugin</artifactId>
74 <version>${project.version}</version>
78 <goal>init-artifact-helper</goal>
79 <goal>copy-helper</goal>
80 <goal>calibrate-artifact-helper</goal>
85 <groupId>org.openecomp.sdc</groupId>
86 <artifactId>build-data-installer</artifactId>
87 <version>${project.version}</version>
88 <targetLocation>build-data-helper</targetLocation>
89 <name>build-data-helper-${project.version}.jar</name>
91 <project>${project}</project>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-dependency-plugin</artifactId>
98 <version>${maven.dependency.version}</version>
105 <phase>pre-clean</phase>
107 <artifactId>build-data-helper</artifactId>
115 <phase>pre-clean</phase>
117 <artifactId>build-data-installer</artifactId>
122 <groupId>org.openecomp.sdc</groupId>
123 <version>${project.version}</version>
124 <skip>${skipGet}</skip>
128 <groupId>org.openecomp.sdc.onboarding</groupId>
129 <artifactId>compile-helper-plugin</artifactId>
130 <version>${project.version}</version>
133 <groupId>org.openecomp.sdc</groupId>
134 <artifactId>build-data-helper</artifactId>
135 <version>${project.version}</version>
138 <groupId>org.openecomp.sdc.onboarding</groupId>
139 <artifactId>pmd-helper-plugin</artifactId>
140 <version>${project.version}</version>
146 <goal>init-helper</goal>
147 <goal>pre-compile-helper</goal>
148 <goal>post-compile-helper</goal>
149 <goal>pre-test-compile-helper</goal>
150 <goal>post-test-run-helper</goal>
155 <excludePackaging>pom</excludePackaging>
156 <excludeDependencies>test,runtime</excludeDependencies>
157 <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation>
159 <project>${project}</project>
160 <compileStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat</compileStateFilePath>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-pmd-plugin</artifactId>
167 <version>${maven.pmd.plugin.version}</version>
170 <groupId>org.openecomp.sdc</groupId>
171 <artifactId>build-tools</artifactId>
172 <version>${build.tools.version}</version>
175 <groupId>net.sourceforge.pmd</groupId>
176 <artifactId>pmd-core</artifactId>
177 <version>${pmd.core.version}</version>
180 <groupId>net.sourceforge.pmd</groupId>
181 <artifactId>pmd-java</artifactId>
182 <version>${pmd.java.version}</version>
186 <skip>${skipPMD}</skip>
187 <showPmdLog>false</showPmdLog>
188 <analysisCache>false</analysisCache>
189 <analysisCacheLocation>${project.build.directory}/pmd/pmd.cache</analysisCacheLocation>
190 <failOnViolation>false</failOnViolation>
191 <printFailingErrors>false</printFailingErrors>
193 <targetDirectory>${project.build.directory}/pmd</targetDirectory>
194 <includeTests>true</includeTests>
195 <linkXRef>false</linkXRef>
196 <aggregate>false</aggregate>
198 <ruleset>/category/java/bestpractices.xml</ruleset>
199 <ruleset>/category/java/codestyle.xml</ruleset>
200 <ruleset>/category/java/design.xml</ruleset>
201 <ruleset>/category/java/errorprone.xml</ruleset>
202 <ruleset>/category/java/multithreading.xml</ruleset>
203 <ruleset>/category/java/performance.xml</ruleset>
204 <ruleset>/category/java/security.xml</ruleset>
212 <phase>integration-test</phase>
217 <groupId>org.openecomp.sdc.onboarding</groupId>
218 <artifactId>pmd-helper-plugin</artifactId>
219 <version>${project.version}</version>
222 <groupId>org.openecomp.sdc</groupId>
223 <artifactId>build-data-helper</artifactId>
224 <version>${project.version}</version>
230 <goal>init-pmd-helper</goal>
231 <goal>post-verify-helper</goal>
236 <excludePackaging>pom</excludePackaging>
237 <pmdTargetLocation>${project.build.directory}/pmd/pmd.xml</pmdTargetLocation>
238 <pmdFailureReportLocation>${project.build.directory}/pmd.txt</pmdFailureReportLocation>
239 <pmdReportFile>${project.build.directory}/pmd/pmd.csv</pmdReportFile>
240 <persistingModuleCoordinates>org.openecomp.sdc:build-data-installer</persistingModuleCoordinates>
241 <pmdCurrentStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/pmdState.dat</pmdCurrentStateFilePath>
242 <pmdStateFile>${project.build.outputDirectory}/pmd.dat</pmdStateFile>
243 <compiledFilesList>${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst</compiledFilesList>
244 <compiledTestFilesList>${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst</compiledTestFilesList>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-jar-plugin</artifactId>
250 <version>${mvn.jar.version}</version>
253 <addMavenDescriptor>${mvnDsc}</addMavenDescriptor>
256 <exclude>${emptyJAR}</exclude>
261 <groupId>org.codehaus.mojo</groupId>
262 <artifactId>license-maven-plugin</artifactId>
263 <version>${mvn.license.version}</version>
265 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
266 <processStartTag>============LICENSE_START=======================================================</processStartTag>
267 <processEndTag>============LICENSE_END=========================================================</processEndTag>
268 <sectionDelimiter>================================================================================</sectionDelimiter>
269 <licenseName>apache_v2</licenseName>
270 <inceptionYear>2017</inceptionYear>
271 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
272 <projectName>SDC</projectName>
273 <canUpdateCopyright>true</canUpdateCopyright>
274 <canUpdateDescription>true</canUpdateDescription>
275 <canUpdateLicense>true</canUpdateLicense>
276 <emptyLineAfterHeader>true</emptyLineAfterHeader>
277 <verbose>false</verbose>
279 <include>**/*.java</include>
280 <include>**/*.js</include>
281 <include>**/*.ts</include>
286 <root>server-mock</root>
294 <goal>update-file-header</goal>
300 <groupId>org.jacoco</groupId>
301 <artifactId>jacoco-maven-plugin</artifactId>
302 <version>${jacoco.version}</version>
306 <goal>prepare-agent</goal>
311 <phase>prepare-package</phase>
317 <id>post-unit-test</id>
323 <!-- Sets the path to the file which contains the execution data. -->
324 <dataFile>target/jacoco.exec</dataFile>
325 <!-- Sets the output directory for the code coverage report. -->
326 <outputDirectory>target/jacoco-ut</outputDirectory>
335 <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
336 <dependencyManagement>
338 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
340 <groupId>commons-beanutils</groupId>
341 <artifactId>commons-beanutils</artifactId>
342 <version>${commons.beanutils.version}</version>
344 <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
346 <groupId>com.beust</groupId>
347 <artifactId>jcommander</artifactId>
348 <version>${jcommander.version}</version>
350 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
352 <groupId>org.apache.httpcomponents</groupId>
353 <artifactId>httpasyncclient</artifactId>
354 <version>${httpasyncclient.version}</version>
356 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
358 <groupId>com.sun.xml.bind</groupId>
359 <artifactId>jaxb-impl</artifactId>
360 <version>${jaxb.impl.version}</version>
362 <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
364 <groupId>org.beanshell</groupId>
365 <artifactId>bsh</artifactId>
366 <version>${bsh.version}</version>
368 <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
370 <groupId>commons-digester</groupId>
371 <artifactId>commons-digester</artifactId>
372 <version>${commons.digester.version}</version>
374 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
376 <groupId>com.fasterxml</groupId>
377 <artifactId>classmate</artifactId>
378 <version>${classmate.version}</version>
381 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
383 <groupId>org.slf4j</groupId>
384 <artifactId>slf4j-api</artifactId>
385 <version>${slf4j.version}</version>
388 <groupId>org.codehaus.groovy</groupId>
389 <artifactId>groovy-all</artifactId>
390 <version>${groovy.version}</version>
393 <groupId>org.codehaus.janino</groupId>
394 <artifactId>janino</artifactId>
395 <version>${janino.version}</version>
396 <scope>provided</scope>
399 </dependencyManagement>
402 <module>/api</module>
403 <module>/lib</module>
404 <module>/tools/swagger-ui</module>
405 <module>/tools/zusammen-tools</module>
406 <module>/backend</module>
410 <!--<id>docker-staging</id>-->
412 <!--<docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>-->
413 <!--<docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>-->
420 <activeByDefault>false</activeByDefault>
424 <module>/dist</module>