Revert "update sdc version"
[sdc.git] / openecomp-be / pom.xml
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>
4
5     <name>openecomp-sdc</name>
6     <groupId>org.openecomp.sdc</groupId>
7     <artifactId>openecomp-sdc</artifactId>
8     <packaging>pom</packaging>
9
10     <url>http://maven.apache.org</url>
11
12     <parent>
13         <groupId>org.openecomp.sdc</groupId>
14         <artifactId>sdc-onboarding</artifactId>
15         <version>1.2.0-SNAPSHOT</version>
16         <relativePath>../onboarding</relativePath>
17     </parent>
18
19     <dependencies>
20         <dependency>
21             <groupId>com.fasterxml.jackson.core</groupId>
22             <artifactId>jackson-annotations</artifactId>
23             <version>${jackson.version}</version>
24         </dependency>
25
26         <!-- Feature Toggle support libraries-->
27         <dependency>
28             <groupId>org.togglz</groupId>
29             <artifactId>togglz-core</artifactId>
30             <version>${togglz.version}</version>
31         </dependency>
32
33         <dependency>
34             <groupId>org.togglz</groupId>
35             <artifactId>togglz-testing</artifactId>
36             <version>${togglz.version}</version>
37             <scope>test</scope>
38         </dependency>
39     </dependencies>
40
41     <build>
42         <plugins>
43
44             <!-- ================================================== -->
45             <!-- Set the JDK compiler version.                      -->
46             <!-- ================================================== -->
47             <plugin>
48                 <groupId>org.apache.maven.plugins</groupId>
49                 <artifactId>maven-compiler-plugin</artifactId>
50                 <version>${mvn.compiler.version}</version>
51                 <inherited>true</inherited>
52                 <configuration>
53                     <source>${java.source}</source>
54                     <target>${java.target}</target>
55                     <excludes>
56                         <exclude>**/package-info.java</exclude>
57                     </excludes>
58                 </configuration>
59             </plugin>
60             <plugin>
61                 <groupId>org.openecomp.sdc.onboarding</groupId>
62                 <artifactId>compile-helper-plugin</artifactId>
63                 <version>${project.version}</version>
64                 <executions>
65                     <execution>
66                         <goals>
67                             <goal>pre-compile-helper</goal>
68                             <goal>pre-test-compile-helper</goal>
69                             <goal>post-compile-helper</goal>
70                             <goal>post-test-run-helper</goal>
71                             <goal>init-helper</goal>
72                         </goals>
73                     </execution>
74                 </executions>
75                 <configuration>
76                     <excludePackaging>pom</excludePackaging>
77                     <excludeDependencies>test,runtime</excludeDependencies>
78                     <staleThreshold>10000</staleThreshold>
79                     <mainSourceLocation>${basedir}/src/main/java</mainSourceLocation>
80                     <testSourceLocation>${basedir}/src/test/java</testSourceLocation>
81                     <mainResourceLocation>${basedir}/src/main/resources</mainResourceLocation>
82                     <testResourceLocation>${basedir}/src/test/resources</testResourceLocation>
83                     <mainCompiledLocation>${project.build.directory}/classes</mainCompiledLocation>
84                     <testCompiledLocation>${project.build.directory}/test-classes</testCompiledLocation>
85                     <compiledFilesList>
86                         ${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
87                     </compiledFilesList>
88                     <inputSourceFilesList>
89                         ${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
90                     </inputSourceFilesList>
91                     <inputTestFilesList>
92                         ${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
93                     </inputTestFilesList>
94                     <compiledTestFilesList>
95                         ${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
96                     </compiledTestFilesList>
97                     <buildState>
98                         <moduleBuildDataFile>${project.build.directory}/build-data/ModuleDependencies.dat
99                         </moduleBuildDataFile>
100                         <resourceBuildDataFile>${project.build.directory}/build-data/ResourceDependencies.dat
101                         </resourceBuildDataFile>
102                         <project>${project}</project>
103                         <buildStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/BuildState.dat
104                         </buildStateFilePath>
105                         <resourceStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/ResourceState.dat
106                         </resourceStateFilePath>
107                     </buildState>
108                 </configuration>
109             </plugin>
110             <plugin>
111                 <groupId>org.codehaus.mojo</groupId>
112                 <artifactId>license-maven-plugin</artifactId>
113                 <version>${mvn.license.version}</version>
114                 <configuration>
115                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
116                     <processStartTag>============LICENSE_START=======================================================</processStartTag>
117                     <processEndTag>============LICENSE_END=========================================================</processEndTag>
118                     <sectionDelimiter>================================================================================</sectionDelimiter>
119                     <licenseName>apache_v2</licenseName>
120                     <inceptionYear>2017</inceptionYear>
121                     <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
122                     <projectName>SDC</projectName>
123                     <canUpdateCopyright>true</canUpdateCopyright>
124                     <canUpdateDescription>true</canUpdateDescription>
125                     <canUpdateLicense>true</canUpdateLicense>
126                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
127                     <verbose>false</verbose>
128                     <includes>
129                         <include>**/*.java</include>
130                         <include>**/*.js</include>
131                         <include>**/*.ts</include>
132                     </includes>
133                     <roots>
134                         <root>src</root>
135                         <root>app</root>
136                         <root>server-mock</root>
137                         <root>typings</root>
138                     </roots>
139                 </configuration>
140                 <executions>
141                     <execution>
142                         <id>first</id>
143                         <goals>
144                             <goal>update-file-header</goal>
145                         </goals>
146                     </execution>
147                 </executions>
148             </plugin>
149             <plugin>
150                 <groupId>org.jacoco</groupId>
151                 <artifactId>jacoco-maven-plugin</artifactId>
152                 <version>${jacoco.version}</version>
153                 <executions>
154                     <execution>
155                         <goals>
156                             <goal>prepare-agent</goal>
157                         </goals>
158                     </execution>
159                     <execution>
160                         <id>report</id>
161                         <phase>prepare-package</phase>
162                         <goals>
163                             <goal>report</goal>
164                         </goals>
165                     </execution>
166                     <execution>
167                         <id>post-unit-test</id>
168                         <phase>test</phase>
169                         <goals>
170                             <goal>report</goal>
171                         </goals>
172                         <configuration>
173                             <!-- Sets the path to the file which contains the execution data. -->
174                             <dataFile>target/jacoco.exec</dataFile>
175                             <!-- Sets the output directory for the code coverage report. -->
176                             <outputDirectory>target/jacoco-ut</outputDirectory>
177                         </configuration>
178                     </execution>
179                 </executions>
180             </plugin>
181
182         </plugins>
183     </build>
184
185     <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
186     <dependencyManagement>
187         <dependencies>
188             <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
189             <dependency>
190                 <groupId>commons-beanutils</groupId>
191                 <artifactId>commons-beanutils</artifactId>
192                 <version>${commons.beanutils.version}</version>
193             </dependency>
194             <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
195             <dependency>
196                 <groupId>com.beust</groupId>
197                 <artifactId>jcommander</artifactId>
198                 <version>${jcommander.version}</version>
199             </dependency>
200             <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
201             <dependency>
202                 <groupId>org.apache.httpcomponents</groupId>
203                 <artifactId>httpasyncclient</artifactId>
204                 <version>${httpasyncclient.version}</version>
205             </dependency>
206             <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
207             <dependency>
208                 <groupId>com.sun.xml.bind</groupId>
209                 <artifactId>jaxb-impl</artifactId>
210                 <version>${jaxb.impl.version}</version>
211             </dependency>
212             <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
213             <dependency>
214                 <groupId>org.beanshell</groupId>
215                 <artifactId>bsh</artifactId>
216                 <version>${bsh.version}</version>
217             </dependency>
218             <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
219             <dependency>
220                 <groupId>commons-digester</groupId>
221                 <artifactId>commons-digester</artifactId>
222                 <version>${commons.digester.version}</version>
223             </dependency>
224             <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
225             <dependency>
226                 <groupId>com.fasterxml</groupId>
227                 <artifactId>classmate</artifactId>
228                 <version>${classmate.version}</version>
229             </dependency>
230             <!--1702 -->
231             <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
232             <dependency>
233                 <groupId>org.slf4j</groupId>
234                 <artifactId>slf4j-api</artifactId>
235                 <version>${slf4j.version}</version>
236             </dependency>
237             <dependency>
238                 <groupId>org.codehaus.groovy</groupId>
239                 <artifactId>groovy-all</artifactId>
240                 <version>${groovy.version}</version>
241             </dependency>
242             <dependency>
243                 <groupId>org.codehaus.janino</groupId>
244                 <artifactId>janino</artifactId>
245                 <version>${janino.version}</version>
246                 <scope>provided</scope>
247             </dependency>
248         </dependencies>
249     </dependencyManagement>
250
251     <modules>
252         <module>/api</module>
253         <module>/lib</module>
254         <module>/tools/swagger-ui</module>
255         <module>/tools/zusammen-tools</module>
256         <module>/backend</module>
257     </modules>
258     <profiles>
259         <!--<profile>-->
260         <!--<id>docker-staging</id>-->
261         <!--<properties>-->
262         <!--<docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>-->
263         <!--<docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>-->
264         <!--</properties>-->
265         <!--</profile>-->
266
267         <profile>
268             <id>docker</id>
269             <activation>
270                 <activeByDefault>false</activeByDefault>
271             </activation>
272
273             <modules>
274                 <module>/dist</module>
275             </modules>
276         </profile>
277     </profiles>
278 </project>
279