Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit 3856b8f

Browse files
committed
Update pom.xml
1 parent 35b8cd2 commit 3856b8f

File tree

1 file changed

+147
-147
lines changed

1 file changed

+147
-147
lines changed

pom.xml

Lines changed: 147 additions & 147 deletions
Original file line numberDiff line numberDiff line change
@@ -5,212 +5,212 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<groupId>software.xdev</groupId>
8-
<artifactId>{ARTIFACT-ID}</artifactId>
9-
<version>1.0-SNAPSHOT</version>
8+
<artifactId>xdev-swing-framework-template</artifactId>
9+
<version>1.0.0-SNAPSHOT</version>
10+
<packaging>jar</packaging>
1011

11-
<!--
12-
Need to me modified and uncomment, if used.
13-
<name>{NAME}</name>
14-
<description>{DESCRIPTION}</description>
15-
<url>https://github.com/xdev-software/{URL}</url>
12+
13+
<name>xdev-swing-framework-template</name>
14+
<description>xdev-swing-framework-template</description>
15+
<url>https://github.com/xdev-software/xdev-swing-framework-template</url>
1616

1717
<scm>
18-
<url>https://github.com/xdev-software/{URL}</url>
19-
<connection>https://github.com/xdev-software/{URL}.git</connection>
20-
</scm>
21-
-->
18+
<url>https://github.com/xdev-software/xdev-swing-framework-template</url>
19+
<connection>https://github.com/xdev-software/xdev-swing-framework-template.git</connection>
20+
</scm>
21+
22+
<inceptionYear>2023</inceptionYear>
23+
2224
<organization>
2325
<name>XDEV Software</name>
24-
<url>https://xdev-software.com</url>
26+
<url>https://xdev.software</url>
2527
</organization>
2628

27-
<inceptionYear>2003</inceptionYear>
2829
<developers>
29-
<developer>
30-
<name>XDEV Software</name>
31-
<organization>XDEV Software</organization>
32-
<url>https://www.xdev-software.com</url>
33-
</developer>
34-
</developers>
30+
<developer>
31+
<name>XDEV Software</name>
32+
<organization>XDEV Software</organization>
33+
<url>https://xdev.software</url>
34+
</developer>
35+
</developers>
3536

3637
<licenses>
3738
<license>
3839
<name>GNU Lesser General Public License version 3</name>
3940
<url>https://www.gnu.org/licenses/lgpl-3.0.en.html</url>
41+
<distribution>repo</distribution>
4042
</license>
4143
</licenses>
4244

4345
<properties>
44-
<maven.compiler.source>1.8</maven.compiler.source>
45-
<maven.compiler.target>1.8</maven.compiler.target>
46+
<javaVersion>1.8</javaVersion>
47+
<maven.compiler.source>${javaVersion}</maven.compiler.source>
48+
<maven.compiler.target>${javaVersion}</maven.compiler.target>
49+
4650
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47-
<xdev.xapi.version>6.0.1</xdev.xapi.version>
48-
<license.licenseName>lgpl_v3</license.licenseName>
51+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4952
</properties>
5053

51-
<dependencies>
52-
<dependency>
53-
<groupId>com.xdev-software</groupId>
54-
<artifactId>xapi</artifactId>
55-
<version>${xdev.xapi.version}</version>
56-
</dependency>
57-
</dependencies>
58-
5954
<repositories>
6055
<!-- The order of definitions matters. Explicitly defining central here
6156
to make sure it has the highest priority. -->
62-
<repository>
63-
<id>central</id>
64-
<url>https://repo.maven.apache.org/maven2</url>
65-
<snapshots>
66-
<enabled>false</enabled>
67-
</snapshots>
68-
</repository>
57+
<repository>
58+
<id>central</id>
59+
<url>https://repo.maven.apache.org/maven2</url>
60+
<snapshots>
61+
<enabled>false</enabled>
62+
</snapshots>
63+
</repository>
6964
</repositories>
7065

71-
72-
<pluginRepositories>
73-
<!-- The order of definitions matters. Explicitly defining central here
74-
to make sure it has the highest priority. -->
75-
<pluginRepository>
76-
<id>central</id>
77-
<url>https://repo.maven.apache.org/maven2</url>
78-
<snapshots>
79-
<enabled>false</enabled>
80-
</snapshots>
81-
</pluginRepository>
82-
</pluginRepositories>
83-
84-
<distributionManagement>
85-
<snapshotRepository>
86-
<id>ossrh</id>
87-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
88-
</snapshotRepository>
89-
<repository>
90-
<id>ossrh</id>
91-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
92-
</repository>
93-
</distributionManagement>
9466

95-
<build>
96-
<plugins>
67+
<pluginRepositories>
68+
<!-- The order of definitions matters. Explicitly defining central here
69+
to make sure it has the highest priority. -->
70+
<pluginRepository>
71+
<id>central</id>
72+
<url>https://repo.maven.apache.org/maven2</url>
73+
<snapshots>
74+
<enabled>false</enabled>
75+
</snapshots>
76+
</pluginRepository>
77+
</pluginRepositories>
78+
79+
<distributionManagement>
80+
<snapshotRepository>
81+
<id>ossrh</id>
82+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
83+
</snapshotRepository>
84+
<repository>
85+
<id>ossrh</id>
86+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
87+
</repository>
88+
</distributionManagement>
9789

98-
<plugin>
99-
<groupId>org.apache.maven.plugins</groupId>
100-
<artifactId>maven-clean-plugin</artifactId>
101-
<version>3.1.0</version>
102-
</plugin>
103-
<plugin>
104-
<groupId>org.apache.maven.plugins</groupId>
105-
<artifactId>maven-deploy-plugin</artifactId>
106-
<version>3.0.0-M1</version>
107-
</plugin>
108-
<plugin>
109-
<groupId>org.apache.maven.plugins</groupId>
110-
<artifactId>maven-install-plugin</artifactId>
111-
<version>3.0.0-M1</version>
112-
</plugin>
113-
<plugin>
114-
<groupId>org.apache.maven.plugins</groupId>
115-
<artifactId>maven-jar-plugin</artifactId>
116-
<version>3.2.0</version>
117-
</plugin>
118-
<plugin>
119-
<groupId>org.apache.maven.plugins</groupId>
120-
<artifactId>maven-resources-plugin</artifactId>
121-
<version>3.2.0</version>
122-
</plugin>
123-
<plugin>
124-
<groupId>org.apache.maven.plugins</groupId>
125-
<artifactId>maven-site-plugin</artifactId>
126-
<version>3.9.1</version>
127-
</plugin>
90+
<dependencies>
12891

92+
</dependencies>
93+
94+
<build>
95+
<plugins>
12996
<plugin>
130-
<groupId>org.apache.maven.plugins</groupId>
131-
<artifactId>maven-source-plugin</artifactId>
132-
<version>3.2.1</version>
97+
<groupId>com.mycila</groupId>
98+
<artifactId>license-maven-plugin</artifactId>
99+
<version>4.1</version>
100+
<configuration>
101+
<properties>
102+
<email>${project.organization.url}</email>
103+
</properties>
104+
<licenseSets>
105+
<licenseSet>
106+
<header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header>
107+
<includes>
108+
<include>src/main/java/**</include>
109+
<include>src/test/java/**</include>
110+
</includes>
111+
</licenseSet>
112+
</licenseSets>
113+
</configuration>
133114
<executions>
134115
<execution>
135-
<id>attach-sources</id>
136-
<phase>verify</phase>
116+
<id>first</id>
137117
<goals>
138-
<goal>jar-no-fork</goal>
118+
<goal>format</goal>
139119
</goals>
120+
<phase>process-sources</phase>
140121
</execution>
141122
</executions>
142123
</plugin>
143124

144125
<plugin>
145126
<groupId>org.apache.maven.plugins</groupId>
146-
<artifactId>maven-surefire-plugin</artifactId>
147-
<version>3.0.0-M5</version>
127+
<artifactId>maven-compiler-plugin</artifactId>
128+
<version>3.10.1</version>
129+
<configuration>
130+
<source>${maven.compiler.source}</source>
131+
<target>${maven.compiler.target}</target>
132+
<compilerArgs>
133+
<arg>-proc:none</arg>
134+
</compilerArgs>
135+
</configuration>
148136
</plugin>
149137
<plugin>
150138
<groupId>org.apache.maven.plugins</groupId>
151-
<artifactId>maven-enforcer-plugin</artifactId>
152-
<version>3.0.0-M3</version>
139+
<artifactId>maven-javadoc-plugin</artifactId>
140+
<version>3.4.1</version>
153141
<executions>
154142
<execution>
155-
<id>enforce-maven</id>
143+
<id>attach-javadocs</id>
144+
<phase>verify</phase>
156145
<goals>
157-
<goal>enforce</goal>
146+
<goal>jar</goal>
158147
</goals>
159-
<configuration>
160-
<rules>
161-
<requireMavenVersion>
162-
<version>3.5.4</version>
163-
</requireMavenVersion>
164-
<requireJavaVersion>
165-
<version>1.8</version>
166-
</requireJavaVersion>
167-
</rules>
168-
</configuration>
169148
</execution>
170149
</executions>
171-
</plugin>
172-
173-
<plugin>
174-
<groupId>org.apache.maven.plugins</groupId>
175-
<artifactId>maven-compiler-plugin</artifactId>
176-
<version>3.8.1</version>
177150
<configuration>
178-
<compilerId>eclipse</compilerId>
179-
<source>1.8</source>
180-
<target>1.8</target>
151+
<quiet>true</quiet>
152+
<doclint>none</doclint>
181153
</configuration>
182-
<dependencies>
183-
<dependency>
184-
<groupId>org.codehaus.plexus</groupId>
185-
<artifactId>plexus-compiler-eclipse</artifactId>
186-
<version>2.8.8</version>
187-
</dependency>
188-
</dependencies>
189154
</plugin>
190-
191155
<plugin>
192-
<groupId>org.codehaus.mojo</groupId>
193-
<artifactId>license-maven-plugin</artifactId>
194-
<version>2.0.0</version>
195-
156+
<groupId>org.apache.maven.plugins</groupId>
157+
<artifactId>maven-source-plugin</artifactId>
158+
<version>3.2.1</version>
196159
<executions>
197160
<execution>
198-
<id>first</id>
161+
<id>attach-sources</id>
162+
<phase>verify</phase>
199163
<goals>
200-
<goal>update-file-header</goal>
164+
<goal>jar-no-fork</goal>
201165
</goals>
202-
<phase>process-sources</phase>
203-
<configuration>
204-
<roots>
205-
<root>src/main/java</root>
206-
<root>src/test/java</root>
207-
</roots>
208-
</configuration>
209166
</execution>
210167
</executions>
211168
</plugin>
212-
213169
</plugins>
214170
</build>
215-
171+
<profiles>
172+
<profile>
173+
<id>ossrh</id>
174+
<build>
175+
<plugins>
176+
<plugin>
177+
<groupId>org.apache.maven.plugins</groupId>
178+
<artifactId>maven-gpg-plugin</artifactId>
179+
<version>3.0.1</version>
180+
<executions>
181+
<execution>
182+
<id>sign-artifacts</id>
183+
<phase>verify</phase>
184+
<goals>
185+
<goal>sign</goal>
186+
</goals>
187+
<configuration>
188+
<!-- Fixes "gpg: signing failed: Inappropriate ioctl for device" -->
189+
<!-- Prevent `gpg` from using pinentry programs -->
190+
<gpgArguments>
191+
<arg>--pinentry-mode</arg>
192+
<arg>loopback</arg>
193+
</gpgArguments>
194+
</configuration>
195+
</execution>
196+
</executions>
197+
</plugin>
198+
199+
<plugin>
200+
<groupId>org.sonatype.plugins</groupId>
201+
<artifactId>nexus-staging-maven-plugin</artifactId>
202+
<version>1.6.13</version>
203+
<extensions>true</extensions>
204+
<configuration>
205+
<serverId>ossrh</serverId>
206+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
207+
<!-- Sometimes OSSRH is really slow -->
208+
<stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes>
209+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
210+
</configuration>
211+
</plugin>
212+
</plugins>
213+
</build>
214+
</profile>
215+
</profiles>
216216
</project>

0 commit comments

Comments
 (0)