Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sortie1 - autoInstallPackage doesn't seem to work with Archetype 11 #2

Closed
gregfullard opened this issue Jun 17, 2017 · 1 comment
Closed

Comments

@gregfullard
Copy link
Contributor

gregfullard commented Jun 17, 2017

Steps to reproduce:

mvn archetype:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=11 -DarchetypeRepository=https://repo.adobe.com/nexus/content/groups/public/

(use "test" for all prompted values)

  • Run "mvn clean install"
  • No issues occur during build
  • Now run "mvn clean install -PautoInstallPackage"
  • The following exception is thrown:
[INFO] Scanning for projects...
[WARNING] The POM for com.day.jcr.vault:content-package-maven-plugin:jar:0.5.1 is missing, no dependency information available
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.5.1 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:0.5.1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ 
[ERROR] Unknown packaging: content-package @ test:test.ui.apps:[unknown-version], /home/gregf/Repos/AEMBootCamp/Sortie-0001-RTE/soldiers/greg/test/ui.apps/pom.xml, line 34, column 16
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.5.1 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:0.5.1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ 
[ERROR] Unknown packaging: content-package @ test:test.ui.content:[unknown-version], /home/gregf/Repos/AEMBootCamp/Sortie-0001-RTE/soldiers/greg/test/ui.content/pom.xml, line 34, column 16
 @ 
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]   
[ERROR]   The project test:test.ui.apps:1.0-SNAPSHOT (/home/gregf/Repos/AEMBootCamp/Sortie-0001-RTE/soldiers/greg/test/ui.apps/pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.5.1 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:0.5.1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2]
[ERROR]     Unknown packaging: content-package @ test:test.ui.apps:[unknown-version], /home/gregf/Repos/AEMBootCamp/Sortie-0001-RTE/soldiers/greg/test/ui.apps/pom.xml, line 34, column 16
[ERROR]   
[ERROR]   The project test:test.ui.content:1.0-SNAPSHOT (/home/gregf/Repos/AEMBootCamp/Sortie-0001-RTE/soldiers/greg/test/ui.content/pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.5.1 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:0.5.1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2]
[ERROR]     Unknown packaging: content-package @ test:test.ui.content:[unknown-version], /home/gregf/Repos/AEMBootCamp/Sortie-0001-RTE/soldiers/greg/test/ui.content/pom.xml, line 34, column 16
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException

@gregfullard
Copy link
Contributor Author

The solution is described at adobe/aem-project-archetype#94

In short:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant