blob: dba8d0f755d7a1c3cde7b5e91204570b99769cea [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>
talig8e9c0652017-12-20 14:30:43 +020024 <!--<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>
talioce889ad2017-11-12 16:12:35 +020045 <artifactId>togglz-testing</artifactId>
46 <version>${togglz.version}</version>
47 <scope>test</scope>
48 </dependency>
AviZi280f8012017-06-09 02:39:56 +030049 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +020050
51 <build>
52 <plugins>
53
54 <!-- ================================================== -->
55 <!-- Set the JDK compiler version. -->
56 <!-- ================================================== -->
57 <plugin>
58 <groupId>org.apache.maven.plugins</groupId>
59 <artifactId>maven-compiler-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030060 <version>${mvn.compiler.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020061 <inherited>true</inherited>
62 <configuration>
63 <source>${java.source}</source>
64 <target>${java.target}</target>
65 </configuration>
66 </plugin>
67 <!-- blackduck maven plugin -->
68 <!--
69 <plugin>
70 <groupId>com.blackducksoftware.integration</groupId>
71 <artifactId>hub-maven-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030072 <version>${mvn.hub.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020073 <inherited>false</inherited>
74 <configuration>
75 <target>${project.basedir}</target>
76 </configuration>
77 <executions>
78 <execution>
79 <id>create-bdio-file</id>
80 <phase>package</phase>
81 <goals>
82 <goal>createHubOutput</goal>
83 </goals>
84 </execution>
85 </executions>
86 </plugin>-->
AviZi280f8012017-06-09 02:39:56 +030087
88 <plugin>
89 <groupId>org.codehaus.mojo</groupId>
90 <artifactId>license-maven-plugin</artifactId>
91 <version>${mvn.license.version}</version>
92 <configuration>
93 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
94 <processStartTag>============LICENSE_START=======================================================</processStartTag>
95 <processEndTag>============LICENSE_END=========================================================</processEndTag>
96 <sectionDelimiter>================================================================================</sectionDelimiter>
97 <licenseName>apache_v2</licenseName>
98 <inceptionYear>2017</inceptionYear>
99 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
100 <projectName>SDC</projectName>
101 <canUpdateCopyright>true</canUpdateCopyright>
102 <canUpdateDescription>true</canUpdateDescription>
103 <canUpdateLicense>true</canUpdateLicense>
104 <emptyLineAfterHeader>true</emptyLineAfterHeader>
105 <verbose>false</verbose>
106 <includes>
107 <include>**/*.java</include>
108 <include>**/*.js</include>
109 <include>**/*.ts</include>
110 </includes>
111 <roots>
112 <root>src</root>
113 <root>app</root>
114 <root>server-mock</root>
115 <root>typings</root>
116 </roots>
117 </configuration>
118 <executions>
119 <execution>
120 <id>first</id>
121 <goals>
122 <goal>update-file-header</goal>
123 </goals>
124 <!--phase>process-sources</phase-->
125 </execution>
126 </executions>
127 </plugin>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300128 <plugin>
129 <groupId>org.jacoco</groupId>
130 <artifactId>jacoco-maven-plugin</artifactId>
131 <version>${jacoco.version}</version>
132 <executions>
133 <execution>
134 <goals>
135 <goal>prepare-agent</goal>
136 </goals>
137 </execution>
138 <execution>
139 <id>report</id>
140 <phase>prepare-package</phase>
141 <goals>
142 <goal>report</goal>
143 </goals>
144 </execution>
shrikantawachared640f62017-10-05 19:18:38 +0530145 <execution>
146 <id>post-unit-test</id>
147 <phase>test</phase>
148 <goals>
149 <goal>report</goal>
150 </goals>
151 <configuration>
152 <!-- Sets the path to the file which contains the execution data. -->
153
154 <dataFile>target/jacoco.exec</dataFile>
155 <!-- Sets the output directory for the code coverage report. -->
156 <outputDirectory>target/jacoco-ut</outputDirectory>
157 </configuration>
158 </execution>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300159 </executions>
160 </plugin>
shrikantawachared640f62017-10-05 19:18:38 +0530161 <!-- Jacoco consolidation Report -->
talig8e9c0652017-12-20 14:30:43 +0200162 <!--<plugin>
shrikantawachared640f62017-10-05 19:18:38 +0530163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-antrun-plugin</artifactId>
vempo31a7a922017-10-22 14:10:41 +0300165 <version>${mvn.antrun.version}</version>
shrikantawachared640f62017-10-05 19:18:38 +0530166 <executions>
167 <execution>
168 <phase>post-integration-test</phase>
169 <goals>
170 <goal>run</goal>
171 </goals>
172 <configuration>
173 <target>
talig8e9c0652017-12-20 14:30:43 +0200174 &lt;!&ndash; Execute an ant task within maven &ndash;&gt;
shrikantawachared640f62017-10-05 19:18:38 +0530175 <echo message="Generating JaCoCo Reports" />
176 <taskdef name="report" classname="org.jacoco.ant.ReportTask">
177 <classpath path="${basedir}/target/jacoco-jars/org.jacoco.ant.jar" />
178 </taskdef>
179 <mkdir dir="${basedir}/target/coverage-report" />
180 <report>
181 <executiondata>
182 <fileset dir="${basedir}">
183 <include name="**/*jacoco.exec" />
184 </fileset>
185 </executiondata>
186 <structure name="jacoco-multi Coverage Project">
187 <group name="jacoco-multi">
188 <classfiles>
189 <fileset dir="${basedir}">
190 <include name="**/target/classes/**" />
191 </fileset>
192 </classfiles>
193 <sourcefiles encoding="UTF-8">
194 <fileset dir="${basedir}">
195 <include name="**/target/generated-sources/**" />
196 </fileset>
197 </sourcefiles>
198 </group>
199 </structure>
200 <html destdir="${basedir}/target/coverage-report/html" />
201 <xml destfile="${basedir}/target/coverage-report/coverage-report.xml" />
202 <csv destfile="${basedir}/target/coverage-report/coverage-report.csv" />
203 </report>
204 </target>
205 </configuration>
206 </execution>
207 </executions>
208 <dependencies>
209 <dependency>
210 <groupId>org.jacoco</groupId>
211 <artifactId>org.jacoco.ant</artifactId>
212 <version>${jacoco.version}</version>
213 </dependency>
214 </dependencies>
talig8e9c0652017-12-20 14:30:43 +0200215 </plugin>-->
AviZi280f8012017-06-09 02:39:56 +0300216
Michael Landof5f13c42017-02-19 12:35:04 +0200217 </plugins>
218 </build>
219
220 <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
221 <dependencyManagement>
222 <dependencies>
223 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
224 <dependency>
225 <groupId>commons-beanutils</groupId>
226 <artifactId>commons-beanutils</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300227 <version>${commons.beanutils.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200228 </dependency>
229 <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
230 <dependency>
231 <groupId>com.beust</groupId>
232 <artifactId>jcommander</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300233 <version>${jcommander.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200234 </dependency>
235 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
236 <dependency>
237 <groupId>org.apache.httpcomponents</groupId>
238 <artifactId>httpasyncclient</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300239 <version>${httpasyncclient.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200240 </dependency>
241 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
242 <dependency>
243 <groupId>com.sun.xml.bind</groupId>
244 <artifactId>jaxb-impl</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300245 <version>${jaxb.impl.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200246 </dependency>
247 <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
248 <dependency>
249 <groupId>org.beanshell</groupId>
250 <artifactId>bsh</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300251 <version>${bsh.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200252 </dependency>
253 <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
254 <dependency>
255 <groupId>commons-digester</groupId>
256 <artifactId>commons-digester</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300257 <version>${commons.digester.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200258 </dependency>
259 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
260 <dependency>
261 <groupId>com.fasterxml</groupId>
262 <artifactId>classmate</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300263 <version>${classmate.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200264 </dependency>
talig8e9c0652017-12-20 14:30:43 +0200265 <!--1702 -->
AviZi280f8012017-06-09 02:39:56 +0300266 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
267 <dependency>
268 <groupId>org.slf4j</groupId>
269 <artifactId>slf4j-api</artifactId>
270 <version>${slf4j.version}</version>
271 </dependency>
272 <dependency>
273 <groupId>org.codehaus.groovy</groupId>
274 <artifactId>groovy-all</artifactId>
275 <version>${groovy.version}</version>
276 </dependency>
talig8e9c0652017-12-20 14:30:43 +0200277 <dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200278 <groupId>org.codehaus.janino</groupId>
279 <artifactId>janino</artifactId>
280 <version>${janino.version}</version>
281 <scope>provided</scope>
282 </dependency>
283 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +0200284 </dependencyManagement>
285
286</project>
287