Maven is throwing build error although repository is configured
hi, im trying to follow this tutorial to create a basic AEM service
http://helpx.adobe.com/experience-manager/using/first-osgi.html
in the section Create an Adobe CQ archetype project im getting an error when i try to run the command:
mvn eclipse:eclipse
im getting this error:
- D:\Dex\Key\key>mvn eclipse:eclipse
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/com/day/jcr/vault/content-package-mav
en-plugin/0.0.20/content-package-maven-plugin-0.0.20.pom
[WARNING] The POM for com.day.jcr.vault:content-package-maven-plugin:jar:0.0.20
is missing, no dependency information available
Downloading: http://repo1.maven.org/maven2/com/day/jcr/vault/content-package-mav
en-plugin/0.0.20/content-package-maven-plugin-0.0.20.jar
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.adobe.cq:key-content:1.0-SNAPSHOT (D:\Dex\Key\key\cont
ent\pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-pack
age-maven-plugin:0.0.20 or one of its dependencies could not be resolved: Could
not find artifact com.day.jcr.vault:content-package-maven-plugin:jar:0.0.20 in c
entral (http://repo1.maven.org/maven2) -> [Help 2]
[ERROR] Unknown packaging: content-package @ line 20, column 16
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException
Could any one suggest what changes in POM are needed to fix this?
Many Thanks.