blob: ff2044d59c3a11c599e528f5b0df6a9f74ec7366 [file] [log] [blame]
Guobiao Moda703762019-02-22 15:36:27 -08001<?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 Hsuanf32825f2020-03-27 06:49:15 +000010 <version>1.0.2-SNAPSHOT</version>
Guobiao Moda703762019-02-22 15:36:27 -080011 </parent>
12
Guobiao Mo84066f32019-03-27 16:59:47 -070013 <groupId>org.onap.dcaegen2.services.components.datalake-handler</groupId>
Guobiao Moda703762019-02-22 15:36:27 -080014 <artifactId>admin</artifactId>
15 <packaging>pom</packaging>
Kate Hsuane76f6122020-02-04 10:28:14 +000016 <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 Hsuan3cf3f3e2020-03-12 07:48:48 +000020 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
Kate Hsuane76f6122020-02-04 10:28:14 +000021 </properties>
Guobiao Moda703762019-02-22 15:36:27 -080022 <name>DataLake Admin</name>
Kate Hsuane76f6122020-02-04 10:28:14 +000023 <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 Hsuan3cf3f3e2020-03-12 07:48:48 +000033 </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 Hsuane76f6122020-02-04 10:28:14 +000082 <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 Moda703762019-02-22 15:36:27 -080092</project>