I would try building from platform/trunks there seem to be issues building
subsets of that.
Caleb
Thomas Hoeschele wrote:
Hallo,
I tried to build the Xwiki core with Maven but encountered the following error:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.626s
[INFO] Finished at: Fri Aug 06 11:00:49 CEST 2010
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project xwiki-core: Unable to get dependency i
nformation for org.xwiki.platform:xwiki-core-observation-local:jar:2.5-SNAPSHOT:
Failed to process POM for org.xwiki.platform:xwiki-core-observation-local:jar:2
.5-SNAPSHOT: Non-resolvable parent POM org.xwiki.platform:xwiki-core-observation
:2.5-SNAPSHOT for org.xwiki.platform:xwiki-core-observation-local:2.5-SNAPSHOT:
Failed to resolve POM for org.xwiki.platform:xwiki-core-observation:2.5-SNAPSHOT
due to Missing:
----------
1) org.xwiki.platform:xwiki-core-observation:pom:2.5-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.xwiki.platform:xwiki-core-observation:pom:2.5-20100805.132738-18
from the specified remote repositories:
xwiki-externals (
http://maven.xwiki.org/externals, releases=true, snapshots=tr
ue),
xwiki-releases (
http://maven.xwiki.org/releases, releases=true, snapshots=fals
e),
xwiki-snapshots (
http://maven.xwiki.org/snapshots, releases=false, snapshots=t
rue),
maven2-repository.dev.java.net.2 (
http://download.java.net/maven/2, releases=t
rue, snapshots=true),
central (
http://repo1.maven.org/maven2, releases=true, snapshots=false)
-> [Help 1]
[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/ArtifactResolu
tionException
Can somebody please be so kind and tell me what I have missed or done wrong? (the command
used was "mvn package" to get the .jar file)
Thanks in advance
Thomas