blob: 5437a5d1c263515959bf74de19bb1b0977d6a3a6 [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 Lando0ad3c802017-09-19 16:32:59 +030015 <version>1.2.0-SNAPSHOT</version>
AviZi280f8012017-06-09 02:39:56 +030016 <relativePath>../onboarding</relativePath>
17 </parent>
Michael Landof5f13c42017-02-19 12:35:04 +020018
19 <modules>
20 <module>/api</module>
21 <module>/lib</module>
Michael Landof5f13c42017-02-19 12:35:04 +020022 <module>/tools/swagger-ui</module>
talig8e9c0652017-12-20 14:30:43 +020023 <!--<module>/tools/migration/1702_to_1707_zusammen</module>-->
Michael Lando4d97d5f2017-06-17 22:40:44 +030024 <module>/tools/zusammen-tools</module>
Michael Landof5f13c42017-02-19 12:35:04 +020025 <module>/backend</module>
26 </modules>
27
AviZi280f8012017-06-09 02:39:56 +030028 <dependencies>
29 <dependency>
30 <groupId>com.fasterxml.jackson.core</groupId>
31 <artifactId>jackson-annotations</artifactId>
32 <version>${jackson.version}</version>
33 </dependency>
talioce889ad2017-11-12 16:12:35 +020034
35 <!-- Feature Toggle support libraries-->
36 <dependency>
37 <groupId>org.togglz</groupId>
38 <artifactId>togglz-core</artifactId>
39 <version>${togglz.version}</version>
40 </dependency>
41
42 <dependency>
43 <groupId>org.togglz</groupId>
talioce889ad2017-11-12 16:12:35 +020044 <artifactId>togglz-testing</artifactId>
45 <version>${togglz.version}</version>
46 <scope>test</scope>
47 </dependency>
Gautam Shah09a41f52018-04-11 19:55:29 +053048 <dependency>
49 <groupId>org.openecomp.sdc</groupId>
50 <artifactId>build-helper</artifactId>
51 <version>${project.version}</version>
52 <scope>runtime</scope>
53 </dependency>
54
AviZi280f8012017-06-09 02:39:56 +030055 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +020056
57 <build>
58 <plugins>
59
60 <!-- ================================================== -->
61 <!-- Set the JDK compiler version. -->
62 <!-- ================================================== -->
63 <plugin>
64 <groupId>org.apache.maven.plugins</groupId>
65 <artifactId>maven-compiler-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030066 <version>${mvn.compiler.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020067 <inherited>true</inherited>
68 <configuration>
69 <source>${java.source}</source>
70 <target>${java.target}</target>
71 </configuration>
72 </plugin>
73 <!-- blackduck maven plugin -->
74 <!--
75 <plugin>
76 <groupId>com.blackducksoftware.integration</groupId>
77 <artifactId>hub-maven-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030078 <version>${mvn.hub.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020079 <inherited>false</inherited>
80 <configuration>
81 <target>${project.basedir}</target>
82 </configuration>
83 <executions>
84 <execution>
85 <id>create-bdio-file</id>
86 <phase>package</phase>
87 <goals>
88 <goal>createHubOutput</goal>
89 </goals>
90 </execution>
91 </executions>
92 </plugin>-->
AviZi280f8012017-06-09 02:39:56 +030093
94 <plugin>
95 <groupId>org.codehaus.mojo</groupId>
96 <artifactId>license-maven-plugin</artifactId>
97 <version>${mvn.license.version}</version>
98 <configuration>
99 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
100 <processStartTag>============LICENSE_START=======================================================</processStartTag>
101 <processEndTag>============LICENSE_END=========================================================</processEndTag>
102 <sectionDelimiter>================================================================================</sectionDelimiter>
103 <licenseName>apache_v2</licenseName>
104 <inceptionYear>2017</inceptionYear>
105 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
106 <projectName>SDC</projectName>
107 <canUpdateCopyright>true</canUpdateCopyright>
108 <canUpdateDescription>true</canUpdateDescription>
109 <canUpdateLicense>true</canUpdateLicense>
110 <emptyLineAfterHeader>true</emptyLineAfterHeader>
111 <verbose>false</verbose>
112 <includes>
113 <include>**/*.java</include>
114 <include>**/*.js</include>
115 <include>**/*.ts</include>
116 </includes>
117 <roots>
118 <root>src</root>
119 <root>app</root>
120 <root>server-mock</root>
121 <root>typings</root>
122 </roots>
123 </configuration>
124 <executions>
125 <execution>
126 <id>first</id>
127 <goals>
128 <goal>update-file-header</goal>
129 </goals>
130 <!--phase>process-sources</phase-->
131 </execution>
132 </executions>
133 </plugin>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300134 <plugin>
135 <groupId>org.jacoco</groupId>
136 <artifactId>jacoco-maven-plugin</artifactId>
137 <version>${jacoco.version}</version>
138 <executions>
139 <execution>
140 <goals>
141 <goal>prepare-agent</goal>
142 </goals>
143 </execution>
144 <execution>
145 <id>report</id>
146 <phase>prepare-package</phase>
147 <goals>
148 <goal>report</goal>
149 </goals>
150 </execution>
shrikantawachared640f62017-10-05 19:18:38 +0530151 <execution>
152 <id>post-unit-test</id>
153 <phase>test</phase>
154 <goals>
155 <goal>report</goal>
156 </goals>
157 <configuration>
158 <!-- Sets the path to the file which contains the execution data. -->
159
160 <dataFile>target/jacoco.exec</dataFile>
161 <!-- Sets the output directory for the code coverage report. -->
162 <outputDirectory>target/jacoco-ut</outputDirectory>
163 </configuration>
164 </execution>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300165 </executions>
166 </plugin>
shrikantawachared640f62017-10-05 19:18:38 +0530167 <!-- Jacoco consolidation Report -->
talig8e9c0652017-12-20 14:30:43 +0200168 <!--<plugin>
shrikantawachared640f62017-10-05 19:18:38 +0530169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-antrun-plugin</artifactId>
vempo31a7a922017-10-22 14:10:41 +0300171 <version>${mvn.antrun.version}</version>
shrikantawachared640f62017-10-05 19:18:38 +0530172 <executions>
173 <execution>
174 <phase>post-integration-test</phase>
175 <goals>
176 <goal>run</goal>
177 </goals>
178 <configuration>
179 <target>
talig8e9c0652017-12-20 14:30:43 +0200180 &lt;!&ndash; Execute an ant task within maven &ndash;&gt;
shrikantawachared640f62017-10-05 19:18:38 +0530181 <echo message="Generating JaCoCo Reports" />
182 <taskdef name="report" classname="org.jacoco.ant.ReportTask">
183 <classpath path="${basedir}/target/jacoco-jars/org.jacoco.ant.jar" />
184 </taskdef>
185 <mkdir dir="${basedir}/target/coverage-report" />
186 <report>
187 <executiondata>
188 <fileset dir="${basedir}">
189 <include name="**/*jacoco.exec" />
190 </fileset>
191 </executiondata>
192 <structure name="jacoco-multi Coverage Project">
193 <group name="jacoco-multi">
194 <classfiles>
195 <fileset dir="${basedir}">
196 <include name="**/target/classes/**" />
197 </fileset>
198 </classfiles>
199 <sourcefiles encoding="UTF-8">
200 <fileset dir="${basedir}">
201 <include name="**/target/generated-sources/**" />
202 </fileset>
203 </sourcefiles>
204 </group>
205 </structure>
206 <html destdir="${basedir}/target/coverage-report/html" />
207 <xml destfile="${basedir}/target/coverage-report/coverage-report.xml" />
208 <csv destfile="${basedir}/target/coverage-report/coverage-report.csv" />
209 </report>
210 </target>
211 </configuration>
212 </execution>
213 </executions>
214 <dependencies>
215 <dependency>
216 <groupId>org.jacoco</groupId>
217 <artifactId>org.jacoco.ant</artifactId>
218 <version>${jacoco.version}</version>
219 </dependency>
220 </dependencies>
talig8e9c0652017-12-20 14:30:43 +0200221 </plugin>-->
AviZi280f8012017-06-09 02:39:56 +0300222
Michael Landof5f13c42017-02-19 12:35:04 +0200223 </plugins>
224 </build>
225
226 <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
227 <dependencyManagement>
228 <dependencies>
229 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
230 <dependency>
231 <groupId>commons-beanutils</groupId>
232 <artifactId>commons-beanutils</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300233 <version>${commons.beanutils.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200234 </dependency>
235 <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
236 <dependency>
237 <groupId>com.beust</groupId>
238 <artifactId>jcommander</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300239 <version>${jcommander.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200240 </dependency>
241 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
242 <dependency>
243 <groupId>org.apache.httpcomponents</groupId>
244 <artifactId>httpasyncclient</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300245 <version>${httpasyncclient.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200246 </dependency>
247 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
248 <dependency>
249 <groupId>com.sun.xml.bind</groupId>
250 <artifactId>jaxb-impl</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300251 <version>${jaxb.impl.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200252 </dependency>
253 <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
254 <dependency>
255 <groupId>org.beanshell</groupId>
256 <artifactId>bsh</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300257 <version>${bsh.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200258 </dependency>
259 <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
260 <dependency>
261 <groupId>commons-digester</groupId>
262 <artifactId>commons-digester</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300263 <version>${commons.digester.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200264 </dependency>
265 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
266 <dependency>
267 <groupId>com.fasterxml</groupId>
268 <artifactId>classmate</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300269 <version>${classmate.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200270 </dependency>
talig8e9c0652017-12-20 14:30:43 +0200271 <!--1702 -->
AviZi280f8012017-06-09 02:39:56 +0300272 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
273 <dependency>
274 <groupId>org.slf4j</groupId>
275 <artifactId>slf4j-api</artifactId>
276 <version>${slf4j.version}</version>
277 </dependency>
278 <dependency>
279 <groupId>org.codehaus.groovy</groupId>
280 <artifactId>groovy-all</artifactId>
281 <version>${groovy.version}</version>
282 </dependency>
talig8e9c0652017-12-20 14:30:43 +0200283 <dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200284 <groupId>org.codehaus.janino</groupId>
285 <artifactId>janino</artifactId>
286 <version>${janino.version}</version>
287 <scope>provided</scope>
288 </dependency>
289 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +0200290 </dependencyManagement>
291
292</project>
293