maven: generate sources jar

This commit is contained in:
Oliver 2022-07-13 23:30:00 +02:00
parent c3e29a2c40
commit d3e278d117
Signed by: okaestne
GPG Key ID: 06A81B143EA9588F
1 changed files with 16 additions and 1 deletions

17
pom.xml
View File

@ -13,8 +13,9 @@
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<version>3.10.1</version>
<configuration>
<excludes>
<exclude>de/mrbesen/test/**</exclude>
@ -23,6 +24,20 @@
<target />
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>