On 29 Aug 06, at 3:32 PM 29 Aug 06, Vincent Massol wrote:



-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: mardi 29 août 2006 00:03
To: Maven Developers List
Subject: Re: Failing to build 2.1 snapshot from trunk

trunk does not directly reference 2.3-SNAPSHOT so it would only be
used by a plugin repository reference to that effect.

I did a clean checkout from trunk. Thus it has to come from somewhere in trunk. In any case it would make sense that some projects in trunk reference
snapshots so adding the snapshot repo would make sense I think.

The bootstrap works successfully in CI, admittedly requiring 2 or 3
goes to get past ibiblio failures which is what I assume this is.

Jason told me we're not using ibiblio anymore but the contegix box. Isn't
that so?


It's where we are housing the repository, it's not acting as central quite yet.

Does it fail consistently at the same point for you?

Yes it did, until I added the snapshot repo to my settings.xml and then it worked (there was exception in one project in the console but it seems it
was "normal" stack trace as the build reported success.

Brett, don't you think it would help adding the snapshot repo to the top
level pom.xml in trunk?

Thanks
-Vincent

On 28/08/2006, at 8:41 PM, Vincent Massol wrote:

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]

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


        
 p5.vert.ukl.yahoo.com uncompressed Tue Aug 29 19: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]



Jason van Zyl
[EMAIL PROTECTED]




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

Reply via email to