54d3a1b3c36140394a60b3e38b1cf81cd850c49a
[sdc.git] / common / pom.xml
1 <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
5     <groupId>org.openecomp.sdc.common</groupId>
6     <name>openecomp-common-lib</name>
7     <artifactId>openecomp-common-lib</artifactId>
8     <packaging>pom</packaging>
9
10     <parent>
11         <groupId>org.openecomp.sdc</groupId>
12         <artifactId>sdc-onboarding</artifactId>
13         <version>1.2.0-SNAPSHOT</version>
14         <relativePath>../onboarding</relativePath>
15     </parent>
16
17     <properties>
18         <aspectj.version>1.8.7</aspectj.version>
19
20     </properties>
21
22     <modules>
23         <module>openecomp-sdc-artifact-generator-lib</module>
24         <module>openecomp-common-configuration-management</module>
25         <module>openecomp-tosca-datatype</module>
26     </modules>
27
28     <dependencies>
29         <dependency>
30             <groupId>org.slf4j</groupId>
31             <artifactId>slf4j-api</artifactId>
32             <version>1.7.10</version>
33         </dependency>
34         <dependency>
35             <groupId>ch.qos.logback</groupId>
36             <artifactId>logback-classic</artifactId>
37             <version>${logback.version}</version>
38         </dependency>
39
40         <dependency>
41             <groupId>ch.qos.logback</groupId>
42             <artifactId>logback-core</artifactId>
43             <version>${logback.version}</version>
44         </dependency>
45         <dependency>
46             <groupId>com.fasterxml.jackson.core</groupId>
47             <artifactId>jackson-databind</artifactId>
48             <version>${jackson.version}</version>
49         </dependency>
50         <dependency>
51             <groupId>com.fasterxml.jackson.dataformat</groupId>
52             <artifactId>jackson-dataformat-yaml</artifactId>
53             <version>${jackson.version}</version>
54         </dependency>
55         <dependency>
56             <groupId>commons-codec</groupId>
57             <artifactId>commons-codec</artifactId>
58             <version>${commons.codec.version}</version>
59         </dependency>
60         <dependency>
61             <groupId>com.datastax.cassandra</groupId>
62             <artifactId>cassandra-driver-core</artifactId>
63             <version>${cassandra.version}</version>
64         </dependency>
65         <dependency>
66             <groupId>com.datastax.cassandra</groupId>
67             <artifactId>cassandra-driver-mapping</artifactId>
68             <version>${cassandra.version}</version>
69         </dependency>
70         <dependency>
71             <groupId>javax.ws.rs</groupId>
72             <artifactId>javax.ws.rs-api</artifactId>
73             <version>${ws.rs.version}</version>
74         </dependency>
75         <dependency>
76             <groupId>com.google.code.gson</groupId>
77             <artifactId>gson</artifactId>
78             <version>${gson.version}</version>
79         </dependency>
80         <dependency>
81             <groupId>org.testng</groupId>
82             <artifactId>testng</artifactId>
83             <version>6.8.8</version>
84             <scope>test</scope>
85         </dependency>
86         <dependency>
87             <groupId>junit</groupId>
88             <artifactId>junit</artifactId>
89             <version>${junit.version}</version>
90             <scope>test</scope>
91         </dependency>
92     </dependencies>
93
94     <dependencyManagement>
95         <dependencies>
96             <dependency>
97                 <groupId>org.slf4j</groupId>
98                 <artifactId>slf4j-api</artifactId>
99                 <version>${slf4j.version}</version>
100             </dependency>
101             <dependency>
102                 <groupId>org.aspectj</groupId>
103                 <artifactId>aspectjrt</artifactId>
104                 <version>${aspectj.version}</version>
105             </dependency>
106             <dependency>
107                 <groupId>javax.servlet</groupId>
108                 <artifactId>servlet-api</artifactId>
109                 <version>${servlet.version}</version>
110             </dependency>
111             <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
112             <dependency>
113                 <groupId>commons-beanutils</groupId>
114                 <artifactId>commons-beanutils</artifactId>
115                 <version>${commons.beanutils.version}</version>
116             </dependency>
117             <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
118             <dependency>
119                 <groupId>com.beust</groupId>
120                 <artifactId>jcommander</artifactId>
121                 <version>${jcommander.version}</version>
122             </dependency>
123             <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
124             <dependency>
125                 <groupId>commons-digester</groupId>
126                 <artifactId>commons-digester</artifactId>
127                 <version>${commons.digester.version}</version>
128             </dependency>
129             <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
130             <dependency>
131                 <groupId>org.beanshell</groupId>
132                 <artifactId>bsh</artifactId>
133                 <version>${bsh.version}</version>
134             </dependency>
135             <!-- https://mvnrepository.com/artifact/com.google.code.findbugs/annotations -->
136             <dependency>
137                 <groupId>com.google.code.findbugs</groupId>
138                 <artifactId>annotations</artifactId>
139                 <version>3.0.1u2</version>
140             </dependency>
141             <!-- https://mvnrepository.com/artifact/cglib/cglib-nodep -->
142             <dependency>
143                 <groupId>cglib</groupId>
144                 <artifactId>cglib-nodep</artifactId>
145                 <version>${cglib.nodep.version}</version>
146             </dependency>
147         </dependencies>
148     </dependencyManagement>
149
150     <build>
151         <plugins>
152
153             <!-- ================================================== -->
154             <!-- Set the JDK compiler version.                      -->
155             <!-- ================================================== -->
156             <plugin>
157                 <groupId>org.apache.maven.plugins</groupId>
158                 <artifactId>maven-compiler-plugin</artifactId>
159                 <version>${mvn.compiler.version}</version>
160                 <inherited>true</inherited>
161                 <configuration>
162                     <source>${java.source}</source>
163                     <target>${java.target}</target>
164                 </configuration>
165             </plugin>
166             <plugin>
167                 <groupId>org.openecomp.sdc.onboarding</groupId>
168                 <artifactId>compile-helper-plugin</artifactId>
169                 <version>${project.version}</version>
170                 <executions>
171                     <execution>
172                         <goals>
173                             <goal>pre-compile-helper</goal>
174                             <goal>pre-test-compile-helper</goal>
175                             <goal>post-compile-helper</goal>
176                             <goal>post-test-run-helper</goal>
177                             <goal>init-helper</goal>
178                         </goals>
179                     </execution>
180                 </executions>
181                 <configuration>
182                     <excludePackaging>pom</excludePackaging>
183                     <excludeDependencies>test,runtime</excludeDependencies>
184                     <staleThreshold>10000</staleThreshold>
185                     <mainSourceLocation>${basedir}/src/main/java</mainSourceLocation>
186                     <testSourceLocation>${basedir}/src/test/java</testSourceLocation>
187                     <mainResourceLocation>${basedir}/src/main/resources</mainResourceLocation>
188                     <testResourceLocation>${basedir}/src/test/resources</testResourceLocation>
189                     <mainCompiledLocation>${project.build.directory}/classes</mainCompiledLocation>
190                     <testCompiledLocation>${project.build.directory}/test-classes</testCompiledLocation>
191                     <compiledFilesList>
192                         ${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
193                     </compiledFilesList>
194                     <inputSourceFilesList>
195                         ${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
196                     </inputSourceFilesList>
197                     <inputTestFilesList>
198                         ${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
199                     </inputTestFilesList>
200                     <compiledTestFilesList>
201                         ${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
202                     </compiledTestFilesList>
203                     <buildState>
204                         <moduleBuildDataFile>${project.build.directory}/build-data/ModuleDependencies.dat
205                         </moduleBuildDataFile>
206                         <resourceBuildDataFile>${project.build.directory}/build-data/ResourceDependencies.dat
207                         </resourceBuildDataFile>
208                         <project>${project}</project>
209                         <buildStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/BuildState.dat
210                         </buildStateFilePath>
211                         <resourceStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/ResourceState.dat
212                         </resourceStateFilePath>
213                     </buildState>
214                 </configuration>
215             </plugin>
216             <!-- blackduck maven plugin -->
217
218             <!--<plugin>
219                 <groupId>com.blackducksoftware.integration</groupId>
220                 <artifactId>hub-maven-plugin</artifactId>
221                 <version>1.0.4</version>
222                 <inherited>false</inherited>
223                 <configuration>
224                     <target>${project.basedir}</target>
225                 </configuration>
226                 <executions>
227                     <execution>
228                         <id>create-bdio-file</id>
229                         <phase>package</phase>
230                         <goals>
231                             <goal>createHubOutput</goal>
232                         </goals>
233                     </execution>
234                 </executions>
235             </plugin>-->
236
237             <plugin>
238                 <groupId>org.codehaus.mojo</groupId>
239                 <artifactId>license-maven-plugin</artifactId>
240                 <version>${mvn.license.version}</version>
241                 <configuration>
242                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
243                     <processStartTag>============LICENSE_START=======================================================</processStartTag>
244                     <processEndTag>============LICENSE_END=========================================================</processEndTag>
245                     <sectionDelimiter>================================================================================</sectionDelimiter>
246                     <licenseName>apache_v2</licenseName>
247                     <inceptionYear>2017</inceptionYear>
248                     <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
249                     <projectName>SDC</projectName>
250                     <canUpdateCopyright>true</canUpdateCopyright>
251                     <canUpdateDescription>true</canUpdateDescription>
252                     <canUpdateLicense>true</canUpdateLicense>
253                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
254                     <verbose>false</verbose>
255                     <includes>
256                         <include>**/*.java</include>
257                         <include>**/*.js</include>
258                         <include>**/*.ts</include>
259                     </includes>
260                     <roots>
261                         <root>src</root>
262                         <root>app</root>
263                         <root>server-mock</root>
264                         <root>typings</root>
265                     </roots>
266                 </configuration>
267                 <executions>
268                     <execution>
269                         <id>first</id>
270                         <goals>
271                             <goal>update-file-header</goal>
272                         </goals>
273                         <!--phase>process-sources</phase-->
274                     </execution>
275                 </executions>
276             </plugin>
277
278
279         </plugins>
280
281     </build>
282
283 </project>