Name: Apache Maven Source Plugin
Description: The Maven Source Plugin creates a JAR archive of the source files of the current project.
Plugin coordinates:
Group Id: org.apache.maven.plugins
Artifact Id: maven-source-plugin
Version: 3.1.0
Goal Prefix: source
The goal
help:help gives general information about the
source plugin and lists its goals:
The goal
help:describe gives detailed information about the
source and lists its goals:
The
source plugin has the following goals:
-
help:
Display help information on maven-source-plugin.
-
jar:
This plugin bundles all the sources into a jar archive.
-
test-jar:
This plugin bundles all the test sources into a jar archive.
-
jar-no-fork:
This goal bundles all the sources into a jar archive.
This goal does not fork the build and is suitable for attaching to the build lifecycle.
-
test-jar-no-fork:
This goal bundles all the test sources into a jar archive.
This goal functions does not fork the build, and is suitable for attaching to the build lifecycle.
-
aggregate:
Aggregate sources for all modules in an aggregator project.
-
generated-test-jar:
This plugin bundles all the test sources into a jar archive.