1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

Added maven source plugin

* This allows the viewing of the sources from within an IDE when building against Slimefun.
This commit is contained in:
Omer Oreg 2019-06-27 13:19:32 +03:00 committed by GitHub
parent 64fca6edb1
commit 5bd6d614e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
pom.xml
View File

@ -40,6 +40,20 @@
</testResource>
</testResources>
<finalName>${project.name} v${project.version}</finalName>
<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>
<resources>
<resource>
<directory>${basedir}/src</directory>