-
Notifications
You must be signed in to change notification settings - Fork 39
/
example-pom.xml
52 lines (46 loc) · 1.6 KB
/
example-pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>examples.k8spatterns.io</groupId>
<artifactId>random-generator-parent</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>Random Generator :: Parent</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<image.repo>k8spatterns</image.repo>
<image.tag>${project.version}</image.tag>
<image.tag.extension/>
<docker.name>${image.repo}/random-generator:${image.tag}${image.tag.extension}</docker.name>
<docker.verbose>true</docker.verbose>
<version.docker-maven-plugin>0.42.0</version.docker-maven-plugin>
</properties>
<modules>
<module>spring</module>
</modules>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<compilerArgument>-Xlint:deprecation</compilerArgument>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>v2</id>
<properties>
<image.tag>2.0</image.tag>
</properties>
</profile>
</profiles>
</project>