Skip to content

Commit 4427d74

Browse files
ci: Releasing version 0.1.0
1 parent e52238b commit 4427d74

File tree

2 files changed

+380
-1
lines changed

2 files changed

+380
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>org.codejive.jvm</groupId>
77
<artifactId>jvm</artifactId>
8-
<version>0.0.1-SNAPSHOT</version>
8+
<version>0.1.0</version>
99

1010
<name>Java Package Manager</name>
1111
<description>A command line tool that helps you install and manage multiple Java versions on your machine.</description>

pom.xml.versionsBackup

Lines changed: 379 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,379 @@
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+
<groupId>org.codejive.jvm</groupId>
7+
<artifactId>jvm</artifactId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
10+
<name>Java Package Manager</name>
11+
<description>A command line tool that helps you install and manage multiple Java versions on your machine.</description>
12+
<url>https://github.com/codejive/java-jvm</url>
13+
14+
<licenses>
15+
<license>
16+
<name>The Apache Software License, Version 2.0</name>
17+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
18+
</license>
19+
</licenses>
20+
21+
<developers>
22+
<developer>
23+
<name>Tako Schotanus</name>
24+
<email>tako@codejive.org</email>
25+
<organization>Codejive</organization>
26+
<organizationUrl>https://github.com/codejive</organizationUrl>
27+
</developer>
28+
</developers>
29+
30+
<properties>
31+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32+
<maven.compiler.source>11</maven.compiler.source>
33+
<maven.compiler.target>11</maven.compiler.target>
34+
<mainClass>org.codejive.jvm.Main</mainClass>
35+
<version.devkitman>0.3.0</version.devkitman>
36+
<version.asciitable>0.3.2</version.asciitable>
37+
<version.picocli>4.7.7</version.picocli>
38+
<version.snakeyaml>2.5</version.snakeyaml>
39+
<version.slf4j>2.0.17</version.slf4j>
40+
<version.spotless>3.0.0</version.spotless>
41+
<version.google-java-format>1.22.0</version.google-java-format>
42+
<version.junit>6.0.0</version.junit>
43+
<version.mockito>5.20.0</version.mockito>
44+
<version.assertj>3.27.6</version.assertj>
45+
</properties>
46+
47+
<dependencies>
48+
<dependency>
49+
<groupId>dev.jbang</groupId>
50+
<artifactId>devkitman</artifactId>
51+
<version>${version.devkitman}</version>
52+
</dependency>
53+
<dependency>
54+
<groupId>de.vandermeer</groupId>
55+
<artifactId>asciitable</artifactId>
56+
<version>${version.asciitable}</version>
57+
</dependency>
58+
<dependency>
59+
<groupId>info.picocli</groupId>
60+
<artifactId>picocli</artifactId>
61+
<version>${version.picocli}</version>
62+
</dependency>
63+
<dependency>
64+
<groupId>org.yaml</groupId>
65+
<artifactId>snakeyaml</artifactId>
66+
<version>${version.snakeyaml}</version>
67+
</dependency>
68+
<dependency>
69+
<groupId>org.slf4j</groupId>
70+
<artifactId>slf4j-api</artifactId>
71+
<version>${version.slf4j}</version>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.slf4j</groupId>
75+
<artifactId>slf4j-simple</artifactId>
76+
<version>${version.slf4j}</version>
77+
</dependency>
78+
79+
<!-- Test dependencies -->
80+
<dependency>
81+
<groupId>org.junit.jupiter</groupId>
82+
<artifactId>junit-jupiter</artifactId>
83+
<version>${version.junit}</version>
84+
<scope>test</scope>
85+
</dependency>
86+
<dependency>
87+
<groupId>org.mockito</groupId>
88+
<artifactId>mockito-core</artifactId>
89+
<version>${version.mockito}</version>
90+
<scope>test</scope>
91+
</dependency>
92+
<dependency>
93+
<groupId>org.mockito</groupId>
94+
<artifactId>mockito-junit-jupiter</artifactId>
95+
<version>${version.mockito}</version>
96+
<scope>test</scope>
97+
</dependency>
98+
<dependency>
99+
<groupId>org.assertj</groupId>
100+
<artifactId>assertj-core</artifactId>
101+
<version>${version.assertj}</version>
102+
<scope>test</scope>
103+
</dependency>
104+
</dependencies>
105+
106+
<build>
107+
<pluginManagement>
108+
<plugins>
109+
<plugin>
110+
<groupId>com.diffplug.spotless</groupId>
111+
<artifactId>spotless-maven-plugin</artifactId>
112+
<version>${version.spotless}</version>
113+
</plugin>
114+
<plugin>
115+
<groupId>org.apache.maven.plugins</groupId>
116+
<artifactId>maven-compiler-plugin</artifactId>
117+
<version>3.14.1</version>
118+
</plugin>
119+
<plugin>
120+
<groupId>org.apache.maven.plugins</groupId>
121+
<artifactId>maven-jar-plugin</artifactId>
122+
<version>3.4.2</version>
123+
</plugin>
124+
<plugin>
125+
<groupId>org.apache.maven.plugins</groupId>
126+
<artifactId>maven-shade-plugin</artifactId>
127+
<version>3.6.1</version>
128+
</plugin>
129+
<plugin>
130+
<groupId>org.codehaus.mojo</groupId>
131+
<artifactId>appassembler-maven-plugin</artifactId>
132+
<version>2.1.0</version>
133+
</plugin>
134+
<plugin>
135+
<groupId>org.apache.maven.plugins</groupId>
136+
<artifactId>maven-source-plugin</artifactId>
137+
<version>3.3.1</version>
138+
</plugin>
139+
<plugin>
140+
<groupId>org.apache.maven.plugins</groupId>
141+
<artifactId>maven-javadoc-plugin</artifactId>
142+
<version>3.12.0</version>
143+
</plugin>
144+
<plugin>
145+
<groupId>org.apache.maven.plugins</groupId>
146+
<artifactId>maven-gpg-plugin</artifactId>
147+
<version>3.2.8</version>
148+
</plugin>
149+
<plugin>
150+
<groupId>org.jreleaser</groupId>
151+
<artifactId>jreleaser-maven-plugin</artifactId>
152+
<version>1.20.0</version>
153+
<inherited>false</inherited>
154+
</plugin>
155+
</plugins>
156+
</pluginManagement>
157+
<plugins>
158+
<plugin>
159+
<groupId>com.diffplug.spotless</groupId>
160+
<artifactId>spotless-maven-plugin</artifactId>
161+
<configuration>
162+
<formats>
163+
<format>
164+
<includes>
165+
<include>**/*.md</include>
166+
<include>**/*.txt</include>
167+
<include>.gitignore</include>
168+
<include>.gitattributes</include>
169+
</includes>
170+
<excludes>
171+
<exclude>**/target/**</exclude>
172+
</excludes>
173+
<trimTrailingWhitespace />
174+
<endWithNewline />
175+
<indent>
176+
<spaces>true</spaces>
177+
<spacesPerTab>4</spacesPerTab>
178+
</indent>
179+
</format>
180+
</formats>
181+
<java>
182+
<googleJavaFormat>
183+
<version>${version.google-java-format}</version>
184+
<style>AOSP</style>
185+
</googleJavaFormat>
186+
<toggleOffOn />
187+
</java>
188+
</configuration>
189+
<executions>
190+
<execution>
191+
<phase>verify</phase>
192+
<goals>
193+
<goal>check</goal>
194+
</goals>
195+
</execution>
196+
</executions>
197+
</plugin>
198+
<plugin>
199+
<groupId>org.apache.maven.plugins</groupId>
200+
<artifactId>maven-compiler-plugin</artifactId>
201+
<executions>
202+
<execution>
203+
<id>default-proc</id>
204+
<goals>
205+
<goal>compile</goal>
206+
</goals>
207+
<phase>generate-sources</phase>
208+
<configuration>
209+
<annotationProcessorPaths>
210+
<path>
211+
<groupId>info.picocli</groupId>
212+
<artifactId>picocli-codegen</artifactId>
213+
<version>${version.picocli}</version>
214+
</path>
215+
</annotationProcessorPaths>
216+
<compilerArgs>
217+
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
218+
</compilerArgs>
219+
<proc>only</proc>
220+
</configuration>
221+
</execution>
222+
</executions>
223+
</plugin>
224+
<plugin>
225+
<groupId>org.apache.maven.plugins</groupId>
226+
<artifactId>maven-jar-plugin</artifactId>
227+
<configuration>
228+
<archive>
229+
<manifest>
230+
<mainClass>${mainClass}</mainClass>
231+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
232+
</manifest>
233+
</archive>
234+
</configuration>
235+
</plugin>
236+
<plugin>
237+
<groupId>org.apache.maven.plugins</groupId>
238+
<artifactId>maven-shade-plugin</artifactId>
239+
<executions>
240+
<execution>
241+
<id>cli</id>
242+
<goals>
243+
<goal>shade</goal>
244+
</goals>
245+
<phase>package</phase>
246+
<configuration>
247+
<createDependencyReducedPom>false</createDependencyReducedPom>
248+
<shadedArtifactAttached>true</shadedArtifactAttached>
249+
<shadedClassifierName>cli</shadedClassifierName>
250+
<transformers>
251+
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
252+
<transformer implementation="org.apache.maven.plugins.shade.resource.SisuIndexResourceTransformer" />
253+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
254+
<manifestEntries>
255+
<Main-Class>${mainClass}</Main-Class>
256+
<Specification-Title>${project.artifactId}</Specification-Title>
257+
<Specification-Version>${project.version}</Specification-Version>
258+
<Implementation-Title>${project.artifactId}</Implementation-Title>
259+
<Implementation-Version>${project.version}</Implementation-Version>
260+
<Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
261+
</manifestEntries>
262+
</transformer>
263+
</transformers>
264+
<filters>
265+
<filter>
266+
<artifact>*:*</artifact>
267+
<excludes>
268+
<exclude>META-INF/MANIFEST.MF</exclude>
269+
<exclude>META-INF/LICENSE</exclude>
270+
<exclude>META-INF/LICENSE.txt</exclude>
271+
<exclude>META-INF/DEPENDENCIES</exclude>
272+
<exclude>META-INF/NOTICE</exclude>
273+
<exclude>META-INF/NOTICE.txt</exclude>
274+
<exclude>**/module-info.class</exclude>
275+
</excludes>
276+
</filter>
277+
</filters>
278+
</configuration>
279+
</execution>
280+
</executions>
281+
</plugin>
282+
<plugin>
283+
<groupId>org.codehaus.mojo</groupId>
284+
<artifactId>appassembler-maven-plugin</artifactId>
285+
<configuration>
286+
<assembleDirectory>${project.build.directory}/binary</assembleDirectory>
287+
<repositoryLayout>flat</repositoryLayout>
288+
<repositoryName>lib</repositoryName>
289+
<programs>
290+
<program>
291+
<mainClass>${mainClass}</mainClass>
292+
<id>jvm</id>
293+
</program>
294+
</programs>
295+
</configuration>
296+
<executions>
297+
<execution>
298+
<id>make-distribution</id>
299+
<phase>package</phase>
300+
<goals>
301+
<goal>assemble</goal>
302+
</goals>
303+
</execution>
304+
</executions>
305+
</plugin>
306+
<plugin>
307+
<groupId>org.jreleaser</groupId>
308+
<artifactId>jreleaser-maven-plugin</artifactId>
309+
<inherited>false</inherited>
310+
<configuration>
311+
<configFile>${project.basedir}/jreleaser.yml</configFile>
312+
</configuration>
313+
</plugin>
314+
</plugins>
315+
</build>
316+
317+
<profiles>
318+
<profile>
319+
<id>release</id>
320+
<properties>
321+
<altDeploymentRepository>local::file:./target/staging-deploy</altDeploymentRepository>
322+
</properties>
323+
<build>
324+
<defaultGoal>deploy</defaultGoal>
325+
<plugins>
326+
<plugin>
327+
<groupId>org.apache.maven.plugins</groupId>
328+
<artifactId>maven-source-plugin</artifactId>
329+
<executions>
330+
<execution>
331+
<id>attach-sources</id>
332+
<goals>
333+
<goal>jar</goal>
334+
</goals>
335+
<configuration>
336+
<attach>true</attach>
337+
</configuration>
338+
</execution>
339+
</executions>
340+
</plugin>
341+
<plugin>
342+
<groupId>org.apache.maven.plugins</groupId>
343+
<artifactId>maven-javadoc-plugin</artifactId>
344+
<executions>
345+
<execution>
346+
<id>attach-javadocs</id>
347+
<goals>
348+
<goal>jar</goal>
349+
</goals>
350+
<configuration>
351+
<attach>true</attach>
352+
</configuration>
353+
</execution>
354+
</executions>
355+
</plugin>
356+
<!--plugin>
357+
<groupId>org.apache.maven.plugins</groupId>
358+
<artifactId>maven-gpg-plugin</artifactId>
359+
<executions>
360+
<execution>
361+
<id>sign-artifacts</id>
362+
<phase>verify</phase>
363+
<goals>
364+
<goal>sign</goal>
365+
</goals>
366+
</execution>
367+
</executions>
368+
</plugin-->
369+
</plugins>
370+
</build>
371+
</profile>
372+
</profiles>
373+
374+
<scm>
375+
<connection>scm:git:git://github.com/codejive/java-jvm.git</connection>
376+
<developerConnection>scm:git:git@github.com:codejive/java-jvm.git</developerConnection>
377+
<url>http://github.com/codejive/java-jvm</url>
378+
</scm>
379+
</project>

0 commit comments

Comments
 (0)