blob: e09fe8cbed9a8e7a725137b485909b12bf3056e7 [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>
35 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +020036
37 <build>
38 <plugins>
39
40 <!-- ================================================== -->
41 <!-- Set the JDK compiler version. -->
42 <!-- ================================================== -->
43 <plugin>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-compiler-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030046 <version>${mvn.compiler.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020047 <inherited>true</inherited>
48 <configuration>
49 <source>${java.source}</source>
50 <target>${java.target}</target>
51 </configuration>
52 </plugin>
53 <!-- blackduck maven plugin -->
54 <!--
55 <plugin>
56 <groupId>com.blackducksoftware.integration</groupId>
57 <artifactId>hub-maven-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030058 <version>${mvn.hub.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020059 <inherited>false</inherited>
60 <configuration>
61 <target>${project.basedir}</target>
62 </configuration>
63 <executions>
64 <execution>
65 <id>create-bdio-file</id>
66 <phase>package</phase>
67 <goals>
68 <goal>createHubOutput</goal>
69 </goals>
70 </execution>
71 </executions>
72 </plugin>-->
AviZi280f8012017-06-09 02:39:56 +030073
74 <plugin>
75 <groupId>org.codehaus.mojo</groupId>
76 <artifactId>license-maven-plugin</artifactId>
77 <version>${mvn.license.version}</version>
78 <configuration>
79 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
80 <processStartTag>============LICENSE_START=======================================================</processStartTag>
81 <processEndTag>============LICENSE_END=========================================================</processEndTag>
82 <sectionDelimiter>================================================================================</sectionDelimiter>
83 <licenseName>apache_v2</licenseName>
84 <inceptionYear>2017</inceptionYear>
85 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
86 <projectName>SDC</projectName>
87 <canUpdateCopyright>true</canUpdateCopyright>
88 <canUpdateDescription>true</canUpdateDescription>
89 <canUpdateLicense>true</canUpdateLicense>
90 <emptyLineAfterHeader>true</emptyLineAfterHeader>
91 <verbose>false</verbose>
92 <includes>
93 <include>**/*.java</include>
94 <include>**/*.js</include>
95 <include>**/*.ts</include>
96 </includes>
97 <roots>
98 <root>src</root>
99 <root>app</root>
100 <root>server-mock</root>
101 <root>typings</root>
102 </roots>
103 </configuration>
104 <executions>
105 <execution>
106 <id>first</id>
107 <goals>
108 <goal>update-file-header</goal>
109 </goals>
110 <!--phase>process-sources</phase-->
111 </execution>
112 </executions>
113 </plugin>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300114 <plugin>
115 <groupId>org.jacoco</groupId>
116 <artifactId>jacoco-maven-plugin</artifactId>
117 <version>${jacoco.version}</version>
118 <executions>
119 <execution>
120 <goals>
121 <goal>prepare-agent</goal>
122 </goals>
123 </execution>
124 <execution>
125 <id>report</id>
126 <phase>prepare-package</phase>
127 <goals>
128 <goal>report</goal>
129 </goals>
130 </execution>
shrikantawachared640f62017-10-05 19:18:38 +0530131 <execution>
132 <id>post-unit-test</id>
133 <phase>test</phase>
134 <goals>
135 <goal>report</goal>
136 </goals>
137 <configuration>
138 <!-- Sets the path to the file which contains the execution data. -->
139
140 <dataFile>target/jacoco.exec</dataFile>
141 <!-- Sets the output directory for the code coverage report. -->
142 <outputDirectory>target/jacoco-ut</outputDirectory>
143 </configuration>
144 </execution>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300145 </executions>
146 </plugin>
shrikantawachared640f62017-10-05 19:18:38 +0530147 <!-- Jacoco consolidation Report -->
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-antrun-plugin</artifactId>
151 <version>1.6</version>
152 <executions>
153 <execution>
154 <phase>post-integration-test</phase>
155 <goals>
156 <goal>run</goal>
157 </goals>
158 <configuration>
159 <target>
160 <!-- Execute an ant task within maven -->
161 <echo message="Generating JaCoCo Reports" />
162 <taskdef name="report" classname="org.jacoco.ant.ReportTask">
163 <classpath path="${basedir}/target/jacoco-jars/org.jacoco.ant.jar" />
164 </taskdef>
165 <mkdir dir="${basedir}/target/coverage-report" />
166 <report>
167 <executiondata>
168 <fileset dir="${basedir}">
169 <include name="**/*jacoco.exec" />
170 </fileset>
171 </executiondata>
172 <structure name="jacoco-multi Coverage Project">
173 <group name="jacoco-multi">
174 <classfiles>
175 <fileset dir="${basedir}">
176 <include name="**/target/classes/**" />
177 </fileset>
178 </classfiles>
179 <sourcefiles encoding="UTF-8">
180 <fileset dir="${basedir}">
181 <include name="**/target/generated-sources/**" />
182 </fileset>
183 </sourcefiles>
184 </group>
185 </structure>
186 <html destdir="${basedir}/target/coverage-report/html" />
187 <xml destfile="${basedir}/target/coverage-report/coverage-report.xml" />
188 <csv destfile="${basedir}/target/coverage-report/coverage-report.csv" />
189 </report>
190 </target>
191 </configuration>
192 </execution>
193 </executions>
194 <dependencies>
195 <dependency>
196 <groupId>org.jacoco</groupId>
197 <artifactId>org.jacoco.ant</artifactId>
198 <version>${jacoco.version}</version>
199 </dependency>
200 </dependencies>
201 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300202
Michael Landof5f13c42017-02-19 12:35:04 +0200203 </plugins>
204 </build>
205
206 <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
207 <dependencyManagement>
208 <dependencies>
209 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
210 <dependency>
211 <groupId>commons-beanutils</groupId>
212 <artifactId>commons-beanutils</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300213 <version>${commons.beanutils.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200214 </dependency>
215 <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
216 <dependency>
217 <groupId>com.beust</groupId>
218 <artifactId>jcommander</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300219 <version>${jcommander.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200220 </dependency>
221 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
222 <dependency>
223 <groupId>org.apache.httpcomponents</groupId>
224 <artifactId>httpasyncclient</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300225 <version>${httpasyncclient.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200226 </dependency>
227 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
228 <dependency>
229 <groupId>com.sun.xml.bind</groupId>
230 <artifactId>jaxb-impl</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300231 <version>${jaxb.impl.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200232 </dependency>
233 <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
234 <dependency>
235 <groupId>org.beanshell</groupId>
236 <artifactId>bsh</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300237 <version>${bsh.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200238 </dependency>
239 <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
240 <dependency>
241 <groupId>commons-digester</groupId>
242 <artifactId>commons-digester</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300243 <version>${commons.digester.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200244 </dependency>
245 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
246 <dependency>
247 <groupId>com.fasterxml</groupId>
248 <artifactId>classmate</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300249 <version>${classmate.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200250 </dependency>
AviZi280f8012017-06-09 02:39:56 +0300251 <!--1702 -->
252 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
253 <dependency>
254 <groupId>org.slf4j</groupId>
255 <artifactId>slf4j-api</artifactId>
256 <version>${slf4j.version}</version>
257 </dependency>
258 <dependency>
259 <groupId>org.codehaus.groovy</groupId>
260 <artifactId>groovy-all</artifactId>
261 <version>${groovy.version}</version>
262 </dependency>
shrek2000c8a540b2017-09-11 15:45:37 +0300263 <dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200264 <groupId>org.codehaus.janino</groupId>
265 <artifactId>janino</artifactId>
266 <version>${janino.version}</version>
267 <scope>provided</scope>
268 </dependency>
269 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +0200270 </dependencyManagement>
271
272</project>
273