bundlebee:cipher-password
Cipher a password to put it in ~/.m2/settings.xml
servers (useful for deploy command for example).
Coordinates
<plugin>
<groupId>io.yupiik</groupId>
<artifactId>bundlebee-maven-plugin</artifactId>
<version>1.0.28-SNAPSHOT</version>
</plugin>
To call this goal from the command line execute: mvn bundlebee:cipher-password
.
To bind this goal in the build you can use:
<plugin>
<groupId>io.yupiik</groupId>
<artifactId>bundlebee-maven-plugin</artifactId>
<version>1.0.28-SNAPSHOT</version>
<executions>
<execution>
<id>my-execution</id>
<goals>
<goal>cipher-password</goal>
</goals>
<configuration>
<!-- execution specific configuration come there -->
</configuration>
</execution>
</executions>
</plugin>
You can execute this goal particularly with mvn bundlebee:cipher-password@my-execution
command.
Configuration
- customPlaceholders (
Map
) -
Custom properties injected in the main, it is often used for placeholders. If the key (tag in pom) starts with
bundlebee-placeholder-import
then the value is resolved as a properties file which is injected in the resulting placeholders (indirect placeholders). Property:${bundlebee.cipher-password.customPlaceholders}
. - packaging (
String
) -
Current module packaging. Default value:
${project.packaging}
. Property: ``. - password (
String
) -
Password value to cipher (
auto
generates a random one). Default value:auto
. Property:${bundlebee.cipher-password.password}
. - skip (
boolean
) -
Skip execution. Default value:
false
. Property:${bundlebee.skip}
. - skipMavenForcedFilteringForPlaceholders (
boolean
) -
If
true
, bundlebee lookup in maven context will be one level only which meansfoo
will be looked up as such in maven and not`${foo}
which will work. Default value:false
. Property:${bundlebee.skipMavenForcedFilteringForPlaceholders}
. - skipPackaging (
List
) -
Skipped packaging types. Default value:
pom
. Property:${bundlebee.skipPackaging}
. - useDefaultLogging (
boolean
) -
Should JUL logging redirected to Maven logging (enable it only if you set up maven to use JUL). Default value:
false
. Property:${bundlebee.useDefaultLogging}
.