SDK initial project settings
[dcaegen2/services/sdk.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <groupId>org.onap.oparent</groupId>
7     <artifactId>oparent</artifactId>
8     <version>1.2.1</version>
9     <relativePath/>
10   </parent>
11
12   <groupId>org.onap.dcaegen2.services</groupId>
13   <artifactId>sdk</artifactId>
14   <version>1.0.0-SNAPSHOT</version>
15
16   <name>dcaegen2-services-sdk</name>
17   <description>Common SDK repo for all DCAE Services (R4)</description>
18   <packaging>pom</packaging>
19
20   <licenses>
21     <license>
22       <name>The Apache Software License, Version 2.0</name>
23       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
24     </license>
25   </licenses>
26
27   <properties>
28     <java.version>8</java.version>
29     <junit-jupiter.version>5.3.1</junit-jupiter.version>
30     <junit-vintage.version>5.3.1</junit-vintage.version>
31     <junit-platform.version>1.3.1</junit-platform.version>
32   </properties>
33
34   <modules>
35     <module>rest-services</module>
36   </modules>
37
38   <build>
39     <pluginManagement>
40       <plugins>
41         <plugin>
42           <groupId>org.apache.maven.plugins</groupId>
43           <artifactId>maven-resources-plugin</artifactId>
44           <version>3.1.0</version>
45           <configuration>
46             <encoding>${project.build.sourceEncoding}</encoding>
47           </configuration>
48         </plugin>
49         <plugin>
50           <groupId>org.apache.maven.plugins</groupId>
51           <artifactId>maven-compiler-plugin</artifactId>
52           <version>3.8.0</version>
53           <configuration>
54             <source>${java.version}</source>
55             <target>${java.version}</target>
56             <encoding>${project.build.sourceEncoding}</encoding>
57             <showWarnings>true</showWarnings>
58             <showDeprecation>true</showDeprecation>
59           </configuration>
60         </plugin>
61         <plugin>
62           <groupId>org.apache.maven.plugins</groupId>
63           <artifactId>maven-surefire-plugin</artifactId>
64           <version>2.22.1</version>
65           <dependencies>
66             <dependency>
67               <groupId>org.junit.platform</groupId>
68               <artifactId>junit-platform-surefire-provider</artifactId>
69               <version>${junit-platform.version}</version>
70             </dependency>
71           </dependencies>
72         </plugin>
73         <plugin>
74           <artifactId>maven-javadoc-plugin</artifactId>
75           <version>3.0.1</version>
76         </plugin>
77         <plugin>
78           <artifactId>maven-jar-plugin</artifactId>
79           <version>3.1.0</version>
80         </plugin>
81         <plugin>
82           <artifactId>maven-project-info-reports-plugin</artifactId>
83           <version>2.9</version>
84         </plugin>
85       </plugins>
86     </pluginManagement>
87     <plugins>
88       <plugin>
89         <artifactId>maven-javadoc-plugin</artifactId>
90         <configuration>
91           <!-- minimize console output messages -->
92           <quiet>true</quiet>
93           <verbose>false</verbose>
94           <useStandardDocletOptions>false</useStandardDocletOptions>
95         </configuration>
96         <executions>
97           <execution>
98             <id>aggregate</id>
99             <phase>site</phase>
100             <goals>
101               <goal>aggregate</goal>
102             </goals>
103           </execution>
104           <execution>
105             <id>attach-javadoc</id>
106             <goals>
107               <goal>jar</goal>
108             </goals>
109           </execution>
110         </executions>
111       </plugin>
112       <plugin>
113         <artifactId>maven-jar-plugin</artifactId>
114         <configuration>
115           <archive>
116             <manifest>
117               <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
118             </manifest>
119             <manifestEntries>
120               <Implementation-Build-Version>${project.version}</Implementation-Build-Version>
121             </manifestEntries>
122           </archive>
123         </configuration>
124       </plugin>
125     </plugins>
126   </build>
127   <reporting>
128     <plugins>
129       <plugin>
130         <artifactId>maven-project-info-reports-plugin</artifactId>
131         <reportSets>
132           <reportSet>
133             <reports>
134               <report>dependencies</report>
135               <report>license</report>
136             </reports>
137           </reportSet>
138         </reportSets>
139       </plugin>
140     </plugins>
141   </reporting>
142
143   <dependencyManagement>
144     <dependencies>
145       <dependency>
146         <groupId>org.mockito</groupId>
147         <artifactId>mockito-core</artifactId>
148         <version>2.23.0</version>
149         <scope>test</scope>
150       </dependency>
151       <dependency>
152         <groupId>org.junit.platform</groupId>
153         <artifactId>junit-platform-launcher</artifactId>
154         <version>${junit-platform.version}</version>
155         <scope>test</scope>
156       </dependency>
157       <dependency>
158         <groupId>org.junit.jupiter</groupId>
159         <artifactId>junit-jupiter-api</artifactId>
160         <version>${junit-jupiter.version}</version>
161         <scope>test</scope>
162       </dependency>
163       <dependency>
164         <groupId>org.junit.jupiter</groupId>
165         <artifactId>junit-jupiter-engine</artifactId>
166         <version>${junit-jupiter.version}</version>
167         <scope>test</scope>
168       </dependency>
169       <dependency>
170         <groupId>org.junit.vintage</groupId>
171         <artifactId>junit-vintage-engine</artifactId>
172         <version>${junit-vintage.version}</version>
173         <scope>test</scope>
174       </dependency>
175     </dependencies>
176   </dependencyManagement>
177 </project>