Skip jacoco by default in onboarding build
[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>/tools/swagger-ui</module>
23         <module>/tools/zusammen-tools</module>
24         <module>/backend</module>
25     </modules>
26
27     <dependencies>
28         <dependency>
29             <groupId>com.fasterxml.jackson.core</groupId>
30             <artifactId>jackson-annotations</artifactId>
31             <version>${jackson.version}</version>
32         </dependency>
33
34         <!-- Feature Toggle support libraries-->
35         <dependency>
36             <groupId>org.togglz</groupId>
37             <artifactId>togglz-core</artifactId>
38             <version>${togglz.version}</version>
39         </dependency>
40
41         <dependency>
42             <groupId>org.togglz</groupId>
43             <artifactId>togglz-testing</artifactId>
44             <version>${togglz.version}</version>
45             <scope>test</scope>
46         </dependency>
47         <dependency>
48             <groupId>org.openecomp.sdc</groupId>
49             <artifactId>build-helper</artifactId>
50             <version>${project.version}</version>
51             <scope>runtime</scope>
52         </dependency>
53
54     </dependencies>
55
56     <build>
57         <plugins>
58
59             <!-- ================================================== -->
60             <!-- Set the JDK compiler version.                      -->
61             <!-- ================================================== -->
62             <plugin>
63                 <groupId>org.apache.maven.plugins</groupId>
64                 <artifactId>maven-compiler-plugin</artifactId>
65                 <version>${mvn.compiler.version}</version>
66                 <inherited>true</inherited>
67                 <configuration>
68                     <source>${java.source}</source>
69                     <target>${java.target}</target>
70                 </configuration>
71             </plugin>
72              <plugin>
73                 <groupId>org.codehaus.mojo</groupId>
74                 <artifactId>license-maven-plugin</artifactId>
75                 <version>${mvn.license.version}</version>
76                 <configuration>
77                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
78                     <processStartTag>============LICENSE_START=======================================================</processStartTag>
79                     <processEndTag>============LICENSE_END=========================================================</processEndTag>
80                     <sectionDelimiter>================================================================================</sectionDelimiter>
81                     <licenseName>apache_v2</licenseName>
82                     <inceptionYear>2017</inceptionYear>
83                     <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
84                     <projectName>SDC</projectName>
85                     <canUpdateCopyright>true</canUpdateCopyright>
86                     <canUpdateDescription>true</canUpdateDescription>
87                     <canUpdateLicense>true</canUpdateLicense>
88                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
89                     <verbose>false</verbose>
90                     <includes>
91                         <include>**/*.java</include>
92                         <include>**/*.js</include>
93                         <include>**/*.ts</include>
94                     </includes>
95                     <roots>
96                         <root>src</root>
97                         <root>app</root>
98                         <root>server-mock</root>
99                         <root>typings</root>
100                     </roots>
101                 </configuration>
102                 <executions>
103                     <execution>
104                         <id>first</id>
105                         <goals>
106                             <goal>update-file-header</goal>
107                         </goals>
108                     </execution>
109                 </executions>
110             </plugin>
111             <plugin>
112                 <groupId>org.jacoco</groupId>
113                 <artifactId>jacoco-maven-plugin</artifactId>
114                 <version>${jacoco.version}</version>
115                 <executions>
116                     <execution>
117                         <goals>
118                             <goal>prepare-agent</goal>
119                         </goals>
120                     </execution>
121                     <execution>
122                         <id>report</id>
123                         <phase>prepare-package</phase>
124                         <goals>
125                             <goal>report</goal>
126                         </goals>
127                     </execution>
128                     <execution>
129                         <id>post-unit-test</id>
130                         <phase>test</phase>
131                         <goals>
132                             <goal>report</goal>
133                         </goals>
134                         <configuration>
135                             <!-- Sets the path to the file which contains the execution data. -->
136                             <dataFile>target/jacoco.exec</dataFile>
137                             <!-- Sets the output directory for the code coverage report. -->
138                             <outputDirectory>target/jacoco-ut</outputDirectory>
139                         </configuration>
140                     </execution>
141                 </executions>
142             </plugin>
143
144         </plugins>
145     </build>
146
147     <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
148     <dependencyManagement>
149         <dependencies>
150             <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
151             <dependency>
152                 <groupId>commons-beanutils</groupId>
153                 <artifactId>commons-beanutils</artifactId>
154                 <version>${commons.beanutils.version}</version>
155             </dependency>
156             <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
157             <dependency>
158                 <groupId>com.beust</groupId>
159                 <artifactId>jcommander</artifactId>
160                 <version>${jcommander.version}</version>
161             </dependency>
162             <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
163             <dependency>
164                 <groupId>org.apache.httpcomponents</groupId>
165                 <artifactId>httpasyncclient</artifactId>
166                 <version>${httpasyncclient.version}</version>
167             </dependency>
168             <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
169             <dependency>
170                 <groupId>com.sun.xml.bind</groupId>
171                 <artifactId>jaxb-impl</artifactId>
172                 <version>${jaxb.impl.version}</version>
173             </dependency>
174             <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
175             <dependency>
176                 <groupId>org.beanshell</groupId>
177                 <artifactId>bsh</artifactId>
178                 <version>${bsh.version}</version>
179             </dependency>
180             <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
181             <dependency>
182                 <groupId>commons-digester</groupId>
183                 <artifactId>commons-digester</artifactId>
184                 <version>${commons.digester.version}</version>
185             </dependency>
186             <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
187             <dependency>
188                 <groupId>com.fasterxml</groupId>
189                 <artifactId>classmate</artifactId>
190                 <version>${classmate.version}</version>
191             </dependency>
192             <!--1702 -->
193             <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
194             <dependency>
195                 <groupId>org.slf4j</groupId>
196                 <artifactId>slf4j-api</artifactId>
197                 <version>${slf4j.version}</version>
198             </dependency>
199             <dependency>
200                 <groupId>org.codehaus.groovy</groupId>
201                 <artifactId>groovy-all</artifactId>
202                 <version>${groovy.version}</version>
203             </dependency>
204             <dependency>
205                 <groupId>org.codehaus.janino</groupId>
206                 <artifactId>janino</artifactId>
207                 <version>${janino.version}</version>
208                 <scope>provided</scope>
209             </dependency>
210         </dependencies>
211     </dependencyManagement>
212
213 </project>
214