blob: 7540cf222b789219b5b06260bb495707b8c53f30 [file] [log] [blame]
Matthias Andreas Benkardb291c362020-11-22 10:22:27 +01001<?xml version="1.0"?>
2<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
5 <modelVersion>4.0.0</modelVersion>
6
7 <groupId>eu.mulk</groupId>
8 <artifactId>aendggner</artifactId>
9 <version>${revision}</version>
10
11 <properties>
12 <maven.compiler.parameters>true</maven.compiler.parameters>
13 <maven.compiler.source>15</maven.compiler.source>
14 <maven.compiler.target>15</maven.compiler.target>
15
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
18
19 <enforced.maven-version>3.6.2</enforced.maven-version>
20
21 <antrun-plugin.version>3.0.0</antrun-plugin.version>
22 <compiler-plugin.version>3.8.1</compiler-plugin.version>
23 <enforcer-plugin.version>3.0.0-M3</enforcer-plugin.version>
24 <exec-plugin.version>3.0.0</exec-plugin.version>
25 <processor-plugin.version>4.2</processor-plugin.version>
26 <resources-plugin.version>3.2.0</resources-plugin.version>
27 <shade-plugin.version>3.2.4</shade-plugin.version>
28 <spotless-plugin.version>2.4.1</spotless-plugin.version>
29
30 <basic-annotations.version>0.2.0</basic-annotations.version>
31 <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
32 <google.java.format.version>1.8</google.java.format.version>
33 <kotlin-annotations.version>1.4.10</kotlin-annotations.version>
34 <picocli.version>4.3.2</picocli.version>
35 </properties>
36
37 <dependencies>
38
39 <!-- Annotations -->
40 <dependency>
41 <groupId>pl.tlinkowski.annotation</groupId>
42 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
43 <version>${basic-annotations.version}</version>
44 <scope>provided</scope>
45 </dependency>
46 <dependency>
47 <groupId>com.google.code.findbugs</groupId>
48 <artifactId>jsr305</artifactId>
49 <version>${findbugs-jsr305.version}</version>
50 <scope>provided</scope>
51 </dependency>
52 <dependency>
53 <groupId>org.jetbrains.kotlin</groupId>
54 <artifactId>kotlin-annotations-jvm</artifactId>
55 <version>${kotlin-annotations.version}</version>
56 <scope>provided</scope>
57 </dependency>
58
59 <dependency>
60 <groupId>info.picocli</groupId>
61 <artifactId>picocli</artifactId>
62 <version>${picocli.version}</version>
63 </dependency>
64
65 </dependencies>
66
67 <build>
68
69 <pluginManagement>
70 <plugins>
71
72 <plugin>
73 <groupId>org.codehaus.mojo</groupId>
74 <artifactId>versions-maven-plugin</artifactId>
75 <configuration>
76 <generateBackupPoms>false</generateBackupPoms>
77 </configuration>
78 </plugin>
79
80 </plugins>
81 </pluginManagement>
82
83 <plugins>
84
85 <!-- Compiler -->
86 <plugin>
87 <artifactId>maven-compiler-plugin</artifactId>
88 <version>${compiler-plugin.version}</version>
89 </plugin>
90
91 <!-- Resources -->
92 <plugin>
93 <artifactId>maven-resources-plugin</artifactId>
94 <version>${resources-plugin.version}</version>
95 </plugin>
96
97 <!-- Google Java Code Formatter, for enforcing style conventions -->
98 <plugin>
99 <groupId>com.diffplug.spotless</groupId>
100 <artifactId>spotless-maven-plugin</artifactId>
101 <version>${spotless-plugin.version}</version>
102 <configuration>
103 <java>
104 <removeUnusedImports/>
105 <importOrder>
106 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
107 </importOrder>
108 <googleJavaFormat>
109 <version>${google.java.format.version}</version>
110 <style>GOOGLE</style>
111 </googleJavaFormat>
112 </java>
113 </configuration>
114 </plugin>
115
116 <plugin>
117 <artifactId>maven-antrun-plugin</artifactId>
118 <version>${antrun-plugin.version}</version>
119 </plugin>
120
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-enforcer-plugin</artifactId>
124 <version>${enforcer-plugin.version}</version>
125 <executions>
126 <execution>
127 <id>enforce-maven</id>
128 <goals>
129 <goal>enforce</goal>
130 </goals>
131 <configuration>
132 <rules>
133 <requireMavenVersion>
134 <version>${enforced.maven-version}</version>
135 </requireMavenVersion>
136 </rules>
137 </configuration>
138 </execution>
139 </executions>
140 </plugin>
141
142 <plugin>
143 <groupId>org.codehaus.mojo</groupId>
144 <artifactId>exec-maven-plugin</artifactId>
145 <version>${exec-plugin.version}</version>
146 <configuration>
147 <mainClass>eu.mulk.aendggner.AendGgner</mainClass>
148 </configuration>
149 </plugin>
150
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-shade-plugin</artifactId>
154 <version>${shade-plugin.version}</version>
155 <executions>
156 <execution>
157 <goals>
158 <goal>shade</goal>
159 </goals>
160 <configuration>
161 <shadedArtifactAttached>true</shadedArtifactAttached>
162 <transformers>
163 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
164 <mainClass>eu.mulk.aendggner.AendGgner</mainClass>
165 </transformer>
166 </transformers>
167 </configuration>
168 </execution>
169 </executions>
170 </plugin>
171
172 </plugins>
173
174 </build>
175
176</project>