Upversion for Dublin
[aai/rest-client.git] / pom.xml
1 <?xml version="1.0"?>
2 <!--
3 ============LICENSE_START=======================================================
4 org.onap.aai
5 ================================================================================
6 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7 Copyright © 2017-2018 Amdocs
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
12
13       http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23         <modelVersion>4.0.0</modelVersion>
24         <parent>
25                 <groupId>org.onap.oparent</groupId>
26                 <artifactId>oparent</artifactId>
27                 <version>1.2.0</version>
28         </parent>
29
30         <groupId>org.onap.aai</groupId>
31         <artifactId>rest-client</artifactId>
32         <version>1.4.0-SNAPSHOT</version>
33         <name>aai-rest-client</name>
34
35         <properties>
36               <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
37               <!-- Sonar Properties -->
38               <sonar.language>java</sonar.language>
39               <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
40               <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
41               <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
42               <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
43               <sonar.projectVersion>${project.version}</sonar.projectVersion>
44         </properties>
45
46         <dependencies>
47                 <dependency>
48                         <groupId>com.sun.jersey</groupId>
49                         <artifactId>jersey-client</artifactId>
50                         <version>1.18</version>
51                 </dependency>
52
53                 <dependency>
54                         <groupId>org.onap.aai.logging-service</groupId>
55                         <artifactId>common-logging</artifactId>
56                         <version>1.2.2</version>
57                 </dependency>
58
59                 <dependency>
60                         <groupId>org.mockito</groupId>
61                         <artifactId>mockito-all</artifactId>
62                         <version>1.10.19</version>
63                         <scope>test</scope>
64                 </dependency>
65
66                 <dependency>
67                         <groupId>org.powermock</groupId>
68                         <artifactId>powermock-module-junit4</artifactId>
69                         <version>1.6.2</version>
70                         <scope>test</scope>
71                 </dependency>
72
73                 <dependency>
74                         <groupId>org.powermock</groupId>
75                         <artifactId>powermock-api-mockito</artifactId>
76                         <version>1.6.2</version>
77                         <scope>test</scope>
78                 </dependency>
79
80                 <dependency>
81                         <groupId>org.powermock</groupId>
82                         <artifactId>powermock-module-javaagent</artifactId>
83                         <version>1.6.2</version>
84                         <scope>test</scope>
85                 </dependency>
86
87                 <dependency>
88                         <groupId>org.powermock</groupId>
89                         <artifactId>powermock-module-junit4-rule-agent</artifactId>
90                         <version>1.6.2</version>
91                         <scope>test</scope>
92                 </dependency>
93     <dependency>
94       <groupId>javax.ws.rs</groupId>
95       <artifactId>javax.ws.rs-api</artifactId>
96       <version>2.0</version>
97     </dependency>
98
99   </dependencies>
100
101         <build>
102                 <pluginManagement>
103                         <plugins>
104                                 <plugin>
105                                         <groupId>org.apache.maven.plugins</groupId>
106                                         <artifactId>maven-compiler-plugin</artifactId>
107                                         <configuration>
108                                                 <source>1.8</source>
109                                                 <target>1.8</target>
110                                         </configuration>
111                                 </plugin>
112                                 <plugin>
113                                         <artifactId>maven-release-plugin</artifactId>
114                                         <version>2.4.2</version>
115                                         <dependencies>
116                                                 <dependency>
117                                                         <groupId>org.apache.maven.scm</groupId>
118                                                         <artifactId>maven-scm-provider-gitexe</artifactId>
119                                                         <version>1.8.1</version>
120                                                 </dependency>
121                                         </dependencies>
122                                 </plugin>
123
124                                 <!-- Checkstyle plugin - used to report on compliance with -->
125                                 <!-- the Google style guide. -->
126                                 <plugin>
127                                         <groupId>org.apache.maven.plugins</groupId>
128                                         <artifactId>maven-site-plugin</artifactId>
129                                         <version>3.6</version>
130                                 </plugin>
131                         </plugins>
132                 </pluginManagement>
133                 <plugins>
134                         <!-- license plugin -->
135                         <!-- Uncomment this to add a license header to every source file
136                         <plugin>
137                                 <groupId>com.mycila</groupId>
138                                 <artifactId>license-maven-plugin</artifactId>
139                                 <version>3.0</version>
140                                 <configuration>
141                                         <header>License.txt</header>
142                                         <includes>
143                                                 <include>src/main/java/**</include>
144                                         </includes>
145                                 </configuration>
146                                 <executions>
147                                         <execution>
148                                                 <goals>
149                                                         <goal>format</goal>
150                                                 </goals>
151                                                 <phase>process-sources</phase>
152                                         </execution>
153                                 </executions>
154                         </plugin>
155                         -->
156
157                         <plugin>
158                               <groupId>org.sonatype.plugins</groupId>
159                               <artifactId>nexus-staging-maven-plugin</artifactId>
160                               <version>1.6.7</version>
161                               <extensions>true</extensions>
162                               <configuration>
163                                     <nexusUrl>${onap.nexus.url}</nexusUrl>
164                                     <stagingProfileId>176c31dfe190a</stagingProfileId>
165                                     <serverId>ecomp-staging</serverId>
166                               </configuration>
167                         </plugin>
168
169                         <plugin>
170                               <groupId>org.codehaus.mojo</groupId>
171                               <artifactId>sonar-maven-plugin</artifactId>
172                               <version>3.2</version>
173                         </plugin>
174                         <plugin>
175                               <groupId>org.jacoco</groupId>
176                               <artifactId>jacoco-maven-plugin</artifactId>
177                               <version>0.7.7.201606060606</version>
178                               <configuration>
179                                     <dumpOnExit>true</dumpOnExit>
180                               </configuration>
181                               <executions>
182                                     <execution>
183                                           <id>jacoco-initialize-unit-tests</id>
184                                           <goals>
185                                                 <goal>prepare-agent</goal>
186                                           </goals>
187                                           <configuration>
188                                                  <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
189                                                 <!-- <append>true</append> -->
190                                           </configuration>
191                                     </execution>
192                               </executions>
193                       </plugin>
194
195                 </plugins>
196         </build>
197
198         <reporting>
199                 <plugins>
200                         <plugin>
201                                 <groupId>org.apache.maven.plugins</groupId>
202                                 <artifactId>maven-checkstyle-plugin</artifactId>
203                                 <version>2.17</version>
204                                 <reportSets>
205                                         <reportSet>
206                                                 <reports>
207                                                         <report>checkstyle</report>
208                                                 </reports>
209                                         </reportSet>
210                                 </reportSets>
211                         </plugin>
212                 </plugins>
213         </reporting>
214
215 </project>