Cette conversation a été verrouillée en raison de son inactivité. Veuillez créer une nouvelle publication.
Niveau 1
Niveau 2
Se connecter à la communauté
Connectez-vous pour voir tous les badges
Cette conversation a été verrouillée en raison de son inactivité. Veuillez créer une nouvelle publication.
I am using the maven multimodule content package archetype in my project as listed here:
https://docs.adobe.com/docs/en/aem/6-0/develop/dev-tools/vlt-mavenplugin.html#multimodule-content-pa...
I changed the <version> in all three POM files from "1.0-SNAPSHOT" to "${project.version}".
The filters are included in the package when deployed to the Local environment as expected, but when deployed to the Dev and Staging environment, the filters are not there.
This did work previously when all three POMs had the "1.0-SHAPSHOT" version, but we would like to include the revision number in the content package title, hence the project.version update.
Is there anything else that I need to change?
Thanks in advance!
Résolu ! Accéder à la solution.
Vues
Réponses
Nombre de J’aime
Can you check in your CI environment are you overriding version or filter?
If you are using version in your child's You have to skip <version> tag in child.
http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Inheritance
If this doesn't resolve this then please post your POM.xml here so that we can validate if everything is correct.
Regards,
Amit
Vues
Réponses
Nombre de J’aime
Are you saying when same is deployed in local it works as expected but when deployed in Dev or staging it didn't worked? Correct me if I am wrong.
Question: Are you deploying code manually or using some CI tools
Vues
Réponses
Nombre de J’aime
Sorry, I should have specified - local is using IntelliJ; remote(dev/stage) we're using Bamboo as the CI tool.
Vues
Réponses
Nombre de J’aime
When you didnt changed 1.0-SNAPSHOT" to "${project.version}". the code was deploying correctly?
Vues
Réponses
Nombre de J’aime
Yes, that's correct. When I changed the version to ${project.version} the remote deployments did not apply the filter. Could it possibly be a Bamboo setting somewhere?
Vues
Réponses
Nombre de J’aime
If it works with Maven and without using Bamboo - I would think that is the issue. I like using only Maven to build OSGi and have never experienced an issue.
Vues
Réponses
Nombre de J’aime
Can you check in your CI environment are you overriding version or filter?
If you are using version in your child's You have to skip <version> tag in child.
http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Inheritance
If this doesn't resolve this then please post your POM.xml here so that we can validate if everything is correct.
Regards,
Amit
Vues
Réponses
Nombre de J’aime
Vues
Likes
Réponses
Vues
Likes
Réponses