Name: foss-root
Owner: Spotify
Description: Maven POM that serves as a parent for Spotify FOSS projects
Created: 2016-09-28 14:09:00.0
Updated: 2018-05-23 01:00:44.0
Pushed: 2018-05-22 15:06:22.0
Size: 20
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A root pom for configuring common release related plugins for open source maven projects.
There's still some boilerplate that has to go into your project pom.xml
. Use the template below.
ject>
arent>
<groupId>com.spotify</groupId>
<artifactId>foss-root</artifactId>
<version>6</version>
parent>
rtifactId>YOUR_ARTIFACT_NAME</artifactId>
ersion>VERSION-SNAPSHOT</version>
icenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
licenses>
evelopers>
<developer>
...
</developer>
developers>
cm>
<url>https://github.com/spotify/YOUR_REPO</url>
<connection>scm:git:git@github.com:spotify/YOUR_REPO.git</connection>
<developerConnection>scm:git:git@github.com:spotify/YOUR_REPO.git</developerConnection>
<tag>HEAD</tag>
scm>
uild>
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
</plugins>
build>
roject>
After setting this up, you'll be able to
license:update-file-header
deploy
release:prepare
release:perform