trunk does not directly reference 2.3-SNAPSHOT so it would only be
used by a plugin repository reference to that effect.
The bootstrap works successfully in CI, admittedly requiring 2 or 3
goes to get past ibiblio failures which is what I assume this is.
Does it fail consistently at the same point for you?
- Brett
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]