Added simple gitignore and maven now generates sources

This commit is contained in:
GrizzlT 2021-08-21 19:29:24 +02:00
parent 3fecd768f3
commit 839b87e4ba
No known key found for this signature in database
GPG Key ID: 82A1B63E9F5F6A50
2 changed files with 24 additions and 0 deletions

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
# IntelliJ IDEA
*.iml
.idea/
# Maven
target/
# Mac OS
.DS_Store

15
pom.xml
View File

@ -101,6 +101,21 @@
</execution> </execution>
</executions> </executions>
</plugin> </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> </plugins>
<finalName>${project.artifactId}-${project.version}-1.17.1</finalName> <finalName>${project.artifactId}-${project.version}-1.17.1</finalName>
</build> </build>