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