diff options
Diffstat (limited to 'services/activity-spec/pom.xml')
-rw-r--r-- | services/activity-spec/pom.xml | 87 |
1 files changed, 55 insertions, 32 deletions
diff --git a/services/activity-spec/pom.xml b/services/activity-spec/pom.xml index 5e71480c71..72b3bf5c62 100644 --- a/services/activity-spec/pom.xml +++ b/services/activity-spec/pom.xml @@ -1,20 +1,20 @@ <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> <groupId>org.openecomp.activityspec</groupId> <artifactId>activity-spec</artifactId> - <packaging>pom</packaging> <version>1.2.0-SNAPSHOT</version> - - <modules> - <module>activity-spec-web</module> - <module>swagger-ui</module> - </modules> + <packaging>pom</packaging> <properties> - <mockito.all.version>1.10.19</mockito.all.version> + + <maven.compiler.source>1.8</maven.compiler.source> + <maven.compiler.target>1.8</maven.compiler.target> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <mvn.surefire.version>2.19.1</mvn.surefire.version> <jacoco.version>0.7.9</jacoco.version> <mvn.compiler.version>2.5.1</mvn.compiler.version> @@ -24,8 +24,10 @@ <mvn.jar.version>2.4</mvn.jar.version> <mvn.war.version>2.1.1</mvn.war.version> <mvn.swagger.version>3.1.0</mvn.swagger.version> - <java.source>1.8</java.source> - <java.target>1.8</java.target> + <mvn.resources.version>3.0.2</mvn.resources.version> + <mvn.docker.version>0.24.0</mvn.docker.version> + + <mockito.all.version>1.10.19</mockito.all.version> <spring.framework.version>4.1.3.RELEASE</spring.framework.version> <cxf.version>3.1.8</cxf.version> <ws.rs.version>2.0.1</ws.rs.version> @@ -33,24 +35,54 @@ <jersey.multipart.version>1.18.1</jersey.multipart.version> <javax.servlet.version>2.5</javax.servlet.version> <org.codehaus.jackson.version>1.9.13</org.codehaus.jackson.version> + </properties> + <modules> + <module>activity-spec-web</module> + <module>activity-spec-init</module> + </modules> + <build> <pluginManagement> - <plugins> - <!-- ================================================== --> - <!-- Set the JDK compiler version. --> - <!-- ================================================== --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>${mvn.compiler.version}</version> - <configuration> - <source>${java.source}</source> - <target>${java.target}</target> - </configuration> - </plugin> - </plugins> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>${mvn.compiler.version}</version> + </plugin> + <plugin> + <groupId>io.fabric8</groupId> + <artifactId>docker-maven-plugin</artifactId> + <version>${mvn.docker.version}</version> + <configuration> + <verbose>false</verbose> + <registry>nexus3.onap.org:10001</registry> + <authConfig> + <pull> + <username>docker</username> + <password>docker</password> + </pull> + </authConfig> + </configuration> + <executions> + <execution> + <id>docker-build</id> + <phase>install</phase> + <goals> + <goal>build</goal> + </goals> + </execution> + <execution> + <id>push-images</id> + <phase>deploy</phase> + <goals> + <goal>push</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> </pluginManagement> </build> @@ -65,13 +97,4 @@ </dependencies> </dependencyManagement> - <reporting> - <plugins> - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - <version>${jacoco.version}</version> - </plugin> - </plugins> - </reporting> </project>
\ No newline at end of file |