blob: c093d6c6d057bf67d5dde4d1daa59af3528cdd99 [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>
15 <version>1.1.0-SNAPSHOT</version>
16 <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>
shrikantawachar98d09482017-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>
shrikantawachar98d09482017-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
164 path="${basedir}/target/jacoco-jars/org.jacoco.ant.jar"/>
165 </taskdef>
166 <mkdir dir="${basedir}/target/coverage-report"/>
167 <report>
168 <executiondata>
169 <fileset dir="${basedir}">
170 <include name="**/*jacoco.exec"/>
171 </fileset>
172 </executiondata>
173 <structure name="jacoco-multi Coverage Project">
174 <group name="jacoco-multi">
175 <classfiles>
176 <fileset dir="${basedir}">
177 <include name="**/target/classes/**"/>
178 </fileset>
179 </classfiles>
180 <sourcefiles encoding="UTF-8">
181 <fileset dir="${basedir}">
182 <include name="**/target/generated-sources/**"/>
183 </fileset>
184 </sourcefiles>
185 </group>
186 </structure>
187 <html destdir="${basedir}/target/coverage-report/html"/>
188 <xml destfile="${basedir}/target/coverage-report/coverage-report.xml"/>
189 <csv destfile="${basedir}/target/coverage-report/coverage-report.csv"/>
190 </report>
191 </target>
192 </configuration>
193 </execution>
194 </executions>
195 <dependencies>
196 <dependency>
197 <groupId>org.jacoco</groupId>
198 <artifactId>org.jacoco.ant</artifactId>
199 <version>${jacoco.version}</version>
200 </dependency>
201 </dependencies>
202 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300203
Michael Landof5f13c42017-02-19 12:35:04 +0200204 </plugins>
205 </build>
206
207 <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
208 <dependencyManagement>
209 <dependencies>
210 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
211 <dependency>
212 <groupId>commons-beanutils</groupId>
213 <artifactId>commons-beanutils</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300214 <version>${commons.beanutils.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200215 </dependency>
216 <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
217 <dependency>
218 <groupId>com.beust</groupId>
219 <artifactId>jcommander</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300220 <version>${jcommander.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200221 </dependency>
222 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
223 <dependency>
224 <groupId>org.apache.httpcomponents</groupId>
225 <artifactId>httpasyncclient</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300226 <version>${httpasyncclient.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200227 </dependency>
228 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
229 <dependency>
230 <groupId>com.sun.xml.bind</groupId>
231 <artifactId>jaxb-impl</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300232 <version>${jaxb.impl.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200233 </dependency>
234 <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
235 <dependency>
236 <groupId>org.beanshell</groupId>
237 <artifactId>bsh</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300238 <version>${bsh.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200239 </dependency>
240 <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
241 <dependency>
242 <groupId>commons-digester</groupId>
243 <artifactId>commons-digester</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300244 <version>${commons.digester.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200245 </dependency>
246 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
247 <dependency>
248 <groupId>com.fasterxml</groupId>
249 <artifactId>classmate</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300250 <version>${classmate.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200251 </dependency>
AviZi280f8012017-06-09 02:39:56 +0300252 <!--1702 -->
253 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
254 <dependency>
255 <groupId>org.slf4j</groupId>
256 <artifactId>slf4j-api</artifactId>
257 <version>${slf4j.version}</version>
258 </dependency>
259 <dependency>
260 <groupId>org.codehaus.groovy</groupId>
261 <artifactId>groovy-all</artifactId>
262 <version>${groovy.version}</version>
263 </dependency>
shrek2000c8a540b2017-09-11 15:45:37 +0300264 <dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200265 <groupId>org.codehaus.janino</groupId>
266 <artifactId>janino</artifactId>
267 <version>${janino.version}</version>
268 <scope>provided</scope>
269 </dependency>
270 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +0200271 </dependencyManagement>
272
273</project>
274