0
Wie erzeugt man ein Source-Jar mit maven?
Antwort: Der “pom.xml” wird folgender Abschnitt hinzugefügt
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>