The maven plugin


#1

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.

Plugin-specific keywords

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

    e.g.

 YourJavaApp:
    plugin: maven
    source: https://github.com/apache/tomcat.git
    source-tag: TOMCAT_9_0_5
    source_tag: trunk
    source-type: git
    maven-options:
      [-DskipTests=true, -Dsomarg=false]

Examples on GitHub


Supported plugins
Snap Documentation
#2

Small off-topic: Could you change the thread’s title? :slight_smile: Thank you!


#3

Done


#4

I never cood spell :slight_smile: