Fix the stage site issue by adding onap.nexus.url
[aai/aai-common.git] / aai-auth / 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     <parent>
5         <groupId>org.onap.aai.aai-common</groupId>
6         <artifactId>aai-common</artifactId>
7         <version>1.1.0-SNAPSHOT</version>
8     </parent>
9     <artifactId>aai-auth</artifactId>
10     <name>aai-auth</name>
11     <version>1.1.0-SNAPSHOT</version>
12
13     <properties>
14         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
15         <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
16         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
17     </properties>
18
19
20     <dependencies>
21
22         <dependency>
23             <groupId>com.fasterxml.jackson.core</groupId>
24             <artifactId>jackson-databind</artifactId>
25             <version>2.8.7</version>
26         </dependency>
27
28         <dependency>
29             <groupId>org.apache.httpcomponents</groupId>
30             <artifactId>httpclient</artifactId>
31             <version>4.5.3</version>
32         </dependency>
33     </dependencies>
34
35     <build>
36         <plugins>
37             <!-- license plugin -->
38             <plugin>
39                 <groupId>com.mycila</groupId>
40                 <artifactId>license-maven-plugin</artifactId>
41                 <version>3.0</version>
42                 <configuration>
43                     <header>License.txt</header>
44                     <includes>
45                         <include>src/main/java/**</include>
46                     </includes>
47                 </configuration>
48                 <executions>
49                     <execution>
50                         <goals>
51                             <goal>format</goal>
52                         </goals>
53                         <phase>process-sources</phase>
54                     </execution>
55                 </executions>
56             </plugin>
57
58
59             <plugin>
60                 <groupId>org.apache.maven.plugins</groupId>
61                 <artifactId>maven-site-plugin</artifactId>
62                 <version>3.3</version>
63             </plugin>
64             <plugin>
65                 <groupId>org.sonatype.plugins</groupId>
66                 <artifactId>nexus-staging-maven-plugin</artifactId>
67             </plugin>
68         </plugins>
69     </build>
70
71     <distributionManagement>
72         <site>
73             <id>ecomp-site</id>
74             <url>dav:${onap.nexus.url}${sitePath}</url>
75         </site>
76     </distributionManagement>
77     <reporting>
78         <plugins>
79             <plugin>
80                 <groupId>org.apache.maven.plugins</groupId>
81                 <artifactId>maven-checkstyle-plugin</artifactId>
82                 <version>2.17</version>
83                 <reportSets>
84                     <reportSet>
85                         <reports>
86                             <report>checkstyle</report>
87                         </reports>
88                     </reportSet>
89                 </reportSets>
90             </plugin>
91         </plugins>
92     </reporting>
93 </project>