maven improvements and clean up
[sdc.git] / services / activity-spec / pom.xml
1 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2          xmlns="http://maven.apache.org/POM/4.0.0"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5     <modelVersion>4.0.0</modelVersion>
6
7     <groupId>org.onap.sdc.activityspec</groupId>
8     <artifactId>activity-spec</artifactId>
9     <packaging>pom</packaging>
10
11     <parent>
12         <groupId>org.openecomp.sdc</groupId>
13         <artifactId>sdc-main</artifactId>
14         <version>1.3.0-SNAPSHOT</version>
15         <relativePath>../..</relativePath>
16     </parent>
17
18     <properties>
19
20         <maven.compiler.source>1.8</maven.compiler.source>
21         <maven.compiler.target>1.8</maven.compiler.target>
22         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23
24         <mvn.surefire.version>2.19.1</mvn.surefire.version>
25         <mvn.compiler.version>2.5.1</mvn.compiler.version>
26         <mvn.license.version>1.10</mvn.license.version>
27         <mvn.assembly.version>2.1</mvn.assembly.version>
28         <mvn.deploy.version>2.4</mvn.deploy.version>
29         <mvn.jar.version>2.4</mvn.jar.version>
30         <mvn.war.version>2.1.1</mvn.war.version>
31         <mvn.swagger.version>3.1.0</mvn.swagger.version>
32         <mvn.resources.version>3.0.2</mvn.resources.version>
33         <mvn.docker.version>0.23.0</mvn.docker.version>
34
35         <mockito.all.version>1.10.19</mockito.all.version>
36         <spring.framework.version>4.3.15.RELEASE</spring.framework.version>
37         <cxf.version>3.1.8</cxf.version>
38         <ws.rs.version>2.0.1</ws.rs.version>
39         <javax.inject.version>1</javax.inject.version>
40         <jersey.multipart.version>1.18.1</jersey.multipart.version>
41         <javax.servlet.version>2.5</javax.servlet.version>
42         <org.codehaus.jackson.version>1.9.13</org.codehaus.jackson.version>
43         <nexus.proxy>https://nexus.onap.org</nexus.proxy>
44         <sitePath>/content/sites/site/org/onap/sdc/activityspec/${project.version}</sitePath>
45
46     </properties>
47
48     <modules>
49         <module>activity-spec-web</module>
50         <module>activity-spec-init</module>
51     </modules>
52
53     <build>
54         <pluginManagement>
55             <plugins>
56                 <plugin>
57                     <groupId>org.apache.maven.plugins</groupId>
58                     <artifactId>maven-compiler-plugin</artifactId>
59                     <version>${mvn.compiler.version}</version>
60                 </plugin>
61                 <plugin>
62                     <groupId>io.fabric8</groupId>
63                     <artifactId>docker-maven-plugin</artifactId>
64                     <version>${mvn.docker.version}</version>
65                     <configuration>
66                         <registry>nexus3.onap.org:10001</registry>
67                         <authConfig>
68                             <pull>
69                                 <username>docker</username>
70                                 <password>docker</password>
71                             </pull>
72                         </authConfig>
73                     </configuration>
74                     <executions>
75                         <execution>
76                             <id>docker-build</id>
77                             <phase>install</phase>
78                             <goals>
79                                 <goal>build</goal>
80                             </goals>
81                         </execution>
82                         <execution>
83                             <id>push-images</id>
84                             <phase>deploy</phase>
85                             <goals>
86                                 <goal>push</goal>
87                             </goals>
88                         </execution>
89                     </executions>
90                 </plugin>
91             </plugins>
92         </pluginManagement>
93     </build>
94
95     <dependencyManagement>
96         <dependencies>
97             <dependency>
98                 <groupId>org.projectlombok</groupId>
99                 <artifactId>lombok</artifactId>
100                 <version>1.16.20</version>
101                 <scope>provided</scope>
102             </dependency>
103             <dependency>
104                 <groupId>org.mockito</groupId>
105                 <artifactId>mockito-all</artifactId>
106                 <version>${mockito.all.version}</version>
107             </dependency>
108         </dependencies>
109     </dependencyManagement>
110
111     <repositories>
112         <!-- LF repositories -->
113         <repository>
114             <id>ecomp-releases</id>
115             <name>Release Repository</name>
116             <url>${nexus.proxy}/content/repositories/releases/</url>
117         </repository>
118         <repository>
119             <id>ecomp-snapshots</id>
120             <name>Snapshots Repository</name>
121             <url>${nexus.proxy}/content/repositories/snapshots/</url>
122         </repository>
123         <repository>
124             <id>ecomp-public</id>
125             <name>Public Repository</name>
126             <url>${nexus.proxy}/content/repositories/public/</url>
127         </repository>
128         <!-- LF repositories END-->
129     </repositories>
130
131     <distributionManagement>
132         <repository>
133             <id>ecomp-releases</id>
134             <name>Release Repository</name>
135             <url>${nexus.proxy}/content/repositories/releases/</url>
136         </repository>
137         <snapshotRepository>
138             <id>ecomp-snapshots</id>
139             <name>Snapshot Repository</name>
140             <url>${nexus.proxy}/content/repositories/snapshots/</url>
141         </snapshotRepository>
142         <site>
143             <id>ecomp-site</id>
144             <url>dav:${nexus.proxy}${sitePath}</url>
145         </site>
146     </distributionManagement>
147
148 </project>