Skip to content

Commit d95f56d

Browse files
committed
conga-aem-maven-plugin: Allow to provide separate credentials for package manager and Felix console.
1 parent c178015 commit d95f56d

4 files changed

Lines changed: 26 additions & 4 deletions

File tree

changes.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 https://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd">
2424
<body>
2525

26+
<release version="1.11.4" date="not released">
27+
<action type="update" dev="sseifert">
28+
conga-aem-maven-plugin: Allow to provide separate credentials for package manager and Felix console.
29+
</action>
30+
</release>
31+
2632
<release version="1.11.2" date="2020-04-28">
2733
<action type="update" dev="sseifert">
2834
conga-aem-maven-plugin: Allow to defined custom package properties for 'cloudmanager-all-package' goal.

conga-aem-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
<dependency>
108108
<groupId>io.wcm.tooling.commons</groupId>
109109
<artifactId>io.wcm.tooling.commons.crx-packmgr-helper</artifactId>
110-
<version>1.6.4</version>
110+
<version>1.6.5-SNAPSHOT</version>
111111
<scope>compile</scope>
112112
</dependency>
113113

tooling/conga-aem-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
<dependency>
107107
<groupId>io.wcm.tooling.commons</groupId>
108108
<artifactId>io.wcm.tooling.commons.crx-packmgr-helper</artifactId>
109-
<version>1.6.4</version>
109+
<version>1.6.5-SNAPSHOT</version>
110110
<scope>compile</scope>
111111
</dependency>
112112

tooling/conga-aem-maven-plugin/src/main/java/io/wcm/devops/conga/plugins/aem/maven/AbstractContentPackageMojo.java

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,31 @@ abstract class AbstractContentPackageMojo extends AbstractMojo {
5555
private String serviceURL;
5656

5757
/**
58-
* The user name to authenticate as against the remote CRX system.
58+
* The user name to authenticate as against the remote CRX system (package manager).
5959
*/
6060
@Parameter(property = "vault.userId", required = true, defaultValue = "admin")
6161
private String userId;
6262

6363
/**
64-
* The password to authenticate against the remote CRX system.
64+
* The password to authenticate against the remote CRX system (package manager).
6565
*/
6666
@Parameter(property = "vault.password", required = true, defaultValue = "admin")
6767
private String password;
6868

69+
/**
70+
* The user name to authenticate as against the remote CRX system (Felix console).
71+
* Defaults to the value from <code>userId</code>.
72+
*/
73+
@Parameter(property = "console.userId", required = true)
74+
private String consoleUserId;
75+
76+
/**
77+
* The password to authenticate against the remote CRX system (Felix console).
78+
* Defaults to the value from <code>password</code>.
79+
*/
80+
@Parameter(property = "console.password", required = true)
81+
private String consolePassword;
82+
6983
/**
7084
* Set this to "true" to skip installing packages to CRX although configured in the POM.
7185
*/
@@ -164,6 +178,8 @@ protected PackageManagerProperties getPackageManagerProperties() throws MojoExec
164178
props.setPackageManagerUrl(buildPackageManagerUrl());
165179
props.setUserId(this.userId);
166180
props.setPassword(this.password);
181+
props.setConsoleUserId(this.consoleUserId);
182+
props.setConsolePassword(this.consolePassword);
167183
props.setRetryCount(this.retryCount);
168184
props.setRetryDelaySec(this.retryDelay);
169185
props.setBundleStatusUrl(buildBundleStatusUrl());

0 commit comments

Comments
 (0)