blob: 2ca3525d9300872c96e8086bd8c201fdacc8b255 [file] [log] [blame]
AviZi280f8012017-06-09 02:39:56 +03001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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
amitjai42c920b2018-04-27 13:28:57 +05305 <groupId>org.onap.sdc.common</groupId>
6 <name>onap-common-lib</name>
7 <artifactId>onap-common-lib</artifactId>
AviZi280f8012017-06-09 02:39:56 +03008 <packaging>pom</packaging>
9
10 <parent>
11 <groupId>org.openecomp.sdc</groupId>
12 <artifactId>sdc-onboarding</artifactId>
Michael Landod8a0dea2018-06-02 19:23:27 +030013 <version>1.3.0-SNAPSHOT</version>
Gautam Shah3de22e12018-04-21 16:18:37 +053014 <relativePath>../onboarding</relativePath>
AviZi280f8012017-06-09 02:39:56 +030015 </parent>
16
17 <properties>
18 <aspectj.version>1.8.7</aspectj.version>
AviZi280f8012017-06-09 02:39:56 +030019 </properties>
20
21 <modules>
amitjai42c920b2018-04-27 13:28:57 +053022 <module>onap-sdc-artifact-generator-lib</module>
23 <module>onap-common-configuration-management</module>
24 <module>onap-tosca-datatype</module>
AviZi280f8012017-06-09 02:39:56 +030025 </modules>
26
27 <dependencies>
28 <dependency>
29 <groupId>org.slf4j</groupId>
30 <artifactId>slf4j-api</artifactId>
31 <version>1.7.10</version>
32 </dependency>
33 <dependency>
34 <groupId>ch.qos.logback</groupId>
35 <artifactId>logback-classic</artifactId>
36 <version>${logback.version}</version>
37 </dependency>
38
39 <dependency>
40 <groupId>ch.qos.logback</groupId>
41 <artifactId>logback-core</artifactId>
42 <version>${logback.version}</version>
43 </dependency>
44 <dependency>
45 <groupId>com.fasterxml.jackson.core</groupId>
46 <artifactId>jackson-databind</artifactId>
47 <version>${jackson.version}</version>
48 </dependency>
49 <dependency>
50 <groupId>com.fasterxml.jackson.dataformat</groupId>
51 <artifactId>jackson-dataformat-yaml</artifactId>
52 <version>${jackson.version}</version>
53 </dependency>
54 <dependency>
55 <groupId>commons-codec</groupId>
56 <artifactId>commons-codec</artifactId>
57 <version>${commons.codec.version}</version>
58 </dependency>
59 <dependency>
60 <groupId>com.datastax.cassandra</groupId>
61 <artifactId>cassandra-driver-core</artifactId>
62 <version>${cassandra.version}</version>
63 </dependency>
64 <dependency>
65 <groupId>com.datastax.cassandra</groupId>
66 <artifactId>cassandra-driver-mapping</artifactId>
67 <version>${cassandra.version}</version>
68 </dependency>
69 <dependency>
70 <groupId>javax.ws.rs</groupId>
71 <artifactId>javax.ws.rs-api</artifactId>
Michael Landoa5445102018-03-04 14:53:33 +020072 <version>${ws.rs.version}</version>
AviZi280f8012017-06-09 02:39:56 +030073 </dependency>
74 <dependency>
75 <groupId>com.google.code.gson</groupId>
76 <artifactId>gson</artifactId>
77 <version>${gson.version}</version>
78 </dependency>
79 <dependency>
80 <groupId>org.testng</groupId>
81 <artifactId>testng</artifactId>
82 <version>6.8.8</version>
83 <scope>test</scope>
84 </dependency>
85 <dependency>
86 <groupId>junit</groupId>
87 <artifactId>junit</artifactId>
88 <version>${junit.version}</version>
89 <scope>test</scope>
90 </dependency>
91 </dependencies>
92
93 <dependencyManagement>
94 <dependencies>
95 <dependency>
96 <groupId>org.slf4j</groupId>
97 <artifactId>slf4j-api</artifactId>
98 <version>${slf4j.version}</version>
99 </dependency>
100 <dependency>
101 <groupId>org.aspectj</groupId>
102 <artifactId>aspectjrt</artifactId>
103 <version>${aspectj.version}</version>
104 </dependency>
105 <dependency>
106 <groupId>javax.servlet</groupId>
107 <artifactId>servlet-api</artifactId>
108 <version>${servlet.version}</version>
109 </dependency>
110 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
111 <dependency>
112 <groupId>commons-beanutils</groupId>
113 <artifactId>commons-beanutils</artifactId>
114 <version>${commons.beanutils.version}</version>
115 </dependency>
116 <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
117 <dependency>
118 <groupId>com.beust</groupId>
119 <artifactId>jcommander</artifactId>
120 <version>${jcommander.version}</version>
121 </dependency>
122 <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
123 <dependency>
124 <groupId>commons-digester</groupId>
125 <artifactId>commons-digester</artifactId>
126 <version>${commons.digester.version}</version>
127 </dependency>
128 <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
129 <dependency>
130 <groupId>org.beanshell</groupId>
131 <artifactId>bsh</artifactId>
132 <version>${bsh.version}</version>
133 </dependency>
134 <!-- https://mvnrepository.com/artifact/com.google.code.findbugs/annotations -->
135 <dependency>
136 <groupId>com.google.code.findbugs</groupId>
137 <artifactId>annotations</artifactId>
138 <version>3.0.1u2</version>
139 </dependency>
140 <!-- https://mvnrepository.com/artifact/cglib/cglib-nodep -->
141 <dependency>
142 <groupId>cglib</groupId>
143 <artifactId>cglib-nodep</artifactId>
144 <version>${cglib.nodep.version}</version>
145 </dependency>
146 </dependencies>
147 </dependencyManagement>
148
149 <build>
150 <plugins>
151
152 <!-- ================================================== -->
153 <!-- Set the JDK compiler version. -->
154 <!-- ================================================== -->
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-compiler-plugin</artifactId>
158 <version>${mvn.compiler.version}</version>
159 <inherited>true</inherited>
Gautam Shahb145c082018-05-27 13:32:07 +0530160 <executions>
161 <execution>
162 <id>default-compile</id>
163 <configuration>
164 <skipMain>${skipMainSourceCompile}</skipMain>
165 </configuration>
166 </execution>
167 <execution>
168 <id>default-testCompile</id>
169 <configuration>
170 <skip>${skipTestSourceCompile}</skip>
171 </configuration>
172 </execution>
173 </executions>
AviZi280f8012017-06-09 02:39:56 +0300174 <configuration>
175 <source>${java.source}</source>
176 <target>${java.target}</target>
177 </configuration>
178 </plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +0530179 <plugin>
180 <groupId>org.openecomp.sdc.onboarding</groupId>
Gautam Shahb145c082018-05-27 13:32:07 +0530181 <artifactId>artifact-copy-plugin</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530182 <version>${project.version}</version>
183 <executions>
184 <execution>
185 <goals>
Gautam Shahb145c082018-05-27 13:32:07 +0530186 <goal>init-artifact-helper</goal>
187 <goal>copy-helper</goal>
188 <goal>calibrate-artifact-helper</goal>
189 </goals>
190 </execution>
191 </executions>
192 <configuration>
193 <groupId>org.openecomp.sdc</groupId>
194 <artifactId>build-data-installer</artifactId>
195 <version>${project.version}</version>
196 <targetLocation>build-data-helper</targetLocation>
197 <name>build-data-helper-${project.version}.jar</name>
198 <artifactHelper>
199 <project>${project}</project>
200 </artifactHelper>
201 </configuration>
202 </plugin>
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-dependency-plugin</artifactId>
Gautam Shahe1e4f692018-05-29 13:43:49 +0530206 <version>${maven.dependency.version}</version>
Gautam Shahb145c082018-05-27 13:32:07 +0530207 <executions>
208 <execution>
209 <id>id1</id>
210 <goals>
211 <goal>get</goal>
212 </goals>
213 <phase>pre-clean</phase>
214 <configuration>
215 <artifactId>build-data-helper</artifactId>
216 </configuration>
217 </execution>
218 <execution>
219 <id>id2</id>
220 <goals>
221 <goal>get</goal>
222 </goals>
223 <phase>pre-clean</phase>
224 <configuration>
225 <artifactId>build-data-installer</artifactId>
226 </configuration>
227 </execution>
228 </executions>
229 <configuration>
230 <groupId>org.openecomp.sdc</groupId>
231 <version>${project.version}</version>
232 <skip>${skipGet}</skip>
233 </configuration>
234 </plugin>
235 <plugin>
236 <groupId>org.openecomp.sdc.onboarding</groupId>
237 <artifactId>compile-helper-plugin</artifactId>
238 <version>${project.version}</version>
239 <dependencies>
240 <dependency>
241 <groupId>org.openecomp.sdc</groupId>
242 <artifactId>build-data-helper</artifactId>
243 <version>${project.version}</version>
244 </dependency>
245 <dependency>
246 <groupId>org.openecomp.sdc.onboarding</groupId>
247 <artifactId>pmd-helper-plugin</artifactId>
248 <version>${project.version}</version>
249 </dependency>
250 </dependencies>
251 <executions>
252 <execution>
253 <goals>
Gautam Shah3de22e12018-04-21 16:18:37 +0530254 <goal>init-helper</goal>
Gautam Shahb145c082018-05-27 13:32:07 +0530255 <goal>pre-compile-helper</goal>
256 <goal>post-compile-helper</goal>
257 <goal>pre-test-compile-helper</goal>
258 <goal>post-test-run-helper</goal>
Gautam Shah3de22e12018-04-21 16:18:37 +0530259 </goals>
260 </execution>
261 </executions>
262 <configuration>
263 <excludePackaging>pom</excludePackaging>
264 <excludeDependencies>test,runtime</excludeDependencies>
Gautam Shahb145c082018-05-27 13:32:07 +0530265 <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation>
Gautam Shah3de22e12018-04-21 16:18:37 +0530266 <buildState>
Gautam Shah3de22e12018-04-21 16:18:37 +0530267 <project>${project}</project>
Gautam Shahb145c082018-05-27 13:32:07 +0530268 <compileStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat</compileStateFilePath>
Gautam Shah3de22e12018-04-21 16:18:37 +0530269 </buildState>
270 </configuration>
271 </plugin>
Gautam Shahb145c082018-05-27 13:32:07 +0530272 <plugin>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-pmd-plugin</artifactId>
275 <version>${maven.pmd.plugin.version}</version>
276 <dependencies>
277 <dependency>
278 <groupId>org.openecomp.sdc</groupId>
279 <artifactId>build-tools</artifactId>
280 <version>${build.tools.version}</version>
281 </dependency>
282 <dependency>
283 <groupId>net.sourceforge.pmd</groupId>
284 <artifactId>pmd-core</artifactId>
285 <version>${pmd.core.version}</version>
286 </dependency>
287 <dependency>
288 <groupId>net.sourceforge.pmd</groupId>
289 <artifactId>pmd-java</artifactId>
290 <version>${pmd.java.version}</version>
291 </dependency>
292 </dependencies>
293 <configuration>
294 <skip>${skipPMD}</skip>
295 <showPmdLog>false</showPmdLog>
296 <analysisCache>false</analysisCache>
297 <analysisCacheLocation>${project.build.directory}/pmd/pmd.cache</analysisCacheLocation>
298 <failOnViolation>false</failOnViolation>
299 <printFailingErrors>false</printFailingErrors>
300 <format>csv</format>
301 <targetDirectory>${project.build.directory}/pmd</targetDirectory>
302 <includeTests>true</includeTests>
303 <linkXRef>false</linkXRef>
304 <aggregate>false</aggregate>
305 <rulesets>
306 <ruleset>/category/java/bestpractices.xml</ruleset>
307 <ruleset>/category/java/codestyle.xml</ruleset>
308 <ruleset>/category/java/design.xml</ruleset>
309 <ruleset>/category/java/errorprone.xml</ruleset>
310 <ruleset>/category/java/multithreading.xml</ruleset>
311 <ruleset>/category/java/performance.xml</ruleset>
312 <ruleset>/category/java/security.xml</ruleset>
313 </rulesets>
314 </configuration>
315 <executions>
316 <execution>
317 <goals>
318 <goal>check</goal>
319 </goals>
320 <phase>integration-test</phase>
321 </execution>
322 </executions>
323 </plugin>
324 <plugin>
325 <groupId>org.openecomp.sdc.onboarding</groupId>
326 <artifactId>pmd-helper-plugin</artifactId>
327 <version>${project.version}</version>
328 <dependencies>
329 <dependency>
330 <groupId>org.openecomp.sdc</groupId>
331 <artifactId>build-data-helper</artifactId>
332 <version>${project.version}</version>
333 </dependency>
334 </dependencies>
335 <executions>
336 <execution>
337 <goals>
338 <goal>init-pmd-helper</goal>
339 <goal>post-verify-helper</goal>
340 </goals>
341 </execution>
342 </executions>
343 <configuration>
344 <excludePackaging>pom</excludePackaging>
345 <pmdTargetLocation>${project.build.directory}/pmd/pmd.xml</pmdTargetLocation>
346 <pmdFailureReportLocation>${project.build.directory}/pmd.txt</pmdFailureReportLocation>
347 <pmdReportFile>${project.build.directory}/pmd/pmd.csv</pmdReportFile>
348 <persistingModuleCoordinates>org.openecomp.sdc:build-data-installer</persistingModuleCoordinates>
349 <pmdCurrentStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/pmdState.dat</pmdCurrentStateFilePath>
350 <pmdStateFile>${project.build.outputDirectory}/pmd.dat</pmdStateFile>
351 <compiledFilesList>${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst</compiledFilesList>
352 <compiledTestFilesList>${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst</compiledTestFilesList>
353 </configuration>
354 </plugin>
355 <plugin>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-jar-plugin</artifactId>
358 <version>${mvn.jar.version}</version>
359 <configuration>
360 <archive>
361 <addMavenDescriptor>false</addMavenDescriptor>
362 </archive>
363 <excludes>
364 <exclude>${emptyJAR}</exclude>
365 </excludes>
366 </configuration>
367 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300368 <!-- blackduck maven plugin -->
369
370 <!--<plugin>
371 <groupId>com.blackducksoftware.integration</groupId>
372 <artifactId>hub-maven-plugin</artifactId>
373 <version>1.0.4</version>
374 <inherited>false</inherited>
375 <configuration>
376 <target>${project.basedir}</target>
377 </configuration>
378 <executions>
379 <execution>
380 <id>create-bdio-file</id>
381 <phase>package</phase>
382 <goals>
383 <goal>createHubOutput</goal>
384 </goals>
385 </execution>
386 </executions>
387 </plugin>-->
388
389 <plugin>
390 <groupId>org.codehaus.mojo</groupId>
391 <artifactId>license-maven-plugin</artifactId>
392 <version>${mvn.license.version}</version>
393 <configuration>
394 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
395 <processStartTag>============LICENSE_START=======================================================</processStartTag>
396 <processEndTag>============LICENSE_END=========================================================</processEndTag>
397 <sectionDelimiter>================================================================================</sectionDelimiter>
398 <licenseName>apache_v2</licenseName>
399 <inceptionYear>2017</inceptionYear>
400 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
401 <projectName>SDC</projectName>
402 <canUpdateCopyright>true</canUpdateCopyright>
403 <canUpdateDescription>true</canUpdateDescription>
404 <canUpdateLicense>true</canUpdateLicense>
405 <emptyLineAfterHeader>true</emptyLineAfterHeader>
406 <verbose>false</verbose>
407 <includes>
408 <include>**/*.java</include>
409 <include>**/*.js</include>
410 <include>**/*.ts</include>
411 </includes>
412 <roots>
413 <root>src</root>
414 <root>app</root>
415 <root>server-mock</root>
416 <root>typings</root>
417 </roots>
418 </configuration>
419 <executions>
420 <execution>
421 <id>first</id>
422 <goals>
423 <goal>update-file-header</goal>
424 </goals>
425 <!--phase>process-sources</phase-->
426 </execution>
427 </executions>
428 </plugin>
429
430
431 </plugins>
432
433 </build>
434
435</project>