Skip to content

Commit 9e34153

Browse files
committed
cosmetic: eliminate code warnings
1 parent 9c9a6af commit 9e34153

4 files changed

Lines changed: 17 additions & 6 deletions

File tree

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ abstract class AbstractContentPackageMojo extends AbstractMojo {
4444
private static final String CONSOLE_URL = "/system/console";
4545

4646
/**
47-
* <p>
4847
* The URL of the HTTP service API of the CRX package manager.
49-
* </p>
48+
*
5049
* <p>
5150
* See <a href=
5251
* "http://dev.day.com/docs/en/crx/current/how_to/package_manager.html#Managing%20Packages%20on%20the%20Command%20Line"
@@ -116,17 +115,18 @@ abstract class AbstractContentPackageMojo extends AbstractMojo {
116115
private int retryDelay;
117116

118117
/**
119-
* <p>
120118
* Bundle status JSON URL. If an URL is configured the activation status of all bundles in the system is checked
121119
* before it is tried to upload and install a new package and after each upload.
122-
* </p>
120+
*
123121
* <p>
124122
* If not all bundles are activated the upload is delayed up to {@link #bundleStatusWaitLimit} seconds,
125123
* every 5 seconds the activation status is checked anew.
126124
* </p>
125+
*
127126
* <p>
128127
* Expected is an URL like: http://localhost:4502/system/console/bundles/.json
129128
* </p>
129+
*
130130
* <p>
131131
* If the URL is not set it is derived from serviceURL. If set to "-" the status check is disabled.
132132
* </p>
@@ -142,17 +142,18 @@ abstract class AbstractContentPackageMojo extends AbstractMojo {
142142
private int bundleStatusWaitLimit;
143143

144144
/**
145-
* <p>
146145
* Package Manager install status JSON URL. If an URL is configured the installation status of packages and
147146
* embedded packages is checked before it is tried to upload and install a new package and after each upload.
148-
* </p>
147+
*
149148
* <p>
150149
* If not all packages are installed the upload is delayed up to {@link #packageManagerInstallStatusWaitLimit}
151150
* seconds, every 5 seconds the installation status is checked anew.
152151
* </p>
152+
*
153153
* <p>
154154
* Expected is an URL like: http://localhost:4502/crx/packmgr/installstatus.jsp
155155
* </p>
156+
*
156157
* <p>
157158
* If the URL is not set it is derived from serviceURL. If set to "-" the status check is disabled.
158159
* </p>

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@
4444
/**
4545
* Builds an "all" content package dedicated for deployment via Adobe Cloud Manager
4646
* for the given environment and node(s).
47+
*
4748
* <p>
4849
* By default, it builds one "all" package per environment and node without adding any Cloud Manager
4950
* environment-specific run mode suffixes to the folders. By defining a parameter <code>cloudManager.target</code>
5051
* (contains a list of string values) in the CONGA environment it is possible:
5152
* </p>
53+
*
5254
* <ul>
5355
* <li>If it contains <code>none</code> no "all" package is build.</li>
5456
* <li>If set to one or multiple environment names (normally dev/stage/prod) one "all" package for each of
@@ -85,6 +87,7 @@ public final class CloudManagerAllPackageMojo extends AbstractCloudManagerMojo {
8587

8688
/**
8789
* Automatically generate dependencies between content packages based on file order in CONGA configuration.
90+
*
8891
* <p>
8992
* Possible options see
9093
* <a href="apidocs/io/wcm/devops/conga/plugins/aem/maven/AutoDependenciesMode.html">AutoDependenciesMode</a>.
@@ -95,6 +98,7 @@ public final class CloudManagerAllPackageMojo extends AbstractCloudManagerMojo {
9598

9699
/**
97100
* How to optimize author/publish run modes in resulting "all" package.
101+
*
98102
* <p>
99103
* Possible options see
100104
* <a href="apidocs/io/wcm/devops/conga/plugins/aem/maven/RunModeOptimization.html">RunModeOptimization</a>.
@@ -105,6 +109,7 @@ public final class CloudManagerAllPackageMojo extends AbstractCloudManagerMojo {
105109

106110
/**
107111
* How to validate package types to be included in "all" package.
112+
*
108113
* <p>
109114
* Possible options see
110115
* <a href="apidocs/io/wcm/devops/conga/plugins/aem/maven/PackageTypeValidation.html">PackageTypeValidation</a>.
@@ -115,6 +120,7 @@ public final class CloudManagerAllPackageMojo extends AbstractCloudManagerMojo {
115120

116121
/**
117122
* How to handle versions of packages and sub-packages inside "all" package.
123+
*
118124
* <p>
119125
* Possible options see
120126
* <a href="apidocs/io/wcm/devops/conga/plugins/aem/maven/PackageVersionMode.html">PackageVersionMode</a>.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ public enum PackageVersionMode {
3333
* Suffix the version number of all packages with a release version with the version of the POM the Mojo runs in.
3434
* Within the version suffix, dots are replaced with underlines to avoid convision with the main version number.
3535
* This is useful when deploying to AMS with Cloud Manager.
36+
*
3637
* <p>
3738
* Example:
3839
* </p>
40+
*
3941
* <ul>
4042
* <li>Original package version: 2.5.0</li>
4143
* <li>POM version: 2022.1103.152749.0000000571</li>

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,11 @@
8080

8181
/**
8282
* Builds "all" package based on given set of content packages.
83+
*
8384
* <p>
8485
* General concept:
8586
* </p>
87+
*
8688
* <ul>
8789
* <li>Iterates through all content packages that are generated or collected by CONGA and contained in the
8890
* model.json</li>

0 commit comments

Comments
 (0)