Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame^] | 4 | <parent> |
| 5 | <groupId>org.onap.oparent</groupId> |
| 6 | <artifactId>oparent</artifactId> |
| 7 | <version>1.0.0-SNAPSHOT</version> |
| 8 | </parent> |
| 9 | |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 10 | <groupId>sdc.att.app</groupId> |
| 11 | <artifactId>sdc_docker_baseline</artifactId> |
| 12 | <packaging>jar</packaging> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame^] | 13 | <version>1.0.0-SNAPSHOT</version> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 14 | <name>sdc_docker_baseline</name> |
| 15 | <url>http://maven.apache.org</url> |
| 16 | |
Areli Fuss | 61385df | 2017-09-06 16:23:25 +0300 | [diff] [blame] | 17 | <properties> |
| 18 | <!--nexus--> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame^] | 19 | <sitePath>/content/sites/site/org/openecomp/sdc/${project.artifactId}/${project.version}</sitePath> |
Areli Fuss | 61385df | 2017-09-06 16:23:25 +0300 | [diff] [blame] | 20 | <!--maven--> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 21 | <timestamp>${maven.build.timestamp}</timestamp> |
| 22 | <maven.build.timestamp.format>yyyy.MM.dd.HH.mm</maven.build.timestamp.format> |
Areli Fuss | 61385df | 2017-09-06 16:23:25 +0300 | [diff] [blame] | 23 | <!--docker--> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 24 | <docker.tag>${project.version}-${timestamp}</docker.tag> |
| 25 | <docker.latest.tag>${project.version}-latest</docker.latest.tag> |
Areli Fuss | 61385df | 2017-09-06 16:23:25 +0300 | [diff] [blame] | 26 | </properties> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame^] | 27 | |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 28 | <build> |
| 29 | <plugins> |
| 30 | <plugin> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame^] | 31 | <groupId>org.sonatype.plugins</groupId> |
| 32 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 33 | <version>1.6.7</version> |
| 34 | <extensions>true</extensions> |
| 35 | <configuration> |
| 36 | <nexusUrl>${onap.nexus.url}</nexusUrl> |
| 37 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 38 | <serverId>ecomp-staging</serverId> |
| 39 | </configuration> |
| 40 | </plugin> |
| 41 | <plugin> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 42 | <groupId>io.fabric8</groupId> |
| 43 | <artifactId>docker-maven-plugin</artifactId> |
| 44 | <version>0.15.1</version> |
| 45 | <configuration> |
| 46 | <images> |
| 47 | <!-- base_sdc-backend --> |
| 48 | <image> |
| 49 | <name>openecomp/base_sdc-backend</name> |
| 50 | <alias>base_sdc-backend</alias> |
| 51 | <build> |
| 52 | <cleanup>true</cleanup> |
| 53 | <tags> |
| 54 | <tag>${docker.tag}</tag> |
| 55 | <tag>${docker.latest.tag}</tag> |
| 56 | </tags> |
| 57 | <dockerFileDir>${project.basedir}/base_sdc-backend</dockerFileDir> |
| 58 | </build> |
| 59 | </image> |
| 60 | <!-- base_sdc-frontend --> |
| 61 | <image> |
| 62 | <name>openecomp/base_sdc-frontend</name> |
| 63 | <alias>base_sdc-frontendt</alias> |
| 64 | <build> |
| 65 | <cleanup>true</cleanup> |
| 66 | <tags> |
| 67 | <tag>${docker.tag}</tag> |
| 68 | <tag>${docker.latest.tag}</tag> |
| 69 | </tags> |
| 70 | <dockerFileDir>${project.basedir}/base_sdc-frontend</dockerFileDir> |
| 71 | </build> |
| 72 | </image> |
| 73 | <!-- base_sdc-frontend --> |
| 74 | <image> |
| 75 | <name>openecomp/base_sdc-kibana</name> |
| 76 | <alias>base_sdc-kibana</alias> |
| 77 | <build> |
| 78 | <cleanup>true</cleanup> |
| 79 | <tags> |
| 80 | <tag>${docker.tag}</tag> |
| 81 | <tag>${docker.latest.tag}</tag> |
| 82 | </tags> |
| 83 | <dockerFileDir>${project.basedir}/base_sdc-kibana</dockerFileDir> |
| 84 | </build> |
| 85 | </image> |
| 86 | <!-- base_sdc-cassandra --> |
| 87 | <image> |
| 88 | <name>openecomp/base_sdc-cassandra</name> |
| 89 | <alias>base_sdc-cassandra</alias> |
| 90 | <build> |
| 91 | <cleanup>true</cleanup> |
| 92 | <tags> |
| 93 | <tag>${docker.tag}</tag> |
| 94 | <tag>${docker.latest.tag}</tag> |
| 95 | </tags> |
| 96 | <dockerFileDir>${project.basedir}/base_sdc-cassandra</dockerFileDir> |
| 97 | </build> |
| 98 | </image> |
| 99 | <!-- base_sdc-elasticsearch --> |
| 100 | <image> |
| 101 | <name>openecomp/base_sdc-elasticsearch</name> |
| 102 | <alias>base_sdc-elasticsearch</alias> |
| 103 | <build> |
| 104 | <cleanup>true</cleanup> |
| 105 | <tags> |
| 106 | <tag>${docker.tag}</tag> |
| 107 | <tag>${docker.latest.tag}</tag> |
| 108 | </tags> |
| 109 | <dockerFileDir>${project.basedir}/base_sdc-elasticsearch</dockerFileDir> |
| 110 | </build> |
| 111 | </image> |
| 112 | <!-- base_sdc-sanity --> |
| 113 | <image> |
| 114 | <name>openecomp/base_sdc-sanity</name> |
| 115 | <alias>base_sdc-sanity</alias> |
| 116 | <build> |
| 117 | <cleanup>true</cleanup> |
| 118 | <tags> |
| 119 | <tag>${docker.tag}</tag> |
| 120 | <tag>${docker.latest.tag}</tag> |
| 121 | </tags> |
| 122 | <dockerFileDir>${project.basedir}/base_sdc-sanity</dockerFileDir> |
| 123 | </build> |
| 124 | </image> |
| 125 | </images> |
| 126 | </configuration> |
| 127 | <executions> |
| 128 | <execution> |
| 129 | <id>clean-images</id> |
| 130 | <phase>pre-clean</phase> |
| 131 | <goals> |
| 132 | <goal>remove</goal> |
| 133 | </goals> |
| 134 | <configuration> |
| 135 | <removeAll>true</removeAll> |
| 136 | <image>openecomp/base_sdc-backend,openecomp/base_sdc-frontend,openecomp/base_sdc-elasticsearch,openecomp/base_sdc-kibana,openecomp/base_sdc-sanity</image> |
| 137 | </configuration> |
| 138 | </execution> |
| 139 | |
| 140 | <execution> |
| 141 | <id>generate-images</id> |
| 142 | <phase>package</phase> |
| 143 | <goals> |
| 144 | <goal>build</goal> |
| 145 | </goals> |
| 146 | </execution> |
| 147 | |
| 148 | <execution> |
| 149 | <id>push-images</id> |
| 150 | <phase>deploy</phase> |
| 151 | <goals> |
| 152 | <goal>build</goal> |
| 153 | <goal>push</goal> |
| 154 | </goals> |
| 155 | <configuration> |
| 156 | <image>openecomp/base_sdc-backend,openecomp/base_sdc-frontend,openecomp/base_sdc-elasticsearch,openecomp/base_sdc-kibana,openecomp/base_sdc-sanity</image> |
| 157 | </configuration> |
| 158 | </execution> |
| 159 | </executions> |
| 160 | </plugin> |
| 161 | </plugins> |
| 162 | </build> |
Areli Fuss | 61385df | 2017-09-06 16:23:25 +0300 | [diff] [blame] | 163 | <distributionManagement> |
Areli Fuss | 61385df | 2017-09-06 16:23:25 +0300 | [diff] [blame] | 164 | <site> |
| 165 | <id>ecomp-site</id> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame^] | 166 | <url>dav:${onap.nexus.url}${sitePath}</url> |
Areli Fuss | 61385df | 2017-09-06 16:23:25 +0300 | [diff] [blame] | 167 | </site> |
| 168 | </distributionManagement> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame^] | 169 | <repositories> |
| 170 | <repository> |
| 171 | <id>ecomp-releases</id> |
| 172 | <name>ECOMP Release Repository</name> |
| 173 | <url>${onap.nexus.url}/content/repositories/releases/</url> |
| 174 | </repository> |
| 175 | <repository> |
| 176 | <id>ecomp-snapshots</id> |
| 177 | <name>ECOMP Snapshot Repository</name> |
| 178 | <url>${onap.nexus.url}/content/repositories/snapshots/</url> |
| 179 | </repository> |
| 180 | <repository> |
| 181 | <id>ecomp-staging</id> |
| 182 | <name>ECOMP Staging Repository</name> |
| 183 | <url>${onap.nexus.url}/content/repositories/staging/</url> |
| 184 | </repository> |
| 185 | </repositories> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 186 | </project> |