blob: fe6fb3eb7a732811be6572a6221fb7a99ccf4907 [file] [log] [blame]
Michael Landof5f13c42017-02-19 12:35:04 +02001<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
AviZi280f8012017-06-09 02:39:56 +03005 <name>openecomp-sdc</name>
Michael Landof5f13c42017-02-19 12:35:04 +02006 <groupId>org.openecomp.sdc</groupId>
7 <artifactId>openecomp-sdc</artifactId>
Michael Landof5f13c42017-02-19 12:35:04 +02008 <packaging>pom</packaging>
AviZi280f8012017-06-09 02:39:56 +03009
Michael Landof5f13c42017-02-19 12:35:04 +020010 <url>http://maven.apache.org</url>
11
AviZi280f8012017-06-09 02:39:56 +030012 <parent>
13 <groupId>org.openecomp.sdc</groupId>
14 <artifactId>sdc-onboarding</artifactId>
Michael Lando5920d2c2018-05-26 20:03:34 +030015 <version>1.3.0-SNAPSHOT</version>
AviZi280f8012017-06-09 02:39:56 +030016 <relativePath>../onboarding</relativePath>
17 </parent>
Michael Landof5f13c42017-02-19 12:35:04 +020018
AviZi280f8012017-06-09 02:39:56 +030019 <dependencies>
20 <dependency>
21 <groupId>com.fasterxml.jackson.core</groupId>
22 <artifactId>jackson-annotations</artifactId>
23 <version>${jackson.version}</version>
24 </dependency>
talioce889ad2017-11-12 16:12:35 +020025
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>
talioce889ad2017-11-12 16:12:35 +020035 <artifactId>togglz-testing</artifactId>
36 <version>${togglz.version}</version>
37 <scope>test</scope>
38 </dependency>
AviZi280f8012017-06-09 02:39:56 +030039 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +020040
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>
AviZi280f8012017-06-09 02:39:56 +030050 <version>${mvn.compiler.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020051 <inherited>true</inherited>
52 <configuration>
53 <source>${java.source}</source>
54 <target>${java.target}</target>
Gautam Shah3de22e12018-04-21 16:18:37 +053055 <excludes>
56 <exclude>**/package-info.java</exclude>
57 </excludes>
Michael Landof5f13c42017-02-19 12:35:04 +020058 </configuration>
59 </plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +053060 <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>
AviZi280f8012017-06-09 02:39:56 +0300111 <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>
AviZi280f8012017-06-09 02:39:56 +0300146 </execution>
147 </executions>
148 </plugin>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300149 <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>
shrikantawachared640f62017-10-05 19:18:38 +0530166 <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. -->
shrikantawachared640f62017-10-05 19:18:38 +0530174 <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>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300179 </executions>
180 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300181
Michael Landof5f13c42017-02-19 12:35:04 +0200182 </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>
AviZi280f8012017-06-09 02:39:56 +0300192 <version>${commons.beanutils.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200193 </dependency>
194 <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
195 <dependency>
196 <groupId>com.beust</groupId>
197 <artifactId>jcommander</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300198 <version>${jcommander.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200199 </dependency>
200 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
201 <dependency>
202 <groupId>org.apache.httpcomponents</groupId>
203 <artifactId>httpasyncclient</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300204 <version>${httpasyncclient.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200205 </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>
AviZi280f8012017-06-09 02:39:56 +0300210 <version>${jaxb.impl.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200211 </dependency>
212 <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
213 <dependency>
214 <groupId>org.beanshell</groupId>
215 <artifactId>bsh</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300216 <version>${bsh.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200217 </dependency>
218 <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
219 <dependency>
220 <groupId>commons-digester</groupId>
221 <artifactId>commons-digester</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300222 <version>${commons.digester.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200223 </dependency>
224 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
225 <dependency>
226 <groupId>com.fasterxml</groupId>
227 <artifactId>classmate</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300228 <version>${classmate.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200229 </dependency>
talig8e9c0652017-12-20 14:30:43 +0200230 <!--1702 -->
AviZi280f8012017-06-09 02:39:56 +0300231 <!-- 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>
talig8e9c0652017-12-20 14:30:43 +0200242 <dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200243 <groupId>org.codehaus.janino</groupId>
244 <artifactId>janino</artifactId>
245 <version>${janino.version}</version>
246 <scope>provided</scope>
247 </dependency>
248 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +0200249 </dependencyManagement>
250
Gautam Shah3de22e12018-04-21 16:18:37 +0530251 <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>
Avi Zivc175a0d2018-03-15 13:21:44 +0200258 <profiles>
259 <!--<profile>-->
Gautam Shah3de22e12018-04-21 16:18:37 +0530260 <!--<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>-->
Avi Zivc175a0d2018-03-15 13:21:44 +0200265 <!--</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>
Michael Landof5f13c42017-02-19 12:35:04 +0200278</project>
279