I am working on adding AEMMJML (https://github.com/Netcentric/aemmjml) capabilities to my aem project. I was able to add it using package install but our team looking towards adding them as dependencies to the project. I added appropriate pom entries but the 'aemmjml-foundation' needs node js dependency and I am not able resolve that issue.
Here is the pom entry which I have added to my project pom file :
<dependency>
<groupId>biz.netcentric.cq.tools.aemmjml</groupId>
<artifactId>aemmjml-foundation-package</artifactId>
<version>0.1.0</version>
<type>zip</type>
</dependency>
I got below error while running mvn clean install:
Failed to execute goal on project jackson-campaign.core: Could not resolve dependencies for project com.jackson:jackson-campaign.core:bundle:2.2.2-SNAPSHOT: The following artifacts could not be resolved: org.nodejs.dist:nodejs-binaries:zip:win-x64:12.16.3, org.nodejs.dist:nodejs-binaries:tar.gz:darwin-x64:12.16.3, org.nodejs.dist:nodejs-binaries:tar.gz:linux-x64:12.16.3: Failure to find org.nodejs.dist:nodejs-binaries:zip:win-x64:12.16.3 in https://artifactorytest.jacksonnational.com/artifactory/maven-release-virtual was cached in the local repository, resolution will not be reattempted until the update interval of maven-release has elapsed or updates are forced -> [Help 1]
Any help on this is greatly appreciated.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @kgiribabu ,
Can you please check prerequisite mentioned in the read me of aemmjml.
https://github.com/Netcentric/aemmjml/blob/develop/doc/build-and-development.md
"In order to build and package AEM MJML you need to provide a maven repository hosting the nodejs artifacts, which are packaged together with the implementation. We recommend to use Maven NodeJS Proxy for this but please follow the instructions outlined in the repository and never use it without having a caching proxy in front of it. If you are using Nexus user, you can simply create a proxy repository of the aforementioned."
Hi @kgiribabu ,
Can you please check prerequisite mentioned in the read me of aemmjml.
https://github.com/Netcentric/aemmjml/blob/develop/doc/build-and-development.md
"In order to build and package AEM MJML you need to provide a maven repository hosting the nodejs artifacts, which are packaged together with the implementation. We recommend to use Maven NodeJS Proxy for this but please follow the instructions outlined in the repository and never use it without having a caching proxy in front of it. If you are using Nexus user, you can simply create a proxy repository of the aforementioned."
Views
Likes
Replies