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.3.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>
89 <project>${project}</project>
90 <session>${session}</session>
91 <unicornRoot>org.openecomp.sdc:sdc-onboarding/target/build-data</unicornRoot>
96 <groupId>org.openecomp.sdc.onboarding</groupId>
97 <artifactId>compile-helper-plugin</artifactId>
98 <version>${project.version}</version>
101 <groupId>org.openecomp.sdc.onboarding</groupId>
102 <artifactId>pmd-helper-plugin</artifactId>
103 <version>${project.version}</version>
109 <goal>init-helper</goal>
110 <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>
118 <excludePackaging>pom</excludePackaging>
119 <excludeDependencies>test,runtime</excludeDependencies>
120 <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation>
122 <project>${project}</project>
123 <compileStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat</compileStateFilePath>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-pmd-plugin</artifactId>
130 <version>${maven.pmd.plugin.version}</version>
133 <groupId>org.openecomp.sdc</groupId>
134 <artifactId>build-tools</artifactId>
135 <version>${build.tools.version}</version>
138 <groupId>net.sourceforge.pmd</groupId>
139 <artifactId>pmd-core</artifactId>
140 <version>${pmd.core.version}</version>
143 <groupId>net.sourceforge.pmd</groupId>
144 <artifactId>pmd-java</artifactId>
145 <version>${pmd.java.version}</version>
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>
156 <targetDirectory>${project.build.directory}/pmd</targetDirectory>
157 <includeTests>true</includeTests>
158 <linkXRef>false</linkXRef>
159 <aggregate>false</aggregate>
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>
175 <phase>integration-test</phase>
180 <groupId>org.openecomp.sdc.onboarding</groupId>
181 <artifactId>pmd-helper-plugin</artifactId>
182 <version>${project.version}</version>
186 <goal>init-pmd-helper</goal>
187 <goal>post-verify-helper</goal>
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>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-jar-plugin</artifactId>
206 <version>${mvn.jar.version}</version>
209 <addMavenDescriptor>${mvnDsc}</addMavenDescriptor>
212 <exclude>${emptyJAR}</exclude>
217 <groupId>org.codehaus.mojo</groupId>
218 <artifactId>license-maven-plugin</artifactId>
219 <version>${mvn.license.version}</version>
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&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>
235 <include>**/*.java</include>
236 <include>**/*.js</include>
237 <include>**/*.ts</include>
242 <root>server-mock</root>
250 <goal>update-file-header</goal>
256 <groupId>org.jacoco</groupId>
257 <artifactId>jacoco-maven-plugin</artifactId>
258 <version>${jacoco.version}</version>
262 <goal>prepare-agent</goal>
267 <phase>prepare-package</phase>
273 <id>post-unit-test</id>
279 <!-- Sets the path to the file which contains the execution data. -->
280 <dataFile>target/jacoco.exec</dataFile>
281 <!-- Sets the output directory for the code coverage report. -->
282 <outputDirectory>target/jacoco-ut</outputDirectory>
291 <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
292 <dependencyManagement>
294 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
296 <groupId>commons-beanutils</groupId>
297 <artifactId>commons-beanutils</artifactId>
298 <version>${commons.beanutils.version}</version>
300 <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
302 <groupId>com.beust</groupId>
303 <artifactId>jcommander</artifactId>
304 <version>${jcommander.version}</version>
306 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
308 <groupId>org.apache.httpcomponents</groupId>
309 <artifactId>httpasyncclient</artifactId>
310 <version>${httpasyncclient.version}</version>
312 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
314 <groupId>com.sun.xml.bind</groupId>
315 <artifactId>jaxb-impl</artifactId>
316 <version>${jaxb.impl.version}</version>
318 <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
320 <groupId>org.beanshell</groupId>
321 <artifactId>bsh</artifactId>
322 <version>${bsh.version}</version>
324 <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
326 <groupId>commons-digester</groupId>
327 <artifactId>commons-digester</artifactId>
328 <version>${commons.digester.version}</version>
330 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
332 <groupId>com.fasterxml</groupId>
333 <artifactId>classmate</artifactId>
334 <version>${classmate.version}</version>
337 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
339 <groupId>org.slf4j</groupId>
340 <artifactId>slf4j-api</artifactId>
341 <version>${slf4j.version}</version>
344 <groupId>org.codehaus.groovy</groupId>
345 <artifactId>groovy-all</artifactId>
346 <version>${groovy.version}</version>
349 <groupId>org.codehaus.janino</groupId>
350 <artifactId>janino</artifactId>
351 <version>${janino.version}</version>
352 <scope>provided</scope>
355 </dependencyManagement>
358 <module>/api</module>
359 <module>/lib</module>
360 <module>/tools/swagger-ui</module>
361 <module>/tools/zusammen-tools</module>
362 <module>/backend</module>
366 <!--<id>docker-staging</id>-->
368 <!--<docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>-->
369 <!--<docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>-->
376 <activeByDefault>false</activeByDefault>
380 <module>/dist</module>