forwarder
[sdc.git] / openecomp-be / pom.xml
1 <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
5     <name>openecomp-sdc</name>
6     <groupId>org.openecomp.sdc</groupId>
7     <artifactId>openecomp-sdc</artifactId>
8     <packaging>pom</packaging>
9
10     <url>http://maven.apache.org</url>
11
12     <parent>
13         <groupId>org.openecomp.sdc</groupId>
14         <artifactId>sdc-onboarding</artifactId>
15         <version>1.2.0-SNAPSHOT</version>
16         <relativePath>../onboarding</relativePath>
17     </parent>
18
19     <modules>
20         <module>/api</module>
21         <module>/lib</module>
22         <module>/configuration</module>
23         <module>/tools/swagger-ui</module>
24         <module>/tools/migration/1702_to_1707_zusammen</module>
25         <module>/tools/zusammen-tools</module>
26         <module>/backend</module>
27     </modules>
28
29     <dependencies>
30         <dependency>
31             <groupId>com.fasterxml.jackson.core</groupId>
32             <artifactId>jackson-annotations</artifactId>
33             <version>${jackson.version}</version>
34         </dependency>
35
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>
61     </dependencies>
62
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>
72                 <version>${mvn.compiler.version}</version>
73                 <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>
84                 <version>${mvn.hub.version}</version>
85                 <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>-->
99
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>
140             <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>
157                     <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>
171                 </executions>
172             </plugin>
173             <!-- Jacoco consolidation Report -->
174             <plugin>
175                 <groupId>org.apache.maven.plugins</groupId>
176                 <artifactId>maven-antrun-plugin</artifactId>
177                 <version>${mvn.antrun.version}</version>
178                 <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>
228
229         </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>
239                 <version>${commons.beanutils.version}</version>
240             </dependency>
241             <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
242             <dependency>
243                 <groupId>com.beust</groupId>
244                 <artifactId>jcommander</artifactId>
245                 <version>${jcommander.version}</version>
246             </dependency>
247             <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
248             <dependency>
249                 <groupId>org.apache.httpcomponents</groupId>
250                 <artifactId>httpasyncclient</artifactId>
251                 <version>${httpasyncclient.version}</version>
252             </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>
257                 <version>${jaxb.impl.version}</version>
258             </dependency>
259             <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
260             <dependency>
261                 <groupId>org.beanshell</groupId>
262                 <artifactId>bsh</artifactId>
263                 <version>${bsh.version}</version>
264             </dependency>
265             <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
266             <dependency>
267                 <groupId>commons-digester</groupId>
268                 <artifactId>commons-digester</artifactId>
269                 <version>${commons.digester.version}</version>
270             </dependency>
271             <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
272             <dependency>
273                 <groupId>com.fasterxml</groupId>
274                 <artifactId>classmate</artifactId>
275                 <version>${classmate.version}</version>
276             </dependency>
277             <!--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>
289              <dependency>
290                 <groupId>org.codehaus.janino</groupId>
291                 <artifactId>janino</artifactId>
292                 <version>${janino.version}</version>
293                 <scope>provided</scope>
294             </dependency>
295         </dependencies>
296     </dependencyManagement>
297
298 </project>
299