59374aea80a80ab2bab85642a4112e47c553386c
[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>com.sun.jersey.jersey-test-framework</groupId>
37                         <artifactId>jersey-test-framework-grizzly2</artifactId>
38                         <version>1.18</version>
39                         <scope>test</scope>
40                 </dependency>
41
42         </dependencies>
43
44         <build>
45                 <pluginManagement>
46                         <plugins>
47                                 <plugin>
48                                         <groupId>org.apache.maven.plugins</groupId>
49                                         <artifactId>maven-compiler-plugin</artifactId>
50                                         <configuration>
51                                                 <source>1.8</source>
52                                                 <target>1.8</target>
53                                         </configuration>
54                                 </plugin>
55                                 <plugin>
56                                         <artifactId>maven-release-plugin</artifactId>
57                                         <version>2.4.2</version>
58                                         <dependencies>
59                                                 <dependency>
60                                                         <groupId>org.apache.maven.scm</groupId>
61                                                         <artifactId>maven-scm-provider-gitexe</artifactId>
62                                                         <version>1.8.1</version>
63                                                 </dependency>
64                                         </dependencies>
65                                 </plugin>
66
67                                 <!-- Checkstyle plugin - used to report on compliance with -->
68                                 <!-- the Google style guide. -->
69                                 <plugin>
70                                         <groupId>org.apache.maven.plugins</groupId>
71                                         <artifactId>maven-site-plugin</artifactId>
72                                         <version>3.3</version>
73                                         <configuration>
74                                                 <reportPlugins>
75                                                         <plugin>
76                                                                 <groupId>org.apache.maven.plugins</groupId>
77                                                                 <artifactId>maven-checkstyle-plugin</artifactId>
78                                                                 <version>2.17</version>
79                                                                 <reportSets>
80                                                                         <reportSet>
81                                                                                 <reports>
82                                                                                         <report>checkstyle</report>
83                                                                                 </reports>
84                                                                         </reportSet>
85                                                                 </reportSets>
86                                                         </plugin>
87                                                 </reportPlugins>
88                                         </configuration>
89                                 </plugin>
90                         </plugins>
91                 </pluginManagement>
92                 <plugins>
93                         <!-- license plugin -->
94                         <plugin>
95                                 <groupId>com.mycila</groupId>
96                                 <artifactId>license-maven-plugin</artifactId>
97                                 <version>3.0</version>
98                                 <configuration>
99                                         <header>License.txt</header>
100                                         <includes>
101                                                 <include>src/main/java/**</include>
102                                         </includes>
103                                 </configuration>
104                                 <executions>
105                                         <execution>
106                                                 <goals>
107                                                         <goal>format</goal>
108                                                 </goals>
109                                                 <phase>process-sources</phase>
110                                         </execution>
111                                 </executions>
112                         </plugin>
113
114                         <plugin>
115                               <groupId>org.sonatype.plugins</groupId>
116                               <artifactId>nexus-staging-maven-plugin</artifactId>
117                               <version>1.6.7</version>
118                               <extensions>true</extensions>
119                               <configuration>
120                                     <nexusUrl>${nexusproxy}</nexusUrl>
121                                     <stagingProfileId>176c31dfe190a</stagingProfileId>
122                                     <serverId>ecomp-staging</serverId>
123                               </configuration>
124                         </plugin>
125
126                         <plugin>
127                               <groupId>org.codehaus.mojo</groupId>
128                               <artifactId>sonar-maven-plugin</artifactId>
129                               <version>3.2</version>
130                         </plugin>
131                         <plugin>
132                               <groupId>org.jacoco</groupId>
133                               <artifactId>jacoco-maven-plugin</artifactId>
134                               <version>0.7.7.201606060606</version>
135                               <configuration>
136                                     <dumpOnExit>true</dumpOnExit>
137                               </configuration>
138                               <executions>
139                                     <execution>
140                                           <id>jacoco-initialize-unit-tests</id>
141                                           <goals>
142                                                 <goal>prepare-agent</goal>
143                                           </goals>
144                                           <configuration>
145                                                 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
146                                                 <!-- <append>true</append> -->
147                                           </configuration>
148                                     </execution>
149                               </executions>
150                         </plugin>
151                 </plugins>
152         </build>
153
154         <distributionManagement>
155               <repository>
156                     <id>ecomp-releases</id>
157                     <name>ECOMP Release Repository</name>
158                     <url>${nexusproxy}/content/repositories/releases/</url>
159               </repository>
160               <snapshotRepository>
161                     <id>ecomp-snapshots</id>
162                     <name>ECOMP Snapshot Repository</name>
163                     <url>${nexusproxy}/content/repositories/snapshots/</url>
164               </snapshotRepository>
165         </distributionManagement>
166         
167 </project>