forked from GoogleContainerTools/jib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
57 lines (50 loc) · 1.79 KB
/
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
53
54
55
56
57
<?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>
<!-- Defines artifact information for this parent POM. -->
<groupId>com.example</groupId>
<artifactId>jib-multimodule</artifactId>
<packaging>pom</packaging>
<version>0.1.0</version>
<name>Jib Multi-module Example</name>
<!-- Inherits from the Spring Boot Starter POM. -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.3.RELEASE</version>
</parent>
<!-- The modules that are part of this project. -->
<modules>
<module>name-service</module>
<module>hello-service</module>
<module>shared-library</module>
</modules>
<!-- Uses Java 8. -->
<properties>
<java.version>1.8</java.version>
<!-- IMPORTANT: Set the environment variable PROJECT_ID to your own Google Cloud Platform project. -->
<image>gcr.io/${env.PROJECT_ID}/${project.artifactId}:${project.version}</image>
</properties>
<build>
<!-- Defines plugins that are used in the modules. -->
<pluginManagement>
<plugins>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>3.1.4</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<!-- Defines dependencies common to all modules. -->
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
</project>