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 >io.github.projectunified</groupId >
8+ <artifactId >MavenTemplate</artifactId >
9+ <version >1.0-SNAPSHOT</version >
10+
11+ <name >MavenTemplate</name >
12+ <description >A template for ProjectUnified's projects</description >
13+ <url >https://github.com/ProjectUnified/${project.name} </url >
14+
15+ <licenses >
16+ <license >
17+ <name >MIT License</name >
18+ <url >https://github.com/ProjectUnified/${project.name} /blob/master/LICENSE</url >
19+ </license >
20+ </licenses >
21+
22+ <developers >
23+ <developer >
24+ <name >HSGamer</name >
25+ 26+ <url >https://github.com/HSGamer</url >
27+ </developer >
28+ </developers >
29+
30+ <issueManagement >
31+ <system >github</system >
32+ <url >https://github.com/ProjectUnified/${project.name} /issues</url >
33+ </issueManagement >
34+
35+ <scm >
36+ <connection >scm:git:https://github.com/ProjectUnified/${project.name} .git</connection >
37+ <
developerConnection >scm:git:
[email protected] :ProjectUnified/
${project.name} .git</
developerConnection >
38+ <url >https://github.com/ProjectUnified/${project.name} </url >
39+ </scm >
40+
41+ <properties >
42+ <java .version>1.8</java .version>
43+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
44+ </properties >
45+
46+ <build >
47+ <plugins >
48+ <plugin >
49+ <artifactId >maven-compiler-plugin</artifactId >
50+ <configuration >
51+ <source >${java.version} </source >
52+ <target >${java.version} </target >
53+ </configuration >
54+ <groupId >org.apache.maven.plugins</groupId >
55+ <version >3.14.0</version >
56+ </plugin >
57+ <plugin >
58+ <groupId >org.apache.maven.plugins</groupId >
59+ <artifactId >maven-source-plugin</artifactId >
60+ <version >3.3.1</version >
61+ <executions >
62+ <execution >
63+ <goals >
64+ <goal >jar</goal >
65+ </goals >
66+ <id >attach-sources</id >
67+ </execution >
68+ </executions >
69+ </plugin >
70+ <plugin >
71+ <groupId >org.apache.maven.plugins</groupId >
72+ <artifactId >maven-javadoc-plugin</artifactId >
73+ <version >3.11.2</version >
74+ <executions >
75+ <execution >
76+ <goals >
77+ <goal >jar</goal >
78+ </goals >
79+ <id >attach-javadocs</id >
80+ </execution >
81+ </executions >
82+ <configuration >
83+ <outputDirectory >${project.build.directory} /reports</outputDirectory >
84+ </configuration >
85+ </plugin >
86+ </plugins >
87+ </build >
88+
89+ <profiles >
90+ <profile >
91+ <id >central</id >
92+ <build >
93+ <plugins >
94+ <plugin >
95+ <groupId >org.apache.maven.plugins</groupId >
96+ <artifactId >maven-gpg-plugin</artifactId >
97+ <version >3.2.8</version >
98+ <executions >
99+ <execution >
100+ <id >sign-artifacts</id >
101+ <phase >verify</phase >
102+ <goals >
103+ <goal >sign</goal >
104+ </goals >
105+ <configuration >
106+ <!-- Prevent `gpg` from using pinentry programs -->
107+ <gpgArguments >
108+ <arg >--pinentry-mode</arg >
109+ <arg >loopback</arg >
110+ </gpgArguments >
111+ </configuration >
112+ </execution >
113+ </executions >
114+ </plugin >
115+ <plugin >
116+ <groupId >org.sonatype.central</groupId >
117+ <artifactId >central-publishing-maven-plugin</artifactId >
118+ <version >0.8.0</version >
119+ <extensions >true</extensions >
120+ <configuration >
121+ <publishingServerId >central</publishingServerId >
122+ <autoPublish >true</autoPublish >
123+ <deploymentName >${project.name} </deploymentName >
124+ </configuration >
125+ </plugin >
126+ </plugins >
127+ </build >
128+ </profile >
129+ </profiles >
130+ </project >
0 commit comments