diff options
author | 2017-02-07 13:11:03 -0500 | |
---|---|---|
committer | 2017-02-07 13:12:28 -0500 | |
commit | 13ce0552dc7156b6e3e226c00295705f27780a40 (patch) | |
tree | a9ada50d0a86c0fdc253c188d1328f6e880bfaf5 /deliveries/pom.xml | |
parent | 77b87f76ff2799bd1f5fe85552f1c5e7081eb4df (diff) |
actually adding the files to the initial commit
Change-Id: I2f0c09692c2ae70be61b8bb552fd1bd2983eb661
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'deliveries/pom.xml')
-rw-r--r-- | deliveries/pom.xml | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/deliveries/pom.xml b/deliveries/pom.xml new file mode 100644 index 00000000..857d0be0 --- /dev/null +++ b/deliveries/pom.xml @@ -0,0 +1,88 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + 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> + + <parent> + <groupId>org.openecomp.vid</groupId> + <artifactId>vid-parent</artifactId> + <version>1.0.0</version> + </parent> + + <packaging>pom</packaging> + <groupId>org.att.ecomp</groupId> + <artifactId>vid-deliveries</artifactId> + + <name>VID Deliveries</name> + <description>ECOMP VID Deliveries</description> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <docker.push.registry>${docker_registry}</docker.push.registry> + <docker.verbose>true</docker.verbose> + </properties> + + <build> + <finalName>${project.artifactId}-${project.version}</finalName> + <plugins> + <plugin> + <groupId>io.fabric8</groupId> + <artifactId>docker-maven-plugin</artifactId> + <version>0.16.5</version> + + <configuration> + <verbose>true</verbose> + <authConfig> + <username>${docker.login}</username> + <password>${docker.password}</password> + </authConfig> + + <apiVersion>1.23</apiVersion> + <images> + <image> + <name>ecomp/vid:${project.version}</name> + <build> + <cleanup>remove</cleanup> + <dockerFileDir>docker-files</dockerFileDir> + <assembly> + <basedir>/</basedir> + <user>vidadmin:vidadmin:vidadmin</user> + <descriptor>assembly/assembly-for-plugin.xml</descriptor> + </assembly> + </build> + </image> + </images> + </configuration> + + <executions> + <execution> + <id>generate-image</id> + <phase>generate-sources</phase> + <goals> + <goal>build</goal> + </goals> + </execution> + + <execution> + <id>push-image</id> + <phase>deploy</phase> + <goals> + <goal>build</goal> + <goal>push</goal> + </goals> + </execution> + </executions> + + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <version>2.8</version> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + +</project> |