-----Original Message----- From: Marc Lijour [mailto:[email protected]] Sent: samedi 6 janvier 2007 02:45 To: [email protected] Subject: Re: [xwiki-dev] Maven/build help
On Friday 05 January 2007 20:20, Vincent Massol wrote:
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). $ mvn -U [INFO] Scanning for projects... [INFO] snapshot com.xpn.xwiki:xwiki:1.0-SNAPSHOT: checking for updates from xwiki Downloading: http://maven.xwiki.org/com/xpn/xwiki/xwiki/1.0-SNAPSHOT/xwiki-1.0- 20070105.163136-2.pom 4K downloaded (...)
Ok. I got something new. But I still have a problem with mvn install:
(...) 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) (...)
It seems the package is not in the repository yet.
It is there: http://maven.xwiki.org/com/xpn/xwiki/xwiki-build-xar-handlers/1.0-SNAPSHOT/x wiki-build-xar-handlers-1.0-20070105.153209-1.jar The snapshot version is resolved by Maven against the latest timestamp (the information comes from http://maven.xwiki.org/com/xpn/xwiki/xwiki-build-xar-handlers/1.0-SNAPSHOT/m aven-metadata.xml). So that's very strange. Have you tried removing all the xpn directory in your local repository just in case (in ~user/.m2/repository/com)? Could you please attach the full log to an email? Thanks -Vincent ___________________________________________________________________________ D�couvrez une nouvelle fa�on d'obtenir des r�ponses � toutes vos questions ! Profitez des connaissances, des opinions et des exp�riences des internautes sur Yahoo! Questions/R�ponses http://fr.answers.yahoo.com