Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1.5 KB

README.md

File metadata and controls

43 lines (36 loc) · 1.5 KB

Starter Maven Plugin

This is the starter-maven-plugin.

Apache License, Version 2.0, January 2004 Maven Central Build Status

Quickstart

This plugin generates a resolved version of your pom.xml and makes maven to install and deploy this one instead of the original pom.xml.

  <build>
    <plugins>
      <plugin>
        <groupId>com.github.mavenhaus</groupId>
        <artifactId>starter-maven-plugin</artifactId>
        <!--<version>INSERT LATEST VERSION HERE</version>-->
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <!-- See usage on maven site from link above for details -->
        </configuration>
      </plugin>
    </plugins>
  </build>

Releasing

  • Make sure gpg-agent is running.
  • Execute mvn -B release:prepare release:perform

For publishing the site do the following:

cd target/checkout
mvn verify site site:stage scm-publish:publish-scm