Maven Project Archtype Issue

Avatar

Avatar

Mahamood

Avatar

Mahamood

Mahamood

27-11-2019

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.

Replies

Avatar

Avatar

aemmarc

Employee

Avatar

aemmarc

Employee

aemmarc
Employee

27-11-2019

Interesting.

/vault is not in the public repo.

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

Avatar

Avatar

Mahamood

Avatar

Mahamood

Mahamood

27-11-2019

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

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.1K

Correct Reply

864

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.1K

Correct Reply

864
Arun_Patidar
MVP

30-11-2019

It should be downloaded from maven repository

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

can you check your maven settings?