spotify/foss-root

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

Homepage:

Size: 20

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

foss-root

A root pom for configuring common release related plugins for open source maven projects.

Usage

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

add license headers to all sources
license:update-file-header
deploy snapshots
deploy
deploy releases
release:prepare
release:perform

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.