directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny" <elecha...@gmail.com>
Subject Re: New schema-archetype maven project
Date Mon, 28 Aug 2006 16:57:30 GMT
<RANT>
Is that dump supposed to help people like me ???
</RANT>

Sorry, Stefano, nothing personnal at all ;) Thanks for the trick.

I think that a plugin metadata has been updated lately, but that the pointed
resource does not exist.

<rant, lowercase>
This is something that happens quite frenquently, and it always puzzle me a
lot why people can accept this "behavior". This is not what I call a bug.
This is a big flaw in maven's conception. Many apache projects are using
maven, and it's always a really bad news for us and for users when it breaks
for such a reason. Ok, I know, I'm pissed off... We are just trying to
release a version may be tonite, may be tomorrow, and this is really the
worst timing for maven to break our build :(
</rant>

( cool down, Emmanuel :)

( Zen :)

Emmanuel

Here is what I get with a -X :

[DEBUG]
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6:runtime(selected
for runtime)
[DEBUG] Skipping disabled repository central
[DEBUG] maven-archiver: resolved to version 2.2-20060826.152218-3 from
repository apache.snapshots
[DEBUG] Retrieving parent-POM:
org.apache.maven.shared:maven-shared-components::2 for project:
org.apache.maven:maven-archiver:jar:2.2-20060826.152218-3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project:
org.apache.maven.shared:maven-shared-components:pom:2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]   org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT:runtime (selected
for runtime)
[DEBUG]     org.apache.maven:maven-artifact:jar:2.0:runtime (selected for
runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected
for runtime)
[DEBUG]     org.apache.maven:maven-project:jar:2.0:runtime (selected for
runtime)
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0:runtime(selected
for runtime)
[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected
for runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime(selected
for runtime)
[DEBUG]           junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG]           classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)
[DEBUG]
org.apache.maven:maven-repository-metadata:jar:2.0:runtime(selected
for runtime)
[DEBUG]       org.apache.maven:maven-profile:jar:2.0:runtime (selected for
runtime)
[DEBUG]         org.apache.maven:maven-model:jar:2.0:runtime (selected for
runtime)
[DEBUG]       org.apache.maven:maven-model:jar:2.0:runtime (selected for
runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime(selected
for runtime)
[DEBUG]         junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG]         classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)
[DEBUG] Skipping disabled repository central
[DEBUG] plexus-archiver: using locally installed snapshot
[DEBUG] Trying repository apache.snapshots
Downloading:
http://people.apache.org/maven-snapshot-repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-archiver-1.0-alpha-7-SNAPSHOT.pom
[WARNING] Unable to get resource from repository apache.snapshots (
http://people.apache.org/maven-snapshot-repository)
[DEBUG] Trying repository snapshots
Downloading:
http://snapshots.maven.codehaus.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-archiver-1.0-alpha-7-SNAPSHOT.pom
[WARNING] Unable to get resource from repository snapshots (
http://snapshots.maven.codehaus.org/maven2)
[DEBUG] Skipping disabled repository central
[DEBUG] Artifact not found - using stub model: Unable to download the
artifact from any repository

  org.codehaus.plexus:plexus-archiver:pom:1.0-alpha-7-SNAPSHOT

from the specified remote repositories:
  snapshots (http://snapshots.maven.codehaus.org/maven2),
  apache.snapshots (http://people.apache.org/maven-snapshot-repository),
  central (http://repo1.maven.org/maven2)

[DEBUG] Using defaults for missing POM
org.codehaus.plexus:plexus-archiver:pom:1.0-alpha-7-SNAPSHOT:runtime
[DEBUG]
org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT:runtime(selected
for runtime)
[DEBUG]   org.apache.maven:maven-project:jar:2.0:runtime (selected for
runtime)
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for
runtime)
[DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0:runtime(selected
for runtime)
[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected
for runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime(selected
for runtime)
[DEBUG]         junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG]         classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0:runtime(selected
for runtime)
[DEBUG]     org.apache.maven:maven-profile:jar:2.0:runtime (selected for
runtime)
[DEBUG]       org.apache.maven:maven-model:jar:2.0:runtime (selected for
runtime)
[DEBUG]     org.apache.maven:maven-model:jar:2.0:runtime (selected for
runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime(selected
for runtime)
[DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for
runtime)
[DEBUG]   commons-lang:commons-lang:jar:2.1:runtime (selected for runtime)
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for
runtime)
[DEBUG] maven-archiver: resolved to version 2.2-20060826.152218-3 from
repository apache.snapshots
[DEBUG] plexus-archiver: using locally installed snapshot
[DEBUG] Trying repository apache.snapshots
Downloading:
http://people.apache.org/maven-snapshot-repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-archiver-1.0-alpha-7-SNAPSHOT.jar
[WARNING] Unable to get resource from repository apache.snapshots (
http://people.apache.org/maven-snapshot-repository)
[DEBUG] Trying repository snapshots
Downloading:
http://snapshots.maven.codehaus.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-archiver-1.0-alpha-7-SNAPSHOT.jar
[WARNING] Unable to get resource from repository snapshots (
http://snapshots.maven.codehaus.org/maven2)
[DEBUG] Skipping disabled repository central
[DEBUG] 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.codehaus.plexus-DartifactId=plexus-archiver \
        -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

Path to dependency:
        1)
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
        2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
        3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT


  org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

from the specified remote repositories:
  snapshots (http://snapshots.maven.codehaus.org/maven2),
  apache.snapshots (http://people.apache.org/maven-snapshot-repository),
  central (http://repo1.maven.org/maven2)

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.codehaus.plexus-DartifactId=plexus-archiver \
          -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
        2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
        3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

----------
1 required artifact is missing.

for artifact:

org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6

from the specified remote repositories:
  snapshots (http://snapshots.maven.codehaus.org/maven2),
  apache.snapshots (http://people.apache.org/maven-snapshot-repository),
  central (http://repo1.maven.org/maven2)


[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.codehaus.plexus-DartifactId=plexus-archiver \
          -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
        2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
        3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

----------
1 required artifact is missing.

for artifact:

org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6

from the specified remote repositories:
  snapshots (http://snapshots.maven.codehaus.org/maven2),
  apache.snapshots (http://people.apache.org/maven-snapshot-repository),
  central (http://repo1.maven.org/maven2)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:551)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:64)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        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)
Caused by:
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
----------
1) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.codehaus.plexus-DartifactId=plexus-archiver \
          -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6
        2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
        3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

----------
1 required artifact is missing.

for artifact:

org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.162339-6

from the specified remote repositories:
  snapshots (http://snapshots.maven.codehaus.org/maven2),
  apache.snapshots (http://people.apache.org/maven-snapshot-repository),
  central (http://repo1.maven.org/maven2)

        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:244)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:211)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:182)
        at
org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
(DefaultPluginManager.java:608)
        at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
DefaultPluginManager.java:519)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:390)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
        ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Mon Aug 28 18:45:38 CEST 2006
[INFO] Final Memory: 7M/27M
[INFO]
------------------------------------------------------------------------


On 8/28/06, Stefano Bagnara <apache@bago.org> wrote:
>
> Emmanuel Lecharny wrote:
> > <RANT>
> > It's half an hour I try to understand where the hell maven can simply
> > deduce that it has to dowload the jar
> > plexus-archiver-1.0-alpha-7-SNAPSHOT.jar
> > [...]
> > It should be again one of these secret transitive dependencies that has
> > been modified by someone somwhere, but we have no clue who nor when or
> > why and where. This is what upset me the most about maven : you get
> > f**** without any solution on a regular basis.
> > </RANT>
>
> Add a "-X" to your mvn execution and redirect the output to file so that
> you can open the result (it gives a lot of output).
> This way when it download dependencies you see them an indentation level
> under the parent resource.
>
> Stefano
>
>


-- 
Cordialement,
Emmanuel L├ęcharny

Mime
View raw message