Merge pull request #24 from GrizzlT/feature/generate-sources

Add gitignore and generate sources
This commit is contained in:
LOOHP 2021-09-07 22:38:20 +08:00 committed by GitHub
commit cfb6608498
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>