We are using brxm 14.5.0 and planning to upgrade with latest stable version (). I need some help to where I can refer the existing 14.5.0 to 15.x upgrade. Should I upgrade the pom version on existing 14.5.0 app or I should try to download the new version from maven and there I should merge my changes ?
However I tried to execute below command to download 15.5.0, faced issue.
C:\15.5.0>mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeRepository=https://maven.onehippo.com/maven2 -DarchetypeGroupId=org.onehippo.cms7 -DarchetypeArtifactId=hippo-project-archetype -DarchetypeVersion=15.5.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] >>> archetype:2.4:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< archetype:2.4:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO]
[INFO] --- archetype:2.4:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] Archetype defined by properties
Downloading from hippo-project-archetype-repo: https://maven.onehippo.com/maven2/org/onehippo/cms7/hippo-project-archetype/15.5.0/hippo-project-archetype-15.5.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.676 s
[INFO] Finished at: 2024-09-04T13:18:38+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.onehippo.cms7:hippo-project-archetype:15.5.0)
Please guide me the with the best practices!, if I should update 14.5.0 with 15.x then how I will know the places where I will have to modify the changes?
You mean firstly I should updrade 14.5.0 with all 14.x (14.x > 14.5.0) changes and then should start doing the same things for all 15.x till the stable one?
Yes… so basically 14.5 → 14.6 → 14.7
Then 14.7 to 15.0 which is backwards incompatible and you need to carefully follow all the steps
Then 15.0 → 15.1 → 15.2 etc (minor upgrades) until 15.6.1 (sometimes you can skip versions if the upgrade steps don’t apply to you, or bundle them together)
And if you want to be on the latest that would be 16.0 which is another major upgrade from 15.6.1.
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeRepository=https://maven.onehippo.com/maven2 -DarchetypeGroupId=org.onehippo.cms7 -DarchetypeArtifactId=hippo-project-archetype -DarchetypeVersion=14.5.0
instead of 14.5.0 if I use 15.x/16.x I get above chained error and also I have seen you have shared for enterprize maven repo but we have used https://maven.onehippo.com/maven2.
However I tried with both 15.x and 16.x but still no luck and also we are not using enterprise repository.