Guobiao Mo | da70376 | 2019-02-22 15:36:27 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | |
| 7 | <parent> |
| 8 | <groupId>org.onap.dcaegen2.services.components</groupId> |
| 9 | <artifactId>datalake-handler</artifactId> |
Kate Hsuan | f32825f | 2020-03-27 06:49:15 +0000 | [diff] [blame^] | 10 | <version>1.0.2-SNAPSHOT</version> |
Guobiao Mo | da70376 | 2019-02-22 15:36:27 -0800 | [diff] [blame] | 11 | </parent> |
| 12 | |
Guobiao Mo | 84066f3 | 2019-03-27 16:59:47 -0700 | [diff] [blame] | 13 | <groupId>org.onap.dcaegen2.services.components.datalake-handler</groupId> |
Guobiao Mo | da70376 | 2019-02-22 15:36:27 -0800 | [diff] [blame] | 14 | <artifactId>admin</artifactId> |
| 15 | <packaging>pom</packaging> |
Kate Hsuan | e76f612 | 2020-02-04 10:28:14 +0000 | [diff] [blame] | 16 | <properties> |
| 17 | <swagger.version>2.9.2</swagger.version> |
| 18 | <dockerfile-maven.version>1.4.5</dockerfile-maven.version> |
| 19 | <docker.image.path>onap/org.onap.dcaegen2.services.datalakeadminui</docker.image.path> |
Kate Hsuan | 3cf3f3e | 2020-03-12 07:48:48 +0000 | [diff] [blame] | 20 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format> |
Kate Hsuan | e76f612 | 2020-02-04 10:28:14 +0000 | [diff] [blame] | 21 | </properties> |
Guobiao Mo | da70376 | 2019-02-22 15:36:27 -0800 | [diff] [blame] | 22 | <name>DataLake Admin</name> |
Kate Hsuan | e76f612 | 2020-02-04 10:28:14 +0000 | [diff] [blame] | 23 | <build> |
| 24 | <plugins> |
| 25 | <plugin> |
| 26 | <groupId>com.spotify</groupId> |
| 27 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 28 | <version>${dockerfile-maven.version}</version> |
| 29 | <configuration> |
| 30 | <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository> |
| 31 | <tag>${project.version}</tag> |
| 32 | <dockerfile>Dockerfile</dockerfile> |
Kate Hsuan | 3cf3f3e | 2020-03-12 07:48:48 +0000 | [diff] [blame] | 33 | </configuration> |
| 34 | <executions> |
| 35 | <execution> |
| 36 | <id>build-datalake-admin-ui-image</id> |
| 37 | <phase>package</phase> |
| 38 | <goals> |
| 39 | <goal>build</goal> |
| 40 | </goals> |
| 41 | </execution> |
| 42 | <execution> |
| 43 | <id>tag-and-push-image-latest</id> |
| 44 | <phase>package</phase> |
| 45 | <goals> |
| 46 | <goal>tag</goal> |
| 47 | <goal>push</goal> |
| 48 | </goals> |
| 49 | <configuration> |
| 50 | <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository> |
| 51 | <tag>latest</tag> |
| 52 | <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
| 53 | </configuration> |
| 54 | </execution> |
| 55 | <execution> |
| 56 | <id>tag-and-push-image-with-version</id> |
| 57 | <phase>package</phase> |
| 58 | <goals> |
| 59 | <goal>tag</goal> |
| 60 | <goal>push</goal> |
| 61 | </goals> |
| 62 | <configuration> |
| 63 | <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository> |
| 64 | <tag>${project.version}</tag> |
| 65 | <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
| 66 | </configuration> |
| 67 | </execution> |
| 68 | <execution> |
| 69 | <id>tag-and-push-image-with-version-and-date</id> |
| 70 | <phase>package</phase> |
| 71 | <goals> |
| 72 | <goal>tag</goal> |
| 73 | <goal>push</goal> |
| 74 | </goals> |
| 75 | <configuration> |
| 76 | <repository>${onap.nexus.dockerregistry.daily}/${docker.image.path}</repository> |
| 77 | <tag>${project.version}-${maven.build.timestamp}Z</tag> |
| 78 | <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
| 79 | </configuration> |
| 80 | </execution> |
| 81 | </executions> |
Kate Hsuan | e76f612 | 2020-02-04 10:28:14 +0000 | [diff] [blame] | 82 | <dependencies> |
| 83 | <dependency> |
| 84 | <groupId>javax.activation</groupId> |
| 85 | <artifactId>javax.activation-api</artifactId> |
| 86 | <version>1.2.0</version> |
| 87 | </dependency> |
| 88 | </dependencies> |
| 89 | </plugin> |
| 90 | </plugins> |
| 91 | </build> |
Guobiao Mo | da70376 | 2019-02-22 15:36:27 -0800 | [diff] [blame] | 92 | </project> |