Maven parent for Open Source projects
- Add the JitPack repository to your build file
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
- Configure parent on your build file
<parent>
<groupId>io.github.ascentio-tech</groupId>
<artifactId>open-source-parent</artifactId>
<version>master-SNAPSHOT</version>
</parent>
The example is using master-SNAPSHOT
which points to master
branch. You could also use any sha1 revision, branch or tag as version.
- Test it:
mvn package