Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Maven Project Archtype Issue

Mahamood
Level 3
Level 3

I am creating new Maven Project Arch Type 22.

mvn archetype:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=22

The project get created without any issues.

Post project creation when I run "mvn -U clean install" command. I am seeing this exception.

Unresolveable build extension: Plugin org.apache.jackrabbit:filevault-package-maven-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.jackrabbit:filevault-package-maven-plugin:jar:1.0.1 -> org.apache.jackrabbit.vault:org.apache.jackrabbit.vault:jar:3.1.42: Failed to read artifact descriptor for org.apache.jackrabbit.vault:org.apache.jackrabbit.vault:jar:3.1.42: Could not transfer artifact org.apache.jackrabbit.vault:org.apache.jackrabbit.vault:pom:3.1.42 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public): C:\Users\xyz\.m2\repository\org\apache\jackrabbit\vault\org.apache.jackrabbit.vault\3.1.42\org.apache.jackrabbit.vault-3.1.42.pom.part.lock (The system cannot find the path specified) -> [Help 2]

I noticed the jackrabit vault which showing as could not be resolved is not available in adobe repository Index of /groups/public .

Considering that I am using correct setting.xml  mentioned in Adobe Tutorial  1 - Project Setup .  Please advise if there is anything additionally I am missing in setup.

3 Replies
aemmarc
Employee
Employee

Interesting.

/vault is not in the public repo.

Raise the issue here : Issues · adobe/aem-project-archetype · GitHub

Mahamood
Level 3
Level 3

As suggested I have raised the issue , I will update once there is update available - https://github.com/adobe/aem-project-archetype/issues/288

Arun_Patidar
Community Advisor
Community Advisor

It should be downloaded from maven repository

Central Repository: org/apache/jackrabbit/filevault-package-maven-plugin

can you check your maven settings?