ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Anaël Closson | f15b97e | 2017-02-08 10:46:48 +0100 | [diff] [blame] | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
| 5 | <parent> |
| 6 | <groupId>org.openecomp.mso</groupId> |
| 7 | <artifactId>packages</artifactId> |
| 8 | <version>0.0.4-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | |
| 11 | <packaging>pom</packaging> |
Anaël Closson | f09c741 | 2017-02-08 10:56:20 +0100 | [diff] [blame^] | 12 | <groupId>org.openecomp.mso</groupId> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 13 | <artifactId>docker</artifactId> |
| 14 | |
| 15 | <name>MSO Docker Deliveries</name> |
| 16 | <description>ECOMP MSO Docker Deliveries</description> |
| 17 | |
| 18 | <properties> |
| 19 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 20 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 21 | </properties> |
| 22 | |
| 23 | <build> |
| 24 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 25 | <plugins> |
| 26 | <plugin> |
| 27 | <groupId>io.fabric8</groupId> |
| 28 | <artifactId>docker-maven-plugin</artifactId> |
| 29 | <version>0.16.5</version> |
| 30 | |
| 31 | <configuration> |
| 32 | <verbose>true</verbose> |
| 33 | <apiVersion>1.23</apiVersion> |
Anaël Closson | f15b97e | 2017-02-08 10:46:48 +0100 | [diff] [blame] | 34 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 35 | <images> |
| 36 | <image> |
| 37 | <name>ecomp/jacoco:1.0</name> |
| 38 | <alias>jacoco</alias> |
| 39 | <build> |
| 40 | <cleanup>try</cleanup> |
| 41 | <dockerFileDir>docker-files</dockerFileDir> |
| 42 | <dockerFile>docker-files/Dockerfile.jacoco</dockerFile> |
Anaël Closson | f15b97e | 2017-02-08 10:46:48 +0100 | [diff] [blame] | 43 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 44 | </build> |
| 45 | </image> |
| 46 | <image> |
| 47 | <name>ecomp/ubuntu-update:1.0</name> |
| 48 | <alias>ubuntu-update</alias> |
| 49 | <build> |
| 50 | |
| 51 | <cleanup>try</cleanup> |
| 52 | <dockerFileDir>docker-files</dockerFileDir> |
| 53 | <dockerFile>docker-files/Dockerfile.ubuntu-16.04-update</dockerFile> |
Anaël Closson | f15b97e | 2017-02-08 10:46:48 +0100 | [diff] [blame] | 54 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 55 | </build> |
| 56 | </image> |
| 57 | <image> |
| 58 | <name>ecomp/wildfly:1.0</name> |
| 59 | <alias>wildfly</alias> |
| 60 | <build> |
| 61 | |
| 62 | <cleanup>try</cleanup> |
| 63 | <dockerFileDir>docker-files</dockerFileDir> |
| 64 | <dockerFile>docker-files/Dockerfile.wildfly-10</dockerFile> |
Anaël Closson | f15b97e | 2017-02-08 10:46:48 +0100 | [diff] [blame] | 65 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 66 | </build> |
| 67 | </image> |
| 68 | <image> |
| 69 | <name>ecomp/mso-arquillian:%l</name> |
| 70 | <alias>mso-arquillian</alias> |
| 71 | <build> |
| 72 | |
| 73 | <cleanup>try</cleanup> |
| 74 | <dockerFileDir>docker-files</dockerFileDir> |
| 75 | <dockerFile>docker-files/Dockerfile.mso-arquillian</dockerFile> |
Anaël Closson | f15b97e | 2017-02-08 10:46:48 +0100 | [diff] [blame] | 76 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 77 | </build> |
| 78 | </image> |
| 79 | <image> |
| 80 | <name>ecomp/mso:%l</name> |
| 81 | <alias>mso</alias> |
| 82 | <build> |
| 83 | |
| 84 | <cleanup>try</cleanup> |
| 85 | <dockerFileDir>docker-files</dockerFileDir> |
| 86 | <dockerFile>docker-files/Dockerfile.mso-chef-final</dockerFile> |
| 87 | <assembly> |
| 88 | <basedir>/</basedir> |
| 89 | |
| 90 | <user>jboss:jboss:jboss</user> |
| 91 | <basedir>/opt/jboss/wildfly/standalone/deployments</basedir> |
| 92 | <descriptor>../../../../deliveries/src/main/assembly/war-pack/mso-wars.xml</descriptor> |
| 93 | </assembly> |
| 94 | </build> |
| 95 | </image> |
| 96 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 97 | </images> |
| 98 | </configuration> |
| 99 | <executions> |
| 100 | <execution> |
| 101 | <id>clean-images</id> |
| 102 | <phase>pre-clean</phase> |
| 103 | <goals> |
| 104 | <goal>remove</goal> |
| 105 | </goals> |
| 106 | <configuration> |
Anaël Closson | f15b97e | 2017-02-08 10:46:48 +0100 | [diff] [blame] | 107 | <removeAll>true</removeAll> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 108 | <image>ecomp/mso-arquillian:%l,ecomp/mso:%l</image> |
| 109 | </configuration> |
| 110 | </execution> |
Anaël Closson | f15b97e | 2017-02-08 10:46:48 +0100 | [diff] [blame] | 111 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 112 | <execution> |
| 113 | <id>generate-images</id> |
| 114 | <phase>generate-sources</phase> |
| 115 | <goals> |
| 116 | <goal>build</goal> |
| 117 | </goals> |
| 118 | </execution> |
| 119 | |
| 120 | <execution> |
| 121 | <id>push-images</id> |
| 122 | <phase>deploy</phase> |
| 123 | <goals> |
| 124 | <goal>build</goal> |
| 125 | <goal>push</goal> |
| 126 | </goals> |
| 127 | <configuration> |
| 128 | <image>ecomp/mso-arquillian:%l,ecomp/mso:%l,ecomp/jacoco:1.0</image> |
| 129 | </configuration> |
| 130 | </execution> |
| 131 | </executions> |
| 132 | |
| 133 | </plugin> |
| 134 | |
| 135 | <plugin> |
| 136 | <groupId>org.apache.maven.plugins</groupId> |
| 137 | <artifactId>maven-deploy-plugin</artifactId> |
| 138 | <version>2.8</version> |
| 139 | <configuration> |
| 140 | <skip>true</skip> |
| 141 | </configuration> |
| 142 | </plugin> |
| 143 | </plugins> |
| 144 | </build> |
| 145 | |
Anaël Closson | f15b97e | 2017-02-08 10:46:48 +0100 | [diff] [blame] | 146 | </project> |