Skip to content

Commit 07af1f2

Browse files
committed
-
0 parents  commit 07af1f2

File tree

5 files changed

+309
-0
lines changed

5 files changed

+309
-0
lines changed

IntermediatePom/pom.xml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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+
<artifactId>intermediate-java-pom</artifactId>
8+
<name>intermediate-java-pom</name>
9+
<version>${revision}</version>
10+
<packaging>pom</packaging>
11+
12+
<parent>
13+
<groupId>com.example.pom</groupId>
14+
<artifactId>main</artifactId>
15+
<version>${revision}</version>
16+
<relativePath>../pom.xml</relativePath>
17+
</parent>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>org.mockito</groupId>
22+
<artifactId>mockito-core</artifactId>
23+
<version>3.4.6</version>
24+
<scope>test</scope>
25+
</dependency>
26+
<dependency>
27+
<groupId>org.assertj</groupId>
28+
<artifactId>assertj-core</artifactId>
29+
<version>3.16.1</version>
30+
<scope>compile</scope>
31+
</dependency>
32+
</dependencies>
33+
34+
<build>
35+
<plugins>
36+
<plugin>
37+
<groupId>org.apache.maven.plugins</groupId>
38+
<artifactId>maven-compiler-plugin</artifactId>
39+
<configuration>
40+
<source>${maven.compiler.source}</source>
41+
<target>${maven.compiler.target}</target>
42+
</configuration>
43+
</plugin>
44+
<plugin>
45+
<groupId>io.repaint.maven</groupId>
46+
<artifactId>tiles-maven-plugin</artifactId>
47+
<version>${tiles-maven-plugin.version}</version>
48+
<extensions>true</extensions>
49+
</plugin>
50+
</plugins>
51+
</build>
52+
</project>

JavaPom/pom.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<project xmlns="http://maven.apache.org/POM/4.0.0" 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+
<artifactId>java</artifactId>
8+
<name>java</name>
9+
<version>${revision}</version>
10+
<packaging>pom</packaging>
11+
12+
<parent>
13+
<groupId>com.example.pom</groupId>
14+
<artifactId>intermediate-java-pom</artifactId>
15+
<version>${revision}</version>
16+
<relativePath>../IntermediatePom</relativePath>
17+
</parent>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>com.example</groupId>
22+
<artifactId>library</artifactId>
23+
<version>${revision}</version>
24+
</dependency>
25+
</dependencies>
26+
27+
<build>
28+
<!-- Build plugins-->
29+
</build>
30+
</project>

KotlinPom/pom.xml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<project xmlns="http://maven.apache.org/POM/4.0.0" 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+
<artifactId>kotlin</artifactId>
8+
<name>kotlin</name>
9+
<version>${revision}</version>
10+
<packaging>pom</packaging>
11+
12+
<parent>
13+
<groupId>com.example.pom</groupId>
14+
<artifactId>main</artifactId>
15+
<version>${revision}</version>
16+
<relativePath>../pom.xml</relativePath>
17+
</parent>
18+
19+
<properties>
20+
<kotlin.version>1.3.72</kotlin.version>
21+
<kotlin.code.style>official</kotlin.code.style>
22+
<dinject-generator.version>2.2</dinject-generator.version>
23+
</properties>
24+
25+
<dependencies>
26+
<dependency>
27+
<groupId>com.example</groupId>
28+
<artifactId>library</artifactId>
29+
<version>${revision}</version>
30+
</dependency>
31+
<dependency>
32+
<groupId>org.jetbrains.kotlin</groupId>
33+
<artifactId>kotlin-stdlib</artifactId>
34+
<version>${kotlin.version}</version>
35+
</dependency>
36+
<dependency>
37+
<groupId>org.jetbrains.kotlin</groupId>
38+
<artifactId>kotlin-test-junit</artifactId>
39+
<version>${kotlin.version}</version>
40+
<scope>test</scope>
41+
</dependency>
42+
</dependencies>
43+
44+
<build>
45+
<sourceDirectory>src/main/kotlin</sourceDirectory>
46+
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
47+
48+
<plugins>
49+
<!-- build plugins -->
50+
</plugins>
51+
</build>
52+
</project>

library/pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<artifactId>library</artifactId>
6+
<version>${revision}</version>
7+
8+
<parent>
9+
<groupId>com.example.pom</groupId>
10+
<artifactId>intermediate-java-pom</artifactId>
11+
<version>${revision}</version>
12+
<relativePath>../IntermediatePom</relativePath>
13+
</parent>
14+
15+
<dependencies>
16+
<dependency>
17+
<groupId>org.webjars</groupId>
18+
<artifactId>swagger-ui</artifactId>
19+
<version>3.30.0</version>
20+
</dependency>
21+
</dependencies>
22+
23+
</project>

pom.xml

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<project xmlns="http://maven.apache.org/POM/4.0.0" 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+
<groupId>com.example.pom</groupId>
8+
<artifactId>main</artifactId>
9+
<version>${revision}</version>
10+
11+
<modules>
12+
<module>IntermediatePom</module>
13+
<module>JavaPom</module>
14+
<module>KotlinPom</module>
15+
<module>library</module>
16+
</modules>
17+
18+
<name>main-pom</name>
19+
<packaging>pom</packaging>
20+
21+
<scm>
22+
<url>https://github.com/Tijs-2/example.git</url>
23+
<connection>scm:git@github.com:Tijs-2/example.git</connection>
24+
<developerConnection>scm:git@github.com:Tijs-2/example.git</developerConnection>
25+
<tag>HEAD</tag>
26+
</scm>
27+
28+
29+
<properties>
30+
<revision>1.0-SNAPSHOT</revision>
31+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
33+
34+
<maven.compiler.source>13</maven.compiler.source>
35+
<maven.compiler.target>13</maven.compiler.target>
36+
37+
<junit.version>5.7.0-M1</junit.version>
38+
39+
<cfg4j.version>4.4.1</cfg4j.version>
40+
<slf4j.version>1.7.30</slf4j.version>
41+
<!--Maven-->
42+
<versions-maven-plugin.version>2.7</versions-maven-plugin.version>
43+
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
44+
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
45+
<maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
46+
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
47+
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
48+
<build-helper-plugin.version>3.2.0</build-helper-plugin.version>
49+
<maven-install-plugin.version>3.0.0-M1</maven-install-plugin.version>
50+
<maven-deploy-plugin.version>3.0.0-M1</maven-deploy-plugin.version>
51+
<maven-site-plugin.version>3.9.1</maven-site-plugin.version>
52+
<tiles-maven-plugin.version>2.17</tiles-maven-plugin.version>
53+
<exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
54+
<dockerfile-maven-version>1.4.13</dockerfile-maven-version>
55+
</properties>
56+
57+
<dependencies>
58+
<dependency>
59+
<groupId>io.swagger.core.v3</groupId>
60+
<artifactId>swagger-core</artifactId>
61+
<version>2.1.4</version>
62+
</dependency>
63+
<dependency>
64+
<groupId>io.swagger.core.v3</groupId>
65+
<artifactId>swagger-annotations</artifactId>
66+
<version>2.1.4</version>
67+
</dependency>
68+
</dependencies>
69+
70+
<build>
71+
<pluginManagement>
72+
<plugins>
73+
<plugin>
74+
<groupId>org.apache.maven.plugins</groupId>
75+
<artifactId>maven-enforcer-plugin</artifactId>
76+
<version>3.0.0-M3</version>
77+
</plugin>
78+
<plugin>
79+
<groupId>org.codehaus.mojo</groupId>
80+
<artifactId>build-helper-maven-plugin</artifactId>
81+
<version>${build-helper-plugin.version}</version>
82+
</plugin>
83+
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
84+
<plugin>
85+
<artifactId>maven-clean-plugin</artifactId>
86+
<version>${maven-clean-plugin.version}</version>
87+
</plugin>
88+
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
89+
<plugin>
90+
<groupId>org.codehaus.mojo</groupId>
91+
<artifactId>versions-maven-plugin</artifactId>
92+
<version>${versions-maven-plugin.version}</version>
93+
</plugin>
94+
<plugin>
95+
<artifactId>maven-resources-plugin</artifactId>
96+
<version>${maven-resources-plugin.version}</version>
97+
</plugin>
98+
<plugin>
99+
<artifactId>maven-compiler-plugin</artifactId>
100+
<version>${maven-compiler-plugin.version}</version>
101+
</plugin>
102+
<plugin>
103+
<artifactId>maven-surefire-plugin</artifactId>
104+
<version>${maven-surefire-plugin.version}</version>
105+
</plugin>
106+
<plugin>
107+
<groupId>org.apache.maven.plugins</groupId>
108+
<artifactId>maven-jar-plugin</artifactId>
109+
<version>3.2.0</version>
110+
</plugin>
111+
<plugin>
112+
<artifactId>maven-install-plugin</artifactId>
113+
<version>${maven-install-plugin.version}</version>
114+
</plugin>
115+
<plugin>
116+
<artifactId>maven-deploy-plugin</artifactId>
117+
<version>${maven-deploy-plugin.version}</version>
118+
</plugin>
119+
<plugin>
120+
<artifactId>maven-site-plugin</artifactId>
121+
<version>3.9.1</version>
122+
</plugin>
123+
<plugin>
124+
<groupId>org.codehaus.mojo</groupId>
125+
<artifactId>exec-maven-plugin</artifactId>
126+
<version>${exec-maven-plugin.version}</version>
127+
</plugin>
128+
</plugins>
129+
</pluginManagement>
130+
<plugins>
131+
<plugin>
132+
<groupId>org.apache.maven.plugins</groupId>
133+
<artifactId>maven-enforcer-plugin</artifactId>
134+
<executions>
135+
<execution>
136+
<id>enforce-maven</id>
137+
<goals>
138+
<goal>enforce</goal>
139+
</goals>
140+
<configuration>
141+
<rules>
142+
<requireMavenVersion>
143+
<version>3.6.0</version>
144+
</requireMavenVersion>
145+
</rules>
146+
</configuration>
147+
</execution>
148+
</executions>
149+
</plugin>
150+
</plugins>
151+
</build>
152+
</project>

0 commit comments

Comments
 (0)