Upgrade 14.5.0 with 15.x

Hi all,

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 ?

I refer this reference for version : https://xmdocumentation.bloomreach.com/about/release-notes/release-notes-overview.html

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?

Thanks,
Manish Kumar

Hello, you need to carefully follow the upgrade instructions Upgrade to Bloomreach Experience Manager 15 - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS

And it would probably be better if you upgraded to the latest 14.x first

latest stable version is 15.6.1 and your archetype coordinates are wrong, your command should be:

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
-DarchetypeRepository=https://maven.bloomreach.com/repository/maven2-enterprise/ \
-DarchetypeGroupId=org.onehippo.cms7 \
-DarchetypeArtifactId=hippo-project-archetype \
-DarchetypeVersion=15.6.1

15.5.0 is already unsuppported (EOL) since january

Thanks @machak for your quick help, but still I am facing same issue.

Thanks @david.bailey,

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.

please check:

Hi @machak,

I had used below command to download 14.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=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.

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeRepository=https://maven.bloomreach.com/repository/maven2-enterprise/ -DarchetypeGroupId=org.onehippo.cms7 -DarchetypeArtifactId=hippo-project-archetype -DarchetypeVersion=16.0.0

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeRepository=https://maven.bloomreach.com/repository/maven2-enterprise/ -DarchetypeGroupId=org.onehippo.cms7 -DarchetypeArtifactId=hippo-project-archetype -DarchetypeVersion=15.6.1

I checked on maven bloomreach, I can see max 15.2.3 we can use it here.

`

Index of /org/onehippo/cms7/hippo-project-archetype
`
and we don’t have access for https://maven.bloomreach.com/repository/maven2-enterprise/

Could you please help me how we can download bloomreach - 16.x publically.?