The maven plugin

This plugin is useful for building parts that use maven.

The maven build system is commonly used to build Java projects. The plugin requires a pom.xml in the root of the source tree.

This plugin is only available to core and core18 based snaps. See Base snaps for details.

Plugin-specific keywords

  • maven-options:
    An array of maven command line options.


    plugin: maven
    source-tag: TOMCAT_9_0_5
    source_tag: trunk
    source-type: git
      [-DskipTests=true, -Dsomarg=false]

Examples on GitHub

Last updated 2 years ago.