diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 159 |
1 files changed, 159 insertions, 0 deletions
@@ -0,0 +1,159 @@ | |||
1 | <project xmlns="http://maven.apache.org/POM/4.0.0" | ||
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
4 | <modelVersion>4.0.0</modelVersion> | ||
5 | |||
6 | <groupId>zajc</groupId> | ||
7 | <artifactId>gogarchiver-ng</artifactId> | ||
8 | <version>2.0</version> | ||
9 | |||
10 | <name>gogarchiver-ng</name> | ||
11 | <description>An archival tool for GOG.com</description> | ||
12 | <inceptionYear>2024</inceptionYear> | ||
13 | |||
14 | <licenses> | ||
15 | <license> | ||
16 | <name>The GNU General Public License, Version 3.0</name> | ||
17 | <url>https://www.gnu.org/licenses/gpl-3.0.txt</url> | ||
18 | </license> | ||
19 | </licenses> | ||
20 | |||
21 | <properties> | ||
22 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
23 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
24 | <maven.compiler.source>17</maven.compiler.source> | ||
25 | <maven.compiler.target>17</maven.compiler.target> | ||
26 | </properties> | ||
27 | |||
28 | <dependencies> | ||
29 | |||
30 | <!-- HTTP Client --> | ||
31 | <dependency> | ||
32 | <groupId>com.konghq</groupId> | ||
33 | <artifactId>unirest-java</artifactId> | ||
34 | <version>3.14.5</version> | ||
35 | </dependency> | ||
36 | |||
37 | <!-- CLI support --> | ||
38 | <dependency> | ||
39 | <groupId>info.picocli</groupId> | ||
40 | <artifactId>picocli</artifactId> | ||
41 | <version>4.7.5</version> | ||
42 | </dependency> | ||
43 | <dependency> | ||
44 | <groupId>me.tongfei</groupId> | ||
45 | <artifactId>progressbar</artifactId> | ||
46 | <version>0.10.0</version> | ||
47 | </dependency> | ||
48 | |||
49 | <!-- Lambda Improvement --> | ||
50 | <dependency> | ||
51 | <groupId>org.eu.zajc</groupId> | ||
52 | <artifactId>extended-functions</artifactId> | ||
53 | <version>1.4.2</version> | ||
54 | </dependency> | ||
55 | |||
56 | <!-- Annotations --> | ||
57 | <dependency> | ||
58 | <groupId>com.google.code.findbugs</groupId> | ||
59 | <artifactId>jsr305</artifactId> | ||
60 | <version>3.0.2</version> | ||
61 | <scope>provided</scope> | ||
62 | </dependency> | ||
63 | |||
64 | </dependencies> | ||
65 | |||
66 | <build> | ||
67 | <plugins> | ||
68 | |||
69 | <!-- Version checker --> | ||
70 | <plugin> | ||
71 | <groupId>org.codehaus.mojo</groupId> | ||
72 | <artifactId>versions-maven-plugin</artifactId> | ||
73 | <version>2.16.2</version> | ||
74 | <configuration> | ||
75 | <rulesUri>file://${project.basedir}/versions-ruleset.xml</rulesUri> | ||
76 | </configuration> | ||
77 | </plugin> | ||
78 | |||
79 | <!-- Version enforcer --> | ||
80 | <plugin> | ||
81 | <groupId>org.apache.maven.plugins</groupId> | ||
82 | <artifactId>maven-enforcer-plugin</artifactId> | ||
83 | <version>3.4.1</version> | ||
84 | <executions> | ||
85 | <execution> | ||
86 | <id>enforce-maven</id> | ||
87 | <goals> | ||
88 | <goal>enforce</goal> | ||
89 | </goals> | ||
90 | <configuration> | ||
91 | <rules> | ||
92 | <requireMavenVersion> | ||
93 | <version>3.2.5</version> | ||
94 | </requireMavenVersion> | ||
95 | </rules> | ||
96 | </configuration> | ||
97 | </execution> | ||
98 | </executions> | ||
99 | </plugin> | ||
100 | |||
101 | <!-- Analyzer --> | ||
102 | <plugin> | ||
103 | <groupId>org.apache.maven.plugins</groupId> | ||
104 | <artifactId>maven-dependency-plugin</artifactId> | ||
105 | <version>3.6.1</version> | ||
106 | <configuration> | ||
107 | <ignoreNonCompile>true</ignoreNonCompile> | ||
108 | </configuration> | ||
109 | </plugin> | ||
110 | |||
111 | <!-- Shader --> | ||
112 | <plugin> | ||
113 | <groupId>org.apache.maven.plugins</groupId> | ||
114 | <artifactId>maven-shade-plugin</artifactId> | ||
115 | <version>3.5.1</version> | ||
116 | <configuration> | ||
117 | <filters> | ||
118 | <filter> | ||
119 | <artifact>*:*</artifact> | ||
120 | <excludes> | ||
121 | <exclude>META-INF/*.SF</exclude> | ||
122 | <exclude>META-INF/*.DSA</exclude> | ||
123 | <exclude>META-INF/*.RSA</exclude> | ||
124 | <exclude>META-INF/LICENSE*</exclude> | ||
125 | <exclude>META-INF/MANIFEST.MF</exclude> | ||
126 | <exclude>META-INF/NOTICE*</exclude> | ||
127 | <exclude>META-INF/DEPENDENCIES</exclude> | ||
128 | <exclude>LICENSE*</exclude> | ||
129 | <exclude>CHANGELOG*</exclude> | ||
130 | <exclude>README*</exclude> | ||
131 | <exclude>about.html</exclude> | ||
132 | <exclude>.keep</exclude> | ||
133 | <exclude>**/module-info.class</exclude> | ||
134 | </excludes> | ||
135 | </filter> | ||
136 | </filters> | ||
137 | <transformers> | ||
138 | <transformer | ||
139 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | ||
140 | <mainClass>zajc.gogarchiver.Main</mainClass> | ||
141 | </transformer> | ||
142 | </transformers> | ||
143 | <createDependencyReducedPom>false</createDependencyReducedPom> | ||
144 | <outputFile>${project.build.directory}/${project.artifactId}.jar</outputFile> | ||
145 | </configuration> | ||
146 | <executions> | ||
147 | <execution> | ||
148 | <phase>package</phase> | ||
149 | <goals> | ||
150 | <goal>shade</goal> | ||
151 | </goals> | ||
152 | </execution> | ||
153 | </executions> | ||
154 | </plugin> | ||
155 | |||
156 | </plugins> | ||
157 | </build> | ||
158 | |||
159 | </project> | ||