-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
104 lines (91 loc) · 3.16 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?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">
<groupId>com.myorg.myproject</groupId>
<artifactId>maven-docker-demo</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<name>Maven-Docker Demo</name>
<prerequisites>
<maven>3.2.1</maven>
</prerequisites>
<properties>
<!-- unify the encoding for all the modules -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<jdk.version>1.8</jdk.version>
<compiler.fork>false</compiler.fork>
</properties>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>myproject-backend</module>
<module>myproject-cargo</module>
</modules>
</profile>
<profile>
<id>cargo</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>myproject-cargo</module>
</modules>
</profile>
<profile>
<id>backend</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>myproject-backend</module>
</modules>
</profile>
</profiles>
<repositories>
<!-- <repository>
<id>MyOrg Artifact Repository</id>
<url>https://artifacts.myorg.com/repo</url>
</repository>
<repository>
<id>MyOrg Artifact Snapshots Repository</id>
<name>artifacts.myorg.com-snapshots</name>
<url>https://artifacts.myorg.com/myproject-development-snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>MyOrg Artifact Releases Repository</id>
<name>artifacts.myorg.com-releases</name>
<url>https://artifacts.myorg.com/myproject-development-internal-releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository> -->
</repositories>
<build>
<defaultGoal>install</defaultGoal>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>