JSPM

@auto-it/maven

8.6.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 877
  • Score
    100M100P100Q87122F

Maven publishing plugin for auto

Package Exports

  • @auto-it/maven

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@auto-it/maven) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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>