Fix the stage site issue by adding onap.nexus.url
[aai/aai-common.git] / aai-utils / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <modelVersion>4.0.0</modelVersion>
6
7     <parent>
8         <groupId>org.onap.aai.aai-common</groupId>
9         <artifactId>aai-common</artifactId>
10         <version>1.1.0-SNAPSHOT</version>
11     </parent>
12     <artifactId>aai-utils</artifactId>
13     <name>aai-utils</name>
14     <version>1.1.0-SNAPSHOT</version>
15
16     <properties>
17         <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
18         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
19         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
20     </properties>
21
22
23     <dependencies>
24
25         <dependency>
26             <groupId>com.fasterxml.jackson.core</groupId>
27             <artifactId>jackson-databind</artifactId>
28             <version>2.8.7</version>
29         </dependency>
30
31         <dependency>
32             <groupId>org.apache.httpcomponents</groupId>
33             <artifactId>httpclient</artifactId>
34             <version>4.5.3</version>
35         </dependency>
36
37         <dependency>
38             <groupId>org.eclipse.persistence</groupId>
39             <artifactId>eclipselink</artifactId>
40             <version>2.6.2</version>
41         </dependency>
42
43         <!-- Common logging framework -->
44         <dependency>
45             <groupId>org.openecomp.aai.logging-service</groupId>
46             <artifactId>common-logging</artifactId>
47             <version>1.0.0</version>
48         </dependency>
49
50         <!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
51         <dependency>
52             <groupId>org.springframework</groupId>
53             <artifactId>spring-core</artifactId>
54             <version>4.3.10.RELEASE</version>
55         </dependency>
56
57         <dependency>
58             <groupId>org.onap.aai.aai-common</groupId>
59             <artifactId>aai-schema</artifactId>
60             <version>1.1.0-SNAPSHOT</version>
61             <exclusions>
62                 <exclusion>
63                     <groupId>*</groupId>
64                     <artifactId>*</artifactId>
65                 </exclusion>
66             </exclusions>
67         </dependency>
68
69         <dependency>
70             <groupId>junit</groupId>
71             <artifactId>junit</artifactId>
72             <version>4.11</version>
73             <scope>test</scope>
74         </dependency>
75     </dependencies>
76
77
78     <build>
79         <plugins>
80             <!-- license plugin -->
81             <plugin>
82                 <groupId>com.mycila</groupId>
83                 <artifactId>license-maven-plugin</artifactId>
84                 <version>3.0</version>
85                 <configuration>
86                     <header>License.txt</header>
87                     <includes>
88                         <include>src/main/java/**</include>
89                     </includes>
90                 </configuration>
91                 <executions>
92                     <execution>
93                         <goals>
94                             <goal>format</goal>
95                         </goals>
96                         <phase>process-sources</phase>
97                     </execution>
98                 </executions>
99             </plugin>
100
101
102             <plugin>
103                 <groupId>org.apache.maven.plugins</groupId>
104                 <artifactId>maven-site-plugin</artifactId>
105                 <version>3.3</version>
106             </plugin>
107             <plugin>
108                 <groupId>org.sonatype.plugins</groupId>
109                 <artifactId>nexus-staging-maven-plugin</artifactId>
110             </plugin>
111         </plugins>
112     </build>
113
114     <distributionManagement>
115         <site>
116             <id>ecomp-site</id>
117             <url>dav:${onap.nexus.url}${sitePath}</url>
118         </site>
119     </distributionManagement>
120
121     <reporting>
122         <plugins>
123             <plugin>
124                 <groupId>org.apache.maven.plugins</groupId>
125                 <artifactId>maven-checkstyle-plugin</artifactId>
126                 <version>2.17</version>
127                 <reportSets>
128                     <reportSet>
129                         <reports>
130                             <report>checkstyle</report>
131                         </reports>
132                     </reportSet>
133                 </reportSets>
134             </plugin>
135         </plugins>
136     </reporting>
137
138
139 </project>