blob: 598f9736f0767693a93f2437962c7545d1204238 [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>
AviZi280f8012017-06-09 02:39:56 +030048 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +020049
50 <build>
51 <plugins>
52
53 <!-- ================================================== -->
54 <!-- Set the JDK compiler version. -->
55 <!-- ================================================== -->
56 <plugin>
57 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-compiler-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030059 <version>${mvn.compiler.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020060 <inherited>true</inherited>
61 <configuration>
62 <source>${java.source}</source>
63 <target>${java.target}</target>
64 </configuration>
65 </plugin>
66 <!-- blackduck maven plugin -->
67 <!--
68 <plugin>
69 <groupId>com.blackducksoftware.integration</groupId>
70 <artifactId>hub-maven-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030071 <version>${mvn.hub.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020072 <inherited>false</inherited>
73 <configuration>
74 <target>${project.basedir}</target>
75 </configuration>
76 <executions>
77 <execution>
78 <id>create-bdio-file</id>
79 <phase>package</phase>
80 <goals>
81 <goal>createHubOutput</goal>
82 </goals>
83 </execution>
84 </executions>
85 </plugin>-->
AviZi280f8012017-06-09 02:39:56 +030086
87 <plugin>
88 <groupId>org.codehaus.mojo</groupId>
89 <artifactId>license-maven-plugin</artifactId>
90 <version>${mvn.license.version}</version>
91 <configuration>
92 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
93 <processStartTag>============LICENSE_START=======================================================</processStartTag>
94 <processEndTag>============LICENSE_END=========================================================</processEndTag>
95 <sectionDelimiter>================================================================================</sectionDelimiter>
96 <licenseName>apache_v2</licenseName>
97 <inceptionYear>2017</inceptionYear>
98 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
99 <projectName>SDC</projectName>
100 <canUpdateCopyright>true</canUpdateCopyright>
101 <canUpdateDescription>true</canUpdateDescription>
102 <canUpdateLicense>true</canUpdateLicense>
103 <emptyLineAfterHeader>true</emptyLineAfterHeader>
104 <verbose>false</verbose>
105 <includes>
106 <include>**/*.java</include>
107 <include>**/*.js</include>
108 <include>**/*.ts</include>
109 </includes>
110 <roots>
111 <root>src</root>
112 <root>app</root>
113 <root>server-mock</root>
114 <root>typings</root>
115 </roots>
116 </configuration>
117 <executions>
118 <execution>
119 <id>first</id>
120 <goals>
121 <goal>update-file-header</goal>
122 </goals>
123 <!--phase>process-sources</phase-->
124 </execution>
125 </executions>
126 </plugin>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300127 <plugin>
128 <groupId>org.jacoco</groupId>
129 <artifactId>jacoco-maven-plugin</artifactId>
130 <version>${jacoco.version}</version>
131 <executions>
132 <execution>
133 <goals>
134 <goal>prepare-agent</goal>
135 </goals>
136 </execution>
137 <execution>
138 <id>report</id>
139 <phase>prepare-package</phase>
140 <goals>
141 <goal>report</goal>
142 </goals>
143 </execution>
shrikantawachared640f62017-10-05 19:18:38 +0530144 <execution>
145 <id>post-unit-test</id>
146 <phase>test</phase>
147 <goals>
148 <goal>report</goal>
149 </goals>
150 <configuration>
151 <!-- Sets the path to the file which contains the execution data. -->
152
153 <dataFile>target/jacoco.exec</dataFile>
154 <!-- Sets the output directory for the code coverage report. -->
155 <outputDirectory>target/jacoco-ut</outputDirectory>
156 </configuration>
157 </execution>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300158 </executions>
159 </plugin>
shrikantawachared640f62017-10-05 19:18:38 +0530160 <!-- Jacoco consolidation Report -->
talig8e9c0652017-12-20 14:30:43 +0200161 <!--<plugin>
shrikantawachared640f62017-10-05 19:18:38 +0530162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-antrun-plugin</artifactId>
vempo31a7a922017-10-22 14:10:41 +0300164 <version>${mvn.antrun.version}</version>
shrikantawachared640f62017-10-05 19:18:38 +0530165 <executions>
166 <execution>
167 <phase>post-integration-test</phase>
168 <goals>
169 <goal>run</goal>
170 </goals>
171 <configuration>
172 <target>
talig8e9c0652017-12-20 14:30:43 +0200173 &lt;!&ndash; Execute an ant task within maven &ndash;&gt;
shrikantawachared640f62017-10-05 19:18:38 +0530174 <echo message="Generating JaCoCo Reports" />
175 <taskdef name="report" classname="org.jacoco.ant.ReportTask">
176 <classpath path="${basedir}/target/jacoco-jars/org.jacoco.ant.jar" />
177 </taskdef>
178 <mkdir dir="${basedir}/target/coverage-report" />
179 <report>
180 <executiondata>
181 <fileset dir="${basedir}">
182 <include name="**/*jacoco.exec" />
183 </fileset>
184 </executiondata>
185 <structure name="jacoco-multi Coverage Project">
186 <group name="jacoco-multi">
187 <classfiles>
188 <fileset dir="${basedir}">
189 <include name="**/target/classes/**" />
190 </fileset>
191 </classfiles>
192 <sourcefiles encoding="UTF-8">
193 <fileset dir="${basedir}">
194 <include name="**/target/generated-sources/**" />
195 </fileset>
196 </sourcefiles>
197 </group>
198 </structure>
199 <html destdir="${basedir}/target/coverage-report/html" />
200 <xml destfile="${basedir}/target/coverage-report/coverage-report.xml" />
201 <csv destfile="${basedir}/target/coverage-report/coverage-report.csv" />
202 </report>
203 </target>
204 </configuration>
205 </execution>
206 </executions>
207 <dependencies>
208 <dependency>
209 <groupId>org.jacoco</groupId>
210 <artifactId>org.jacoco.ant</artifactId>
211 <version>${jacoco.version}</version>
212 </dependency>
213 </dependencies>
talig8e9c0652017-12-20 14:30:43 +0200214 </plugin>-->
AviZi280f8012017-06-09 02:39:56 +0300215
Michael Landof5f13c42017-02-19 12:35:04 +0200216 </plugins>
217 </build>
218
219 <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
220 <dependencyManagement>
221 <dependencies>
222 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
223 <dependency>
224 <groupId>commons-beanutils</groupId>
225 <artifactId>commons-beanutils</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300226 <version>${commons.beanutils.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200227 </dependency>
228 <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
229 <dependency>
230 <groupId>com.beust</groupId>
231 <artifactId>jcommander</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300232 <version>${jcommander.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200233 </dependency>
234 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
235 <dependency>
236 <groupId>org.apache.httpcomponents</groupId>
237 <artifactId>httpasyncclient</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300238 <version>${httpasyncclient.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200239 </dependency>
240 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
241 <dependency>
242 <groupId>com.sun.xml.bind</groupId>
243 <artifactId>jaxb-impl</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300244 <version>${jaxb.impl.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200245 </dependency>
246 <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
247 <dependency>
248 <groupId>org.beanshell</groupId>
249 <artifactId>bsh</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300250 <version>${bsh.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200251 </dependency>
252 <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
253 <dependency>
254 <groupId>commons-digester</groupId>
255 <artifactId>commons-digester</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300256 <version>${commons.digester.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200257 </dependency>
258 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
259 <dependency>
260 <groupId>com.fasterxml</groupId>
261 <artifactId>classmate</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300262 <version>${classmate.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200263 </dependency>
talig8e9c0652017-12-20 14:30:43 +0200264 <!--1702 -->
AviZi280f8012017-06-09 02:39:56 +0300265 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
266 <dependency>
267 <groupId>org.slf4j</groupId>
268 <artifactId>slf4j-api</artifactId>
269 <version>${slf4j.version}</version>
270 </dependency>
271 <dependency>
272 <groupId>org.codehaus.groovy</groupId>
273 <artifactId>groovy-all</artifactId>
274 <version>${groovy.version}</version>
275 </dependency>
talig8e9c0652017-12-20 14:30:43 +0200276 <dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200277 <groupId>org.codehaus.janino</groupId>
278 <artifactId>janino</artifactId>
279 <version>${janino.version}</version>
280 <scope>provided</scope>
281 </dependency>
282 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +0200283 </dependencyManagement>
284
285</project>
286