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 <artifactId>openecomp-sdc</artifactId>
7 <packaging>pom</packaging>
9 <url>http://maven.apache.org</url>
12 <groupId>org.openecomp.sdc</groupId>
13 <artifactId>sdc-onboarding</artifactId>
14 <version>1.3.0-SNAPSHOT</version>
15 <relativePath>../onboarding/pom.xml</relativePath>
20 <groupId>org.togglz</groupId>
21 <artifactId>togglz-core</artifactId>
22 <version>${togglz.version}</version>
25 <groupId>org.togglz</groupId>
26 <artifactId>togglz-testing</artifactId>
27 <version>${togglz.version}</version>
35 <!-- ================================================== -->
36 <!-- Set the JDK compiler version. -->
37 <!-- ================================================== -->
39 <groupId>org.apache.maven.plugins</groupId>
40 <artifactId>maven-compiler-plugin</artifactId>
41 <version>${mvn.compiler.version}</version>
42 <inherited>true</inherited>
45 <id>default-compile</id>
47 <skipMain>${skipMainSourceCompile}</skipMain>
51 <id>default-testCompile</id>
53 <skip>${skipTestSourceCompile}</skip>
58 <source>${java.source}</source>
59 <target>${java.target}</target>
63 <groupId>org.openecomp.sdc.onboarding</groupId>
64 <artifactId>artifact-copy-plugin</artifactId>
65 <version>${project.version}</version>
69 <goal>init-artifact-helper</goal>
70 <!--<goal>copy-helper</goal>-->
71 <goal>calibrate-artifact-helper</goal>
76 <groupId>org.openecomp.sdc</groupId>
77 <artifactId>build-data-installer</artifactId>
78 <version>${project.version}</version>
80 <project>${project}</project>
81 <session>${session}</session>
82 <unicornRoot>org.openecomp.sdc:sdc-onboarding/target/build-data</unicornRoot>
87 <groupId>org.openecomp.sdc.onboarding</groupId>
88 <artifactId>compile-helper-plugin</artifactId>
89 <version>${project.version}</version>
92 <groupId>org.openecomp.sdc.onboarding</groupId>
93 <artifactId>pmd-helper-plugin</artifactId>
94 <version>${project.version}</version>
100 <goal>init-helper</goal>
101 <goal>pre-compile-helper</goal>
102 <goal>post-compile-helper</goal>
103 <goal>pre-test-compile-helper</goal>
104 <goal>post-test-run-helper</goal>
109 <excludePackaging>pom</excludePackaging>
110 <excludeDependencies>test,runtime</excludeDependencies>
111 <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation>
113 <project>${project}</project>
114 <compileStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat
115 </compileStateFilePath>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-pmd-plugin</artifactId>
122 <version>${maven.pmd.plugin.version}</version>
125 <groupId>org.openecomp.sdc</groupId>
126 <artifactId>build-tools</artifactId>
127 <version>${build.tools.version}</version>
130 <groupId>net.sourceforge.pmd</groupId>
131 <artifactId>pmd-core</artifactId>
132 <version>${pmd.core.version}</version>
135 <groupId>net.sourceforge.pmd</groupId>
136 <artifactId>pmd-java</artifactId>
137 <version>${pmd.java.version}</version>
141 <skip>${skipPMD}</skip>
142 <showPmdLog>false</showPmdLog>
143 <analysisCache>false</analysisCache>
144 <analysisCacheLocation>${project.build.directory}/pmd/pmd.cache</analysisCacheLocation>
145 <failOnViolation>false</failOnViolation>
146 <printFailingErrors>false</printFailingErrors>
148 <targetDirectory>${project.build.directory}/pmd</targetDirectory>
149 <includeTests>true</includeTests>
150 <linkXRef>false</linkXRef>
151 <aggregate>false</aggregate>
153 <ruleset>/category/java/bestpractices.xml</ruleset>
154 <ruleset>/category/java/codestyle.xml</ruleset>
155 <ruleset>/category/java/design.xml</ruleset>
156 <ruleset>/category/java/errorprone.xml</ruleset>
157 <ruleset>/category/java/multithreading.xml</ruleset>
158 <ruleset>/category/java/performance.xml</ruleset>
159 <ruleset>/category/java/security.xml</ruleset>
167 <phase>integration-test</phase>
172 <groupId>org.openecomp.sdc.onboarding</groupId>
173 <artifactId>pmd-helper-plugin</artifactId>
174 <version>${project.version}</version>
178 <goal>init-pmd-helper</goal>
179 <goal>post-verify-helper</goal>
184 <excludePackaging>pom</excludePackaging>
185 <pmdTargetLocation>${project.build.directory}/pmd/pmd.xml</pmdTargetLocation>
186 <pmdFailureReportLocation>${project.build.directory}/pmd.txt</pmdFailureReportLocation>
187 <pmdReportFile>${project.build.directory}/pmd/pmd.csv</pmdReportFile>
188 <persistingModuleCoordinates>org.openecomp.sdc:build-data-installer</persistingModuleCoordinates>
189 <pmdCurrentStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/pmdState.dat
190 </pmdCurrentStateFilePath>
191 <pmdStateFile>${project.build.outputDirectory}/pmd.dat</pmdStateFile>
193 ${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
195 <compiledTestFilesList>
196 ${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
197 </compiledTestFilesList>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-jar-plugin</artifactId>
203 <version>${mvn.jar.version}</version>
206 <addMavenDescriptor>${mvnDsc}</addMavenDescriptor>
209 <exclude>${emptyJAR}</exclude>
214 <groupId>org.codehaus.mojo</groupId>
215 <artifactId>license-maven-plugin</artifactId>
216 <version>${mvn.license.version}</version>
218 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
219 <processStartTag>============LICENSE_START=======================================================
221 <processEndTag>============LICENSE_END=========================================================
223 <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>
260 <id>default-prepare-agent</id>
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>
292 <module>/api</module>
293 <module>/lib</module>
294 <module>/tools/swagger-ui</module>
295 <module>/tools/zusammen-tools</module>
296 <module>/backend</module>
303 <activeByDefault>false</activeByDefault>
307 <module>/dist</module>