maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject Maven 3.0 Model Builder Build Failure
Date Sun, 13 Sep 2009 01:23:45 GMT

[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Model Builder
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading: file:///D:\Maven-plugin/org/codehaus/plexus/plexus-container-defaul
t/1.2.1-SNAPSHOT/plexus-container-default-1.2.1-SNAPSHOT.pom
[INFO] Unable to find resource 'org.codehaus.plexus:plexus-container-default:pom
:1.2.1-SNAPSHOT' in repository oss (file:///D:\Maven-plugin)
Downloading: http://repository.apache.org/snapshots/org/codehaus/plexus/plexus-c
ontainer-default/1.2.1-SNAPSHOT/plexus-container-default-1.2.1-SNAPSHOT.pom
[INFO] Unable to find resource 'org.codehaus.plexus:plexus-container-default:pom
:1.2.1-SNAPSHOT' in repository apache.snapshots (http://repository.apache.org/sn
apshots)
[INFO] [remote-resources:process {execution: default}]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.apache.maven.model.Repository cannot be cast to org.apache.maven.arti
fact.repository.ArtifactRepository
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.ClassCastException: org.apache.maven.model.Repository cannot be cast t
o org.apache.maven.artifact.repository.ArtifactRepository
        at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetada
taManager.mergeMetadata(DefaultRepositoryMetadataManager.java:193)
        at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetada
taManager.resolve(DefaultRepositoryMetadataManager.java:166)
        at org.apache.maven.artifact.transform.AbstractVersionTransformation.res
olveVersion(AbstractVersionTransformation.java:65)
        at org.apache.maven.artifact.transform.SnapshotTransformation.transformF
orResolve(SnapshotTransformation.java:63)
        at org.apache.maven.artifact.transform.DefaultArtifactTransformationMana
ger.transformForResolve(DefaultArtifactTransformationManager.java:55)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:145)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:90)
        at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:558)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito
ry(DefaultMavenProjectBuilder.java:251)
        at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.g
etProjects(ProcessRemoteResourcesMojo.java:404)
        at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.e
xecute(ProcessRemoteResourcesMojo.java:272)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:556)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:535)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13 seconds
[INFO] Finished at: Sat Sep 12 23:11:03 GMT+1 2009

Any idea what causes the fail?
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire
prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe
quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.



_________________________________________________________________
Bing brings you health info from trusted sources.
http://www.bing.com/search?q=pet+allergy&form=MHEINA&publ=WLHMTAG&crea=TXT_MHEINA_Health_Health_PetAllergy_1x1
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message