I try to get into maven to build xwiki but I don't find any doc on
xwiki.org.
When I checked out xwiki/trunk as a project in eclipse and I enable the maven2
plugin, it starts downloading a bunch of stuff and it complains about 2 items
(see log below). Is that normal? Did I checked out everything I need?
Is everybody using maven2 or ant or something else?
A few pointers would be nice. Thanks.
(I still wonder why it has to download stuff since everything is available in
the svn repository. Actually it would be a good idea to keep the libraries
aside, in another folder, if they have to be re-used in different places but
then why keeping them in the repository as well?)
**********************************
(...)
1/2/07 4:59:04 PM EST: [WARN] Unable to get resource from repository xwiki
(
http://maven.xwiki.org)
1/2/07 4:59:05 PM EST: [WARN] Unable to get resource from repository xwiki
(
http://maven.xwiki.org)
1/2/07 4:59:05 PM EST: Failed to run generate source goals /xwiki -
trunk/wikis/default/pom.xml Missing:
----------
1) com.xpn.xwiki:xwiki-build-xar-handlers:jar:1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn
install:install-file -DgroupId=com.xpn.xwiki -DartifactId=xwiki-build-xar-handlers
\
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) com.xpn.xwiki:xwiki-wiki-default:xar:1.0-SNAPSHOT
2) com.xpn.xwiki:xwiki-build-xar-handlers:jar:1.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
com.xpn.xwiki:xwiki-wiki-default:xar:1.0-SNAPSHOT
from the specified remote repositories:
central (
http://repo1.maven.org/maven2),
xwiki (
http://maven.xwiki.org)
*************************************