-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpom.xml
More file actions
147 lines (134 loc) · 5.35 KB
/
Copy pathpom.xml
File metadata and controls
147 lines (134 loc) · 5.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://apache.org"
xmlns:xsi="http://w3.org"
xsi:schemaLocation="http://apache.org http://apache.org">
<modelVersion>4.0.0</modelVersion>
<!-- 1. Basis-Informationen (Namespace & Projekt) -->
<groupId>de.exware</groupId>
<artifactId>gwtswing</artifactId>
<version>1.4.0</version>
<packaging>jar</packaging>
<!-- 2. Erforderliche Metadaten für Maven Central -->
<name>${project.groupId}:${project.artifactId}</name>
<description>A Java Swing implementation that can be used with Javascript Transpilers GWT or TeaVM</description>
<url>https://github.com/keinhaar/gwtswing</url>
<licenses>
<license>
<name>LGPL-2.1 License</name>
<url>https://www.gnu.org/licenses/lgpl-2.1.html</url>
</license>
</licenses>
<developers>
<developer>
<name>Martin Schmitz</name>
<email>martin.schmitz@exware.de</email>
<organization>eXware</organization>
<organizationUrl>https://www.exware.de</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://://github.com</connection>
<developerConnection>sscm:git:git://://github.com</developerConnection>
<url>https://github.com/keinhaar/gwtswing</url>
</scm>
<dependencies>
<dependency>
<groupId>de.exware</groupId>
<artifactId>gplatform</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
<properties>
<maven.compiler.source>17</maven.compiler.source> <!-- Deine Java Version -->
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<resources>
<resource>
<directory>source/java</directory>
<includes>
<include>**/*.gwt.xml</include>
</includes>
</resource>
<!-- Falls du einen extra Ressourcen-Ordner hast -->
<resource>
<directory>resources/common/</directory>
</resource>
</resources>
<sourceDirectory>source/java</sourceDirectory>
<plugins>
<!-- 3. Erzeugung von Sources (Pflicht) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- Packt auch die Ressourcen (wie LICENSE, .gwt.xml) in das Sources-JAR -->
<excludeResources>false</excludeResources>
<attach>true</attach>
</configuration>
</plugin>
<!-- 4. Erzeugung von Javadoc (Pflicht) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- Ignoriert Fehler im Javadoc-Code -->
<doclint>none</doclint>
<failOnError>false</failOnError>
</configuration>
</plugin>
<!-- 5. GPG Signierung (Pflicht) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- Verhindert hängende Builds im Terminal -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<!-- 6. Das neue Central Publishing Plugin -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.6.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>mavencentral</publishingServerId>
<autoPublish>false</autoPublish> <!-- Erst im Portal prüfen, dann manuell freigeben -->
</configuration>
</plugin>
</plugins>
</build>
</project>