Skip to content

Commit f30476e

Browse files
committed
Changes -> build performance improve
1 parent 97e0306 commit f30476e

1 file changed

Lines changed: 36 additions & 35 deletions

File tree

pom.xml

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<groupId>de.einfachesache</groupId>
99
<artifactId>easyapi</artifactId>
10-
<version>1.0.1</version>
10+
<version>1.0.1-SNAPSHOT</version>
1111
<packaging>jar</packaging>
1212

1313
<name>EasyAPI</name>
@@ -122,40 +122,6 @@
122122
</configuration>
123123
</plugin>
124124

125-
<!-- Sources anhängen (Pflicht für Central) -->
126-
<plugin>
127-
<groupId>org.apache.maven.plugins</groupId>
128-
<artifactId>maven-source-plugin</artifactId>
129-
<version>3.3.1</version>
130-
<executions>
131-
<execution>
132-
<id>attach-sources</id>
133-
<goals>
134-
<goal>jar</goal>
135-
</goals>
136-
</execution>
137-
</executions>
138-
</plugin>
139-
140-
<!-- Javadoc anhängen (Pflicht für Central) -->
141-
<plugin>
142-
<groupId>org.apache.maven.plugins</groupId>
143-
<artifactId>maven-javadoc-plugin</artifactId>
144-
<version>3.8.0</version>
145-
<executions>
146-
<execution>
147-
<id>attach-javadocs</id>
148-
<goals>
149-
<goal>jar</goal>
150-
</goals>
151-
</execution>
152-
</executions>
153-
<configuration>
154-
<source>${java.version}</source>
155-
<failOnError>false</failOnError>
156-
</configuration>
157-
</plugin>
158-
159125
<!-- Shading, falls du ein shaded Jar brauchst -->
160126
<plugin>
161127
<groupId>org.apache.maven.plugins</groupId>
@@ -178,6 +144,26 @@
178144
<id>release</id>
179145
<build>
180146
<plugins>
147+
148+
<!-- Javadoc anhängen (Pflicht für Central) -->
149+
<plugin>
150+
<groupId>org.apache.maven.plugins</groupId>
151+
<artifactId>maven-javadoc-plugin</artifactId>
152+
<version>3.8.0</version>
153+
<executions>
154+
<execution>
155+
<id>attach-javadocs</id>
156+
<goals>
157+
<goal>jar</goal>
158+
</goals>
159+
</execution>
160+
</executions>
161+
<configuration>
162+
<source>${java.version}</source>
163+
<failOnError>false</failOnError>
164+
</configuration>
165+
</plugin>
166+
181167
<!-- GPG-Signaturen (Pflicht für Central) -->
182168
<plugin>
183169
<groupId>org.apache.maven.plugins</groupId>
@@ -194,6 +180,21 @@
194180
</executions>
195181
</plugin>
196182

183+
<!-- Sources anhängen (Pflicht für Central) -->
184+
<plugin>
185+
<groupId>org.apache.maven.plugins</groupId>
186+
<artifactId>maven-source-plugin</artifactId>
187+
<version>3.3.1</version>
188+
<executions>
189+
<execution>
190+
<id>attach-sources</id>
191+
<goals>
192+
<goal>jar</goal>
193+
</goals>
194+
</execution>
195+
</executions>
196+
</plugin>
197+
197198
<!-- Neues Central Publishing Plugin für "normale" Releases -->
198199
<plugin>
199200
<groupId>org.sonatype.central</groupId>

0 commit comments

Comments
 (0)