Skip to content

Commit 2eddc9e

Browse files
committed
Merge remote-tracking branch 'origin/update-from-template' into develop
2 parents 2c83f1d + 3fb9d4b commit 2eddc9e

File tree

2 files changed

+209
-10
lines changed

2 files changed

+209
-10
lines changed

sessionize-java-client-demo/pom.xml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,7 @@
1616
<url>https://xdev.software</url>
1717
</organization>
1818

19-
<licenses>
20-
<license>
21-
<name>Apache License, Version 2.0</name>
22-
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
23-
</license>
24-
</licenses>
25-
2619
<properties>
27-
<license.licenseName>apache_v2</license.licenseName>
28-
2920
<javaVersion>17</javaVersion>
3021
<maven.compiler.release>${javaVersion}</maven.compiler.release>
3122

@@ -76,7 +67,7 @@
7667
<plugin>
7768
<groupId>org.apache.maven.plugins</groupId>
7869
<artifactId>maven-assembly-plugin</artifactId>
79-
<version>3.5.0</version>
70+
<version>3.6.0</version>
8071
<configuration>
8172
<archive>
8273
<manifest>

standard-maven-template/pom.xml

Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
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+
<groupId>com.xdev-software</groupId>
8+
<artifactId>standard-maven-template</artifactId>
9+
<version>1.0.0-SNAPSHOT</version>
10+
<packaging>jar</packaging>
11+
12+
<name>standard-maven-template</name>
13+
<description>standard-maven-template</description>
14+
<url>https://github.com/xdev-software/standard-maven-template</url>
15+
16+
<scm>
17+
<url>https://github.com/xdev-software/standard-maven-template</url>
18+
<connection>https://github.com/xdev-software/standard-maven-template.git</connection>
19+
</scm>
20+
21+
<inceptionYear>2023</inceptionYear>
22+
23+
<organization>
24+
<name>XDEV Software</name>
25+
<url>https://xdev.software</url>
26+
</organization>
27+
28+
<developers>
29+
<developer>
30+
<name>XDEV Software</name>
31+
<organization>XDEV Software</organization>
32+
<url>https://xdev.software</url>
33+
</developer>
34+
</developers>
35+
36+
<licenses>
37+
<license>
38+
<name>Apache License, Version 2.0</name>
39+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
40+
<distribution>repo</distribution>
41+
</license>
42+
</licenses>
43+
44+
<properties>
45+
<javaVersion>17</javaVersion>
46+
<maven.compiler.release>${javaVersion}</maven.compiler.release>
47+
48+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
50+
</properties>
51+
52+
<repositories>
53+
<!-- The order of definitions matters. Explicitly defining central here
54+
to make sure it has the highest priority. -->
55+
<repository>
56+
<id>central</id>
57+
<url>https://repo.maven.apache.org/maven2</url>
58+
<snapshots>
59+
<enabled>false</enabled>
60+
</snapshots>
61+
</repository>
62+
</repositories>
63+
64+
<pluginRepositories>
65+
<!-- The order of definitions matters. Explicitly defining central here
66+
to make sure it has the highest priority. -->
67+
<pluginRepository>
68+
<id>central</id>
69+
<url>https://repo.maven.apache.org/maven2</url>
70+
<snapshots>
71+
<enabled>false</enabled>
72+
</snapshots>
73+
</pluginRepository>
74+
</pluginRepositories>
75+
76+
<distributionManagement>
77+
<snapshotRepository>
78+
<id>ossrh</id>
79+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
80+
</snapshotRepository>
81+
<repository>
82+
<id>ossrh</id>
83+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
84+
</repository>
85+
</distributionManagement>
86+
87+
<build>
88+
<plugins>
89+
<plugin>
90+
<groupId>com.mycila</groupId>
91+
<artifactId>license-maven-plugin</artifactId>
92+
<version>4.2</version>
93+
<configuration>
94+
<properties>
95+
<email>${project.organization.url}</email>
96+
</properties>
97+
<licenseSets>
98+
<licenseSet>
99+
<header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header>
100+
<includes>
101+
<include>src/main/java/**</include>
102+
<include>src/test/java/**</include>
103+
</includes>
104+
</licenseSet>
105+
</licenseSets>
106+
</configuration>
107+
<executions>
108+
<execution>
109+
<id>first</id>
110+
<goals>
111+
<goal>format</goal>
112+
</goals>
113+
<phase>process-sources</phase>
114+
</execution>
115+
</executions>
116+
</plugin>
117+
118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-compiler-plugin</artifactId>
121+
<version>3.11.0</version>
122+
<configuration>
123+
<release>${maven.compiler.release}</release>
124+
<compilerArgs>
125+
<arg>-proc:none</arg>
126+
</compilerArgs>
127+
</configuration>
128+
</plugin>
129+
<plugin>
130+
<groupId>org.apache.maven.plugins</groupId>
131+
<artifactId>maven-javadoc-plugin</artifactId>
132+
<version>3.5.0</version>
133+
<executions>
134+
<execution>
135+
<id>attach-javadocs</id>
136+
<phase>verify</phase>
137+
<goals>
138+
<goal>jar</goal>
139+
</goals>
140+
</execution>
141+
</executions>
142+
<configuration>
143+
<quiet>true</quiet>
144+
<doclint>none</doclint>
145+
</configuration>
146+
</plugin>
147+
<plugin>
148+
<groupId>org.apache.maven.plugins</groupId>
149+
<artifactId>maven-source-plugin</artifactId>
150+
<version>3.3.0</version>
151+
<executions>
152+
<execution>
153+
<id>attach-sources</id>
154+
<phase>verify</phase>
155+
<goals>
156+
<goal>jar-no-fork</goal>
157+
</goals>
158+
</execution>
159+
</executions>
160+
</plugin>
161+
</plugins>
162+
</build>
163+
<profiles>
164+
<profile>
165+
<id>ossrh</id>
166+
<build>
167+
<plugins>
168+
<plugin>
169+
<groupId>org.apache.maven.plugins</groupId>
170+
<artifactId>maven-gpg-plugin</artifactId>
171+
<version>3.1.0</version>
172+
<executions>
173+
<execution>
174+
<id>sign-artifacts</id>
175+
<phase>verify</phase>
176+
<goals>
177+
<goal>sign</goal>
178+
</goals>
179+
<configuration>
180+
<!-- Fixes "gpg: signing failed: Inappropriate ioctl for device" -->
181+
<!-- Prevent `gpg` from using pinentry programs -->
182+
<gpgArguments>
183+
<arg>--pinentry-mode</arg>
184+
<arg>loopback</arg>
185+
</gpgArguments>
186+
</configuration>
187+
</execution>
188+
</executions>
189+
</plugin>
190+
191+
<plugin>
192+
<groupId>org.sonatype.plugins</groupId>
193+
<artifactId>nexus-staging-maven-plugin</artifactId>
194+
<version>1.6.13</version>
195+
<extensions>true</extensions>
196+
<configuration>
197+
<serverId>ossrh</serverId>
198+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
199+
<!-- Sometimes OSSRH is really slow -->
200+
<stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes>
201+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
202+
</configuration>
203+
</plugin>
204+
</plugins>
205+
</build>
206+
</profile>
207+
</profiles>
208+
</project>

0 commit comments

Comments
 (0)