maven: generate sources jar

master
Oliver 3 months ago
parent c3e29a2c40
commit d3e278d117
Signed by: okaestne
GPG Key ID: 06A81B143EA9588F
  1. 17
      pom.xml

@ -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>

Loading…
Cancel
Save