Thanks Vincent. You might want to update
http://maven.apache.org/guides/development/guide-building-m2.html (this is
what I was looking at).

In addition why not simply add the snapshot repo to the top level pom.xml in
components? That should reduce the number of questions. I think we should
prefer default settings over configuration in such a case. WDYT?

Thanks
-Vincent

> -----Original Message-----
> From: Vincent Siveton [mailto:[EMAIL PROTECTED]
> Sent: lundi 28 août 2006 13:17
> To: Maven Developers List; [EMAIL PROTECTED]
> Subject: Re: Failing to build 2.1 snapshot from trunk
> 
> http://maven.apache.org/guides/development/guide-plugin-snapshot-
> repositories.html
> 
> I will update the FAQ for this.
> 
> Cheers,
> 
> Vincent
> 
> 2006/8/28, Vincent Massol <[EMAIL PROTECTED]>:
> > Hi,
> >
> > I've seen several emails saying that people has trouble building from
> trunk.
> > I also have some problems. I've just removed my full local repo and ran
> > "bootstrap" in components several times (to account for the sporadic
> > download failures). Here's what I got in the end:
> >
> > C:\dev\maven\trunks\components>bootstrap
> > [...]
> >
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order:
> > [INFO]   Maven
> > [INFO]   Maven Artifact
> > [INFO]   Maven Repository Metadata Model
> > [INFO]   Maven Artifact Manager
> > [INFO]   Maven Model
> > [INFO]   Maven Local Settings Model
> > [INFO]   Maven Artifact Test Helper Library
> > [INFO]   Maven Plugin Parameter Documenter API
> > [INFO]   Maven Tools
> > [INFO]   Maven Profile Model
> > [INFO]   Maven Error Diagnostics
> > [INFO]   Maven Plugin API
> > [INFO]   Maven Reporting
> > [INFO]   Maven Reporting API
> > [INFO]   Maven Project Builder
> > [INFO]   Maven Plugin Registry Model
> > [INFO]   Maven Plugin Descriptor Model
> > [INFO]   Maven Monitor
> > [INFO]   Maven Core
> > [INFO]   Maven Plugin Tools Base POM
> > [INFO]   Maven Plugin Tools APIs
> > [INFO]   Maven Plugin Tools for Java
> > [INFO]   Maven Plugin Tools for Beanshell
> > [INFO]   Maven Pluggy Simplistic Plugin Generator
> > [INFO]   Maven Plugin Metadata Model
> > [INFO]   Maven Ant Plugin Tools
> > [INFO]   Maven Reporting Implementation
> > [INFO]   Maven Script Support Root
> > [INFO]   Maven Ant Mojo Support
> > [INFO]   Maven Beanshell Mojo Support
> > [INFO]   Maven Embedder
> > [INFO]   Maven Core - CLI
> > [INFO]
> > ------------------------------------------------------------------------
> ----
> > [INFO] Building Maven
> > [INFO]    task-segment: [clean, install]
> > [INFO]
> > ------------------------------------------------------------------------
> ----
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-
> parent/2
> > .0/maven-pl
> > ugin-parent-2.0.pom
> > 6K downloaded
> > [INFO] [clean:clean]
> > [INFO] Deleting directory C:\dev\maven\trunks\components\target
> > [INFO] Deleting directory C:\dev\maven\trunks\components\target\classes
> > [INFO] Deleting directory C:\dev\maven\trunks\components\target\test-
> classes
> > [INFO] [site:attach-descriptor]
> > [INFO] [install:install]
> > [INFO] Installing C:\dev\maven\trunks\components\pom.xml to C:\Documents
> and
> > Settings\vmassol\.m2\re
> > pository\org\apache\maven\maven\2.1-SNAPSHOT\maven-2.1-SNAPSHOT.pom
> > [INFO]
> > ------------------------------------------------------------------------
> ----
> > [INFO] Building Maven Artifact
> > [INFO]    task-segment: [clean, install]
> > [INFO]
> > ------------------------------------------------------------------------
> ----
> > [INFO] [clean:clean]
> > [INFO] Deleting directory
> > C:\dev\maven\trunks\components\maven-artifact\target
> > [INFO] Deleting directory
> > C:\dev\maven\trunks\components\maven-artifact\target\classes
> > [INFO] Deleting directory
> > C:\dev\maven\trunks\components\maven-artifact\target\test-classes
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] A required plugin was not found: Plugin could not be found -
> check
> > that the goal name is corr
> > ect: Unable to download the artifact from any repository
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> >    mvn install:install-file -DgroupId=org.apache.maven.plugins
> > -DartifactId=maven-surefire-plugin \
> >
> >        -Dversion=2.3-SNAPSHOT -Dpackaging=maven-plugin -
> Dfile=/path/to/file
> >
> >
> >  org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.3-
> SNAPSHOT
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2)
> >
> >  org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.3-
> SNAPSHOT
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2)
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.BuildFailureException: A required plugin was not found:
> > Plugin could not be found -
> >  check that the goal name is correct: Unable to download the artifact
> from
> > any repository
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> >    mvn install:install-file -DgroupId=org.apache.maven.plugins
> > -DartifactId=maven-surefire-plugin \
> >
> >        -Dversion=2.3-SNAPSHOT -Dpackaging=maven-plugin -
> Dfile=/path/to/file
> >
> >
> >  org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.3-
> SNAPSHOT
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2)
> >
> >  org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.3-
> SNAPSHOT
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2)
> >
> > It seems like the surefire plugin 2.3-SNAPSHOT is not deployed on
> ibiblio
> > (which would sound normal as it's a snapshot). Maybe I need to configure
> > another snapshot repository? If that's the case isn't it possible to
> include
> > this snapshot repository in the top level pom.xml file?
> >
> > Thanks
> > -Vincent
> >
> >
> >
> >  p4.vert.ukl.yahoo.com uncompressed Mon Aug 28 10:27:00 GMT 2006
> >
> >
> >
> __________________________________________________________________________
> _
> > Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
> sujet !
> > Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions
> et vos expériences.
> > http://fr.answers.yahoo.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >



 p5.vert.ukl.yahoo.com uncompressed Mon Aug 28 11:27:01 GMT 2006


___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences.
http://fr.answers.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to