blob: 3934f411fddbc758a31ebb4dcb1423ee367b0cbc [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>
22 <module>/configuration</module>
23 <module>/tools/swagger-ui</module>
AviZi280f8012017-06-09 02:39:56 +030024 <module>/tools/migration/1702_to_1707_zusammen</module>
Michael Lando4d97d5f2017-06-17 22:40:44 +030025 <module>/tools/zusammen-tools</module>
Michael Landof5f13c42017-02-19 12:35:04 +020026 <module>/backend</module>
27 </modules>
28
AviZi280f8012017-06-09 02:39:56 +030029 <dependencies>
30 <dependency>
31 <groupId>com.fasterxml.jackson.core</groupId>
32 <artifactId>jackson-annotations</artifactId>
33 <version>${jackson.version}</version>
34 </dependency>
talioce889ad2017-11-12 16:12:35 +020035
36 <!-- Feature Toggle support libraries-->
37 <dependency>
38 <groupId>org.togglz</groupId>
39 <artifactId>togglz-core</artifactId>
40 <version>${togglz.version}</version>
41 </dependency>
42
43 <dependency>
44 <groupId>org.togglz</groupId>
45 <artifactId>togglz-servlet</artifactId>
46 <version>${togglz.version}</version>
47 </dependency>
48
49 <dependency>
50 <groupId>org.togglz</groupId>
51 <artifactId>togglz-console</artifactId>
52 <version>${togglz.version}</version>
53 </dependency>
54
55 <dependency>
56 <groupId>org.togglz</groupId>
57 <artifactId>togglz-testing</artifactId>
58 <version>${togglz.version}</version>
59 <scope>test</scope>
60 </dependency>
AviZi280f8012017-06-09 02:39:56 +030061 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +020062
63 <build>
64 <plugins>
65
66 <!-- ================================================== -->
67 <!-- Set the JDK compiler version. -->
68 <!-- ================================================== -->
69 <plugin>
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-compiler-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030072 <version>${mvn.compiler.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020073 <inherited>true</inherited>
74 <configuration>
75 <source>${java.source}</source>
76 <target>${java.target}</target>
77 </configuration>
78 </plugin>
79 <!-- blackduck maven plugin -->
80 <!--
81 <plugin>
82 <groupId>com.blackducksoftware.integration</groupId>
83 <artifactId>hub-maven-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030084 <version>${mvn.hub.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020085 <inherited>false</inherited>
86 <configuration>
87 <target>${project.basedir}</target>
88 </configuration>
89 <executions>
90 <execution>
91 <id>create-bdio-file</id>
92 <phase>package</phase>
93 <goals>
94 <goal>createHubOutput</goal>
95 </goals>
96 </execution>
97 </executions>
98 </plugin>-->
AviZi280f8012017-06-09 02:39:56 +030099
100 <plugin>
101 <groupId>org.codehaus.mojo</groupId>
102 <artifactId>license-maven-plugin</artifactId>
103 <version>${mvn.license.version}</version>
104 <configuration>
105 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
106 <processStartTag>============LICENSE_START=======================================================</processStartTag>
107 <processEndTag>============LICENSE_END=========================================================</processEndTag>
108 <sectionDelimiter>================================================================================</sectionDelimiter>
109 <licenseName>apache_v2</licenseName>
110 <inceptionYear>2017</inceptionYear>
111 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
112 <projectName>SDC</projectName>
113 <canUpdateCopyright>true</canUpdateCopyright>
114 <canUpdateDescription>true</canUpdateDescription>
115 <canUpdateLicense>true</canUpdateLicense>
116 <emptyLineAfterHeader>true</emptyLineAfterHeader>
117 <verbose>false</verbose>
118 <includes>
119 <include>**/*.java</include>
120 <include>**/*.js</include>
121 <include>**/*.ts</include>
122 </includes>
123 <roots>
124 <root>src</root>
125 <root>app</root>
126 <root>server-mock</root>
127 <root>typings</root>
128 </roots>
129 </configuration>
130 <executions>
131 <execution>
132 <id>first</id>
133 <goals>
134 <goal>update-file-header</goal>
135 </goals>
136 <!--phase>process-sources</phase-->
137 </execution>
138 </executions>
139 </plugin>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300140 <plugin>
141 <groupId>org.jacoco</groupId>
142 <artifactId>jacoco-maven-plugin</artifactId>
143 <version>${jacoco.version}</version>
144 <executions>
145 <execution>
146 <goals>
147 <goal>prepare-agent</goal>
148 </goals>
149 </execution>
150 <execution>
151 <id>report</id>
152 <phase>prepare-package</phase>
153 <goals>
154 <goal>report</goal>
155 </goals>
156 </execution>
shrikantawachared640f62017-10-05 19:18:38 +0530157 <execution>
158 <id>post-unit-test</id>
159 <phase>test</phase>
160 <goals>
161 <goal>report</goal>
162 </goals>
163 <configuration>
164 <!-- Sets the path to the file which contains the execution data. -->
165
166 <dataFile>target/jacoco.exec</dataFile>
167 <!-- Sets the output directory for the code coverage report. -->
168 <outputDirectory>target/jacoco-ut</outputDirectory>
169 </configuration>
170 </execution>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300171 </executions>
172 </plugin>
shrikantawachared640f62017-10-05 19:18:38 +0530173 <!-- Jacoco consolidation Report -->
174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-antrun-plugin</artifactId>
vempo31a7a922017-10-22 14:10:41 +0300177 <version>${mvn.antrun.version}</version>
shrikantawachared640f62017-10-05 19:18:38 +0530178 <executions>
179 <execution>
180 <phase>post-integration-test</phase>
181 <goals>
182 <goal>run</goal>
183 </goals>
184 <configuration>
185 <target>
186 <!-- Execute an ant task within maven -->
187 <echo message="Generating JaCoCo Reports" />
188 <taskdef name="report" classname="org.jacoco.ant.ReportTask">
189 <classpath path="${basedir}/target/jacoco-jars/org.jacoco.ant.jar" />
190 </taskdef>
191 <mkdir dir="${basedir}/target/coverage-report" />
192 <report>
193 <executiondata>
194 <fileset dir="${basedir}">
195 <include name="**/*jacoco.exec" />
196 </fileset>
197 </executiondata>
198 <structure name="jacoco-multi Coverage Project">
199 <group name="jacoco-multi">
200 <classfiles>
201 <fileset dir="${basedir}">
202 <include name="**/target/classes/**" />
203 </fileset>
204 </classfiles>
205 <sourcefiles encoding="UTF-8">
206 <fileset dir="${basedir}">
207 <include name="**/target/generated-sources/**" />
208 </fileset>
209 </sourcefiles>
210 </group>
211 </structure>
212 <html destdir="${basedir}/target/coverage-report/html" />
213 <xml destfile="${basedir}/target/coverage-report/coverage-report.xml" />
214 <csv destfile="${basedir}/target/coverage-report/coverage-report.csv" />
215 </report>
216 </target>
217 </configuration>
218 </execution>
219 </executions>
220 <dependencies>
221 <dependency>
222 <groupId>org.jacoco</groupId>
223 <artifactId>org.jacoco.ant</artifactId>
224 <version>${jacoco.version}</version>
225 </dependency>
226 </dependencies>
227 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300228
Michael Landof5f13c42017-02-19 12:35:04 +0200229 </plugins>
230 </build>
231
232 <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
233 <dependencyManagement>
234 <dependencies>
235 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
236 <dependency>
237 <groupId>commons-beanutils</groupId>
238 <artifactId>commons-beanutils</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300239 <version>${commons.beanutils.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200240 </dependency>
241 <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
242 <dependency>
243 <groupId>com.beust</groupId>
244 <artifactId>jcommander</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300245 <version>${jcommander.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200246 </dependency>
247 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
248 <dependency>
249 <groupId>org.apache.httpcomponents</groupId>
250 <artifactId>httpasyncclient</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300251 <version>${httpasyncclient.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200252 </dependency>
253 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
254 <dependency>
255 <groupId>com.sun.xml.bind</groupId>
256 <artifactId>jaxb-impl</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300257 <version>${jaxb.impl.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200258 </dependency>
259 <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
260 <dependency>
261 <groupId>org.beanshell</groupId>
262 <artifactId>bsh</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300263 <version>${bsh.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200264 </dependency>
265 <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
266 <dependency>
267 <groupId>commons-digester</groupId>
268 <artifactId>commons-digester</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300269 <version>${commons.digester.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200270 </dependency>
271 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
272 <dependency>
273 <groupId>com.fasterxml</groupId>
274 <artifactId>classmate</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300275 <version>${classmate.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200276 </dependency>
AviZi280f8012017-06-09 02:39:56 +0300277 <!--1702 -->
278 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
279 <dependency>
280 <groupId>org.slf4j</groupId>
281 <artifactId>slf4j-api</artifactId>
282 <version>${slf4j.version}</version>
283 </dependency>
284 <dependency>
285 <groupId>org.codehaus.groovy</groupId>
286 <artifactId>groovy-all</artifactId>
287 <version>${groovy.version}</version>
288 </dependency>
shrek2000c8a540b2017-09-11 15:45:37 +0300289 <dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200290 <groupId>org.codehaus.janino</groupId>
291 <artifactId>janino</artifactId>
292 <version>${janino.version}</version>
293 <scope>provided</scope>
294 </dependency>
295 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +0200296 </dependencyManagement>
297
298</project>
299