My bet is that it's going to work automagically tomorrow... ;-) Maven2 checks for updates for snapshots once every day, unless you ask it. I bet you had run a build earlier today. Try running with -U (it updates snapshots). Thanks -Vincent
-----Original Message----- From: Marc Lijour [mailto:marc@lijour.net] Sent: samedi 6 janvier 2007 01:10 To: xwiki-dev@objectweb.org Subject: Re: [xwiki-dev] Maven/build help
On Friday 05 January 2007 11:30, Vincent Massol wrote:
Try checking out trunks-users and run "mvn install" in there. It should work fine now.
Hi Vincent, are you sure you committed everything. It still the same here.
Here is what I got (I updated pom as well just in case): ------------ update -r HEAD /home/marc/devel/xwikiandco/trunks-users Updating external location at: /home/marc/devel/xwikiandco/trunks-users/pom At revision 1888. Updating external location at: /home/marc/devel/xwikiandco/trunks-users/xwiki
U /home/marc/devel/xwikiandco/trunks- users/xwiki/web/standard/src/main/webapp/skins/xwiki10b1/macrowysiwyg.v m
U /home/marc/devel/xwikiandco/trunks- users/xwiki/web/standard/src/main/webapp/skins/default/macrowysiwyg.vm
U /home/marc/devel/xwikiandco/trunks- users/xwiki/web/standard/src/main/webapp/skins/xwiki10/macrowysiwyg.vm
U /home/marc/devel/xwikiandco/trunks- users/xwiki/web/standard/src/main/webapp/templates/macrowysiwyg.vm
U /home/marc/devel/xwikiandco/trunks- users/xwiki/web/standard/src/main/webapp/tiny_mce/langs/en.js
U /home/marc/devel/xwikiandco/trunks- users/xwiki/web/standard/src/main/webapp/tiny_mce/themes/wikieditor/lan gs/en.js
U /home/marc/devel/xwikiandco/trunks- users/xwiki/web/standard/src/main/webapp/tiny_mce/themes/wikieditor/ima ges/macro.gif
U /home/marc/devel/xwikiandco/trunks- users/xwiki/web/standard/src/main/webapp/tiny_mce/themes/wikieditor/mac ro.htm
U /home/marc/devel/xwikiandco/trunks- users/xwiki/web/standard/src/main/webapp/tiny_mce/themes/wikieditor/css /editor_popup.css Updated to revision 1888. Updating external location at: /home/marc/devel/xwikiandco/trunks-users/xwiki-clients Updated to revision 1888. Updating external location at: /home/marc/devel/xwikiandco/trunks-users/xwiki-plugins Updated to revision 1888. Updating external location at: /home/marc/devel/xwikiandco/trunks-users/xwiki-sandbox Updated to revision 1888. Updating external location at: /home/marc/devel/xwikiandco/trunks-users/xwiki-tools Updated to revision 1888. Updated to revision 1888. ===== File Statistics: ===== Updated: 9 update -r HEAD /home/marc/devel/xwikiandco/pom At revision 1888. -------------
mvn install gives me the same error as before:
-------------- $ mvn install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] XWiki Tools [INFO] XWiki Tools - Build [INFO] XWiki Tools - Build - Shared Verification Resources [INFO] XWiki Tools - Build - XAR Handlers [INFO] XWiki Root [INFO] XWiki Core [INFO] XWiki Tool - Packager [INFO] XWiki Web [INFO] XWiki Web - Standard [INFO] XWiki Web - Exo [INFO] XWiki Wikis [INFO] XWiki Wikis - Default [INFO] XWiki Plugins [INFO] XWiki Plugins - Adwords [INFO] XWiki Plugins - Alexa [INFO] XWiki Modules Downloading: http://maven.xwiki.org/com/xpn/xwiki/xwiki-build-xar-handlers/1.0- SNAPSHOT/xwiki-build-xar-handlers-1.0-SNAPSHOT.jar [WARNING] Unable to get resource from repository xwiki (http://maven.xwiki.org) [INFO] ---------------------------------------------------------------- -------- [ERROR] BUILD ERROR [INFO] ---------------------------------------------------------------- -------- [INFO] Failed to resolve artifact.
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
___________________________________________________________________________ Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire. http://fr.mail.yahoo.com