@auto-canary/maven
TypeScript icon, indicating that this package has built-in type declarations

8.1.0-canary.789.10408.0 • Public • Published

Maven Plugin

Release a Java project to a maven instance.

Installation

This plugin is not included with the auto CLI installed via NPM. To install:

npm i --save-dev @auto-it/maven
# or
yarn add -D @auto-it/maven

Usage

{
  "plugins": ["maven"]
}

Maven Project Configuration

Your project must be using the maven release plugin. Make sure the the latest maven-release-plugin is in your pom.xml.

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-release-plugin</artifactId>
  <version>2.5.3</version>
  <configuration>
    <preparationGoals>initialize</preparationGoals>
    <goals>deploy</goals>
  </configuration>
</plugin

You will also need all of the following configuration blocks for all parts of auto to function:

  1. Author

    <developers>
      <developer>
        <name>Andrew Lisowski</name>
        <email>test@email.com</email>
      </developer>
    </developers>
  2. SCM

    <scm>
      <connection>scm:git:https://github.com/Fuego-Tools/java-test-project.git</connection>
      <url>https://github.com/Fuego-Tools/java-test-project</url>
      <tag>HEAD</tag>
    </scm>
  3. Version

    <version>1.0.0-SNAPSHOT</version>

Package Sidebar

Install

npm i @auto-canary/maven

Weekly Downloads

3

Version

8.1.0-canary.789.10408.0

License

none

Unpacked Size

16.9 kB

Total Files

8

Last publish

Collaborators

  • alisowski
  • hipstersmoothie-canary