Hello,
I try to build the bootstrap connector, but I can't because of this message:
Downloading from adobe-public-releases: https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/com.adobe.granite.translation.a...
Downloading from localinstance: http://localhost:4502/maven/repository/com/adobe/granite/com.adobe.granite.translation.api/1.1.34/co...
Downloading from central: https://repo.maven.apache.org/maven2/com/adobe/granite/com.adobe.granite.translation.api/1.1.34/com....
[WARNING] The POM for com.adobe.granite:com.adobe.granite.translation.api:jar:1.1.34 is missing, no dependency information available
Downloading from adobe-public-releases: https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/com.adobe.granite.translation.a...
Downloading from localinstance: http://localhost:4502/maven/repository/com/adobe/granite/com.adobe.granite.translation.api/1.1.34/co...
Downloading from central: https://repo.maven.apache.org/maven2/com/adobe/granite/com.adobe.granite.translation.api/1.1.34/com....
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Bootstrap Translation Connector 2.5.1:
[INFO]
[INFO] Bootstrap Translation Connector .................... SUCCESS [ 0.543 s]
[INFO] Bootstrap Translation Connector - Bundle ........... FAILURE [ 25.272 s]
[INFO] Bootstrap Translation Connector - Content .......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.961 s
[INFO] Finished at: 2021-01-14T16:02:28+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project bootstrap-connector.bundle: Could not resolve dependencies for project com.adobe.granite.translation.connector:bootstrap-connector.bundle:bundle:2.5.1: Could not transfer artifact com.adobe.granite:com.adobe.granite.translation.api:jar:1.1.34 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :bootstrap-connector.bundle
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @NSzolnoki921 ,
I don't see the latest version(1.1.34) which you are trying access in your project on adobe/maven repo, try updating dependency version to access lower version (i.e. 1.1.18 instead 1.1.34) & it should resolve the issue.
https://mvnrepository.com/artifact/com.adobe.granite/com.adobe.granite.translation.api
Hope this helps!
Hi @NSzolnoki921 ,
I don't see the latest version(1.1.34) which you are trying access in your project on adobe/maven repo, try updating dependency version to access lower version (i.e. 1.1.18 instead 1.1.34) & it should resolve the issue.
https://mvnrepository.com/artifact/com.adobe.granite/com.adobe.granite.translation.api
Hope this helps!
Hi @manjunath,
Unfortunately, now I get this error:
[ERROR] Failed to execute goal on project bootstrap-connector.bundle: Could not resolve dependencies for project com.adobe.granite.translation.connector:bootstrap-connector.bundle:bundle:2.5.1: Failed to collect dependencies at com.adobe.granite:com.adobe.granite.translation.api:jar:1.1.18: Failed to read artifact descriptor for com.adobe.granite:com.adobe.granite.translation.api:jar:1.1.18: Could not find artifact com.adobe.granite:parent:pom:52 in adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public)
I changed the dependency to this:
Views
Replies
Total Likes
It seems like in repo the parent pom "com.adobe.granite" with version(52) is missing & that is why above error says "Could not find artifact com.adobe.granite:parent:pom:52"
"com.adobe.granite" version 52 missing here : https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/parent/
I can see both 1.1.12 & 1.1.18 version of "com.adobe.granite.translation.api" pom file is referring to "com.adobe.granite" version 52
"com.adobe.granite.translation.api" 1.1.18 pom file : https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/com.adobe.granite.translation.a...
"com.adobe.granite.translation.api" 1.1.12 pom file : https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/com.adobe.granite.translation.a...
so try changing dependency version from 1.1.18 to 1.0.8. 1.0.8 is referring to parent pom "com.adobe.granite" version 35, available on repo as well & it should resolve this error.
"com.adobe.granite.translation.api" 1.0.18 pom file : https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/com.adobe.granite.translation.a...
"com.adobe.granite" version 35 available : https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/parent/35/
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Make sure you also set your development environment .m2/settings.xml with https://helpx.adobe.com/uk/experience-manager/kb/SetUpTheAdobeMavenRepository.html
Hi @BrianKasingli,
I am trying to use the MASTER branch from git: https://github.com/Adobe-Marketing-Cloud/aem-translation-framework-bootstrap-connector
After did the changes you mentioned, I experience the following:
[WARNING] ValidationViolation: "jackrabbit-filter: Filter root's ancestor '/home/users/system' is not covered by any of the specified dependencies nor a valid root.", filePath=META-INF\vault\filter.xml
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'DocViewProperty [name={internal}authorizableId, values=[bootstrap-service], isMulti=false, type=0, isReferenceProperty=false]' is not allowed in node with types '[rep:SystemUser]': Property is protected!", filePath=jcr_root\home\users\system\bootstrap-service\.content.xml, nodePath=/home/users/system/bootstrap-service, line=6, column=44
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'DocViewProperty [name={internal}principalName, values=[bootstrap-service], isMulti=false, type=0, isReferenceProperty=false]' is not allowed in node with types '[rep:SystemUser]': Property is protected!", filePath=jcr_root\home\users\system\bootstrap-service\.content.xml, nodePath=/home/users/system/bootstrap-service, line=6, column=44
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'DocViewProperty [name={http://www.jcp.org/jcr/1.0}uuid, values=[7a45f8ab-1a78-3eae-97f0-38fa4d4fea2b], isMulti=false, type=0, isReferenceProperty=false]' is not allowed in node with types '[rep:SystemUser]': Property is protected!", filePath=jcr_root\home\users\system\bootstrap-service\.content.xml, nodePath=/home/users/system/bootstrap-service, line=6, column=44
[WARNING] ValidationViolation: "jackrabbit-nodetypes: Invalid primary type sling:Folder: 'sling: is not a registered namespace prefix.'. Skip validation of nodes with that type/name", filePath=jcr_root\var\bootstrap-tms\.content.xml, nodePath=/var/bootstrap-tms, line=4, column=37
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies