credentials:set-all
Full name:
com.github.genthaler:credentials-maven-plugin:1.3:set-all
Description:
This plugin looks up credentials in
~/.m2/settings.xml, and sets them all to Maven
properties using the pattern id .username and
id.password. Also provides the ability to set the username
and password via system properties. This is to support situations
where the credentials may not be available in all execution
environments, such as continuous integration servers. If the
computed id.username and id.password properties
already exist as either Maven or system properties, these will not
be overridden, since it's assumed that these have been deliberately
set in order to override the settings.xml settings.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase: validate.
Optional Parameters
Name |
Type |
Since |
Description |
useSystemProperties |
boolean |
- |
Whether to set system properties (as well as the default Maven
project properties). This is to support situations where it's not
possible or convenient to propagate Maven properties. An example is
the Maven
AntRun Plugin, where only certain Maven properties are
propagated into the Ant project context. User property is: credentials.useSystemProperties. |
Parameter Details
useSystemProperties:
Whether to set system properties (as well as the default Maven
project properties). This is to support situations where it's not
possible or convenient to propagate Maven properties. An example is
the
Maven
AntRun Plugin, where only certain Maven properties are
propagated into the Ant project context.
- Type: boolean
- Required: No
- User Property: credentials.useSystemProperties