Update rest-client with additional operations
[aai/rest-client.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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         <groupId>org.openecomp.aai</groupId>
6         <artifactId>rest-client</artifactId>
7         <version>1.1.0-SNAPSHOT</version>
8         <name>REST Client</name>
9         
10         <properties>
11               <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
12               <nexusproxy>https://nexus.onap.org</nexusproxy>
13               <!-- Sonar Properties -->
14               <sonar.language>java</sonar.language>
15               <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
16               <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
17               <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
18               <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
19               <sonar.projectVersion>${project.version}</sonar.projectVersion>
20         </properties>
21
22         <dependencies>
23                 <dependency>
24                         <groupId>com.sun.jersey</groupId>
25                         <artifactId>jersey-client</artifactId>
26                         <version>1.18</version>
27                 </dependency>
28
29                 <dependency>
30                         <groupId>org.openecomp.aai.logging-service</groupId>
31                         <artifactId>common-logging</artifactId>
32                         <version>1.0.0</version>
33                 </dependency>
34                 
35                 <dependency>
36                         <groupId>org.mockito</groupId>
37                         <artifactId>mockito-all</artifactId>
38                         <version>1.10.19</version>
39                         <scope>test</scope>
40                 </dependency>
41                 
42                 <dependency>
43                         <groupId>org.powermock</groupId>
44                         <artifactId>powermock-module-junit4</artifactId>
45                         <version>1.6.2</version>
46                         <scope>test</scope>
47                 </dependency>
48                 
49                 <dependency>
50                         <groupId>org.powermock</groupId>
51                         <artifactId>powermock-api-mockito</artifactId>
52                         <version>1.6.2</version>
53                         <scope>test</scope>
54                 </dependency>
55                 
56                 <dependency>
57                         <groupId>org.powermock</groupId>
58                         <artifactId>powermock-module-javaagent</artifactId>
59                         <version>1.6.2</version>
60                         <scope>test</scope>
61                 </dependency>
62                 
63                 <dependency>
64                         <groupId>org.powermock</groupId>
65                         <artifactId>powermock-module-junit4-rule-agent</artifactId>
66                         <version>1.6.2</version>
67                         <scope>test</scope>
68                 </dependency>           
69
70         </dependencies>
71
72         <build>
73                 <pluginManagement>
74                         <plugins>
75                                 <plugin>
76                                         <groupId>org.apache.maven.plugins</groupId>
77                                         <artifactId>maven-compiler-plugin</artifactId>
78                                         <configuration>
79                                                 <source>1.8</source>
80                                                 <target>1.8</target>
81                                         </configuration>
82                                 </plugin>
83                                 <plugin>
84                                         <artifactId>maven-release-plugin</artifactId>
85                                         <version>2.4.2</version>
86                                         <dependencies>
87                                                 <dependency>
88                                                         <groupId>org.apache.maven.scm</groupId>
89                                                         <artifactId>maven-scm-provider-gitexe</artifactId>
90                                                         <version>1.8.1</version>
91                                                 </dependency>
92                                         </dependencies>
93                                 </plugin>
94
95                                 <!-- Checkstyle plugin - used to report on compliance with -->
96                                 <!-- the Google style guide. -->
97                                 <plugin>
98                                         <groupId>org.apache.maven.plugins</groupId>
99                                         <artifactId>maven-site-plugin</artifactId>
100                                         <version>3.3</version>
101                                         <configuration>
102                                                 <reportPlugins>
103                                                         <plugin>
104                                                                 <groupId>org.apache.maven.plugins</groupId>
105                                                                 <artifactId>maven-checkstyle-plugin</artifactId>
106                                                                 <version>2.17</version>
107                                                                 <reportSets>
108                                                                         <reportSet>
109                                                                                 <reports>
110                                                                                         <report>checkstyle</report>
111                                                                                 </reports>
112                                                                         </reportSet>
113                                                                 </reportSets>
114                                                         </plugin>
115                                                 </reportPlugins>
116                                         </configuration>
117                                 </plugin>
118                         </plugins>
119                 </pluginManagement>
120                 <plugins>
121                         <!-- license plugin -->
122                         <plugin>
123                                 <groupId>com.mycila</groupId>
124                                 <artifactId>license-maven-plugin</artifactId>
125                                 <version>3.0</version>
126                                 <configuration>
127                                         <header>License.txt</header>
128                                         <includes>
129                                                 <include>src/main/java/**</include>
130                                         </includes>
131                                 </configuration>
132                                 <executions>
133                                         <execution>
134                                                 <goals>
135                                                         <goal>format</goal>
136                                                 </goals>
137                                                 <phase>process-sources</phase>
138                                         </execution>
139                                 </executions>
140                         </plugin>
141
142                         <plugin>
143                               <groupId>org.sonatype.plugins</groupId>
144                               <artifactId>nexus-staging-maven-plugin</artifactId>
145                               <version>1.6.7</version>
146                               <extensions>true</extensions>
147                               <configuration>
148                                     <nexusUrl>${nexusproxy}</nexusUrl>
149                                     <stagingProfileId>176c31dfe190a</stagingProfileId>
150                                     <serverId>ecomp-staging</serverId>
151                               </configuration>
152                         </plugin>
153
154                         <plugin>
155                               <groupId>org.codehaus.mojo</groupId>
156                               <artifactId>sonar-maven-plugin</artifactId>
157                               <version>3.2</version>
158                         </plugin>
159                         <plugin>
160                               <groupId>org.jacoco</groupId>
161                               <artifactId>jacoco-maven-plugin</artifactId>
162                               <version>0.7.7.201606060606</version>
163                               <configuration>
164                                     <dumpOnExit>true</dumpOnExit>
165                               </configuration>
166                               <executions>
167                                     <execution>
168                                           <id>jacoco-initialize-unit-tests</id>
169                                           <goals>
170                                                 <goal>prepare-agent</goal>
171                                           </goals>
172                                           <configuration>
173                                                 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
174                                                 <!-- <append>true</append> -->
175                                           </configuration>
176                                     </execution>
177                               </executions>
178                         </plugin>
179                 </plugins>
180         </build>
181
182         <distributionManagement>
183               <repository>
184                     <id>ecomp-releases</id>
185                     <name>ECOMP Release Repository</name>
186                     <url>${nexusproxy}/content/repositories/releases/</url>
187               </repository>
188               <snapshotRepository>
189                     <id>ecomp-snapshots</id>
190                     <name>ECOMP Snapshot Repository</name>
191                     <url>${nexusproxy}/content/repositories/snapshots/</url>
192               </snapshotRepository>
193         </distributionManagement>
194         
195 </project>