You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Gautham Pamu <ga...@gmail.com> on 2006/04/13 23:36:59 UTC
m2.0.4 Is mvn tested on Linux
Hi,
Is mvn test on any Linux platform. I am asking this question, because when I
tried mvn 2.0.4 on a linux platform, I am getting
these errors. I have seen similar problem with different pom files in plexus
when I tried mvn 2.0.3
and Carlos Sanchez fixed these problems.
How to reproduce the problem..
Downloaded mvn 2.0.4 version (install it) and cleanup my repository
directory and try to compile any projects.
I think there is problem with pom files of plexus-container-default:jar:
1.0-alpha-9 . They
should be having invalid characters..in thos white spaces..
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.pom
492b downloaded
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: null:plexus-container-default:jar:1.0-alpha-9
Reason: Cannot find parent: org.codehaus.plexus:plexus-containers for
project: null:plexus-container-default:jar:1.0-alpha-9
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Thu Apr 13 16:18:49 CDT 2006
[INFO] Final Memory: 7M/19M
[INFO]
------------------------------------------------------------------------
--
-Gautham Pamu
--
-Gautham Pamu
Re: m2.0.4 Is mvn tested on Linux
Posted by Wayne Fay <wa...@gmail.com>.
I agree entirely. Sounds like a good issue for someone new to Maven
development to get their feet wet with the codebase. ;-)
Go file a JIRA Enhancement in the proper component...
Wayne
On 4/15/06, Geoffrey De Smet <ge...@gmail.com> wrote:
> Jerome,
>
> I agree with you, because I had to document this specifically in my
> development setup apts of my projects.
> Has anyone made such a jira issue already?
>
> With kind regards,
> Geoffrey De Smet
>
>
> jerome lacoste wrote:
> > On 4/14/06, Wayne Fay <wa...@gmail.com> wrote:
> >> Check out the HTTP Error 503 way down towards the bottom of the trace.
> >> This is the root cause of your troubles.
> >>
> >> Caused by: java.io.IOException: Server returned HTTP response code: 503 for
> >> URL:
> >> http://www.ibiblio.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom.sha1
> >>
> >> HTTP 503 means "Service Unavailable". This is simply happening because
> >> ibiblio (Central repo) is a *very* busy site.
> >
> > I've seen these errors many times, and it seems to puzzle developers
> > new to maven.
> > 1- these errors should be visible without having to run with -X
> > 2- maven should retry the download automatically a couple of times with a delay
> >
> > Jerome
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: m2.0.4 Is mvn tested on Linux
Posted by Geoffrey De Smet <ge...@gmail.com>.
Jerome,
I agree with you, because I had to document this specifically in my
development setup apts of my projects.
Has anyone made such a jira issue already?
With kind regards,
Geoffrey De Smet
jerome lacoste wrote:
> On 4/14/06, Wayne Fay <wa...@gmail.com> wrote:
>> Check out the HTTP Error 503 way down towards the bottom of the trace.
>> This is the root cause of your troubles.
>>
>> Caused by: java.io.IOException: Server returned HTTP response code: 503 for
>> URL:
>> http://www.ibiblio.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom.sha1
>>
>> HTTP 503 means "Service Unavailable". This is simply happening because
>> ibiblio (Central repo) is a *very* busy site.
>
> I've seen these errors many times, and it seems to puzzle developers
> new to maven.
> 1- these errors should be visible without having to run with -X
> 2- maven should retry the download automatically a couple of times with a delay
>
> Jerome
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m2.0.4 Is mvn tested on Linux
Posted by jerome lacoste <je...@gmail.com>.
On 4/14/06, Wayne Fay <wa...@gmail.com> wrote:
> Check out the HTTP Error 503 way down towards the bottom of the trace.
> This is the root cause of your troubles.
>
> Caused by: java.io.IOException: Server returned HTTP response code: 503 for
> URL:
> http://www.ibiblio.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom.sha1
>
> HTTP 503 means "Service Unavailable". This is simply happening because
> ibiblio (Central repo) is a *very* busy site.
I've seen these errors many times, and it seems to puzzle developers
new to maven.
1- these errors should be visible without having to run with -X
2- maven should retry the download automatically a couple of times with a delay
Jerome
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m2.0.4 Is mvn tested on Linux
Posted by Wayne Fay <wa...@gmail.com>.
Check out the HTTP Error 503 way down towards the bottom of the trace.
This is the root cause of your troubles.
Caused by: java.io.IOException: Server returned HTTP response code: 503 for
URL:
http://www.ibiblio.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom.sha1
HTTP 503 means "Service Unavailable". This is simply happening because
ibiblio (Central repo) is a *very* busy site.
This is not related to a bad character in a pom file.
Wayne
On 4/13/06, Gautham Pamu <ga...@gmail.com> wrote:
> Hi,
>
> Here is the output with -e option
>
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
> 765b downloaded
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.maven:maven-artifact
>
> Reason: Error getting POM for 'org.apache.maven:maven-artifact' from the
> repository: Error transferring file
> org.apache.maven:maven-artifact:pom:2.0.1
>
> from the specified remote repositories:
> Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
> central (http://repo1.maven.org/maven2),
> snapshots (http://snapshots.maven.codehaus.org/maven2)
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
> dependency information: Unable to read the metadata file for artifact '
> org.apache.maven:maven-artifact:jar': Error getting POM for '
> org.apache.maven:maven-artifact' from the repository: Error transferring
> file
> org.apache.maven:maven-artifact:pom:2.0.1
>
> from the specified remote repositories:
> Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
> central (http://repo1.maven.org/maven2),
> snapshots (http://snapshots.maven.codehaus.org/maven2)
>
> org.apache.maven:maven-artifact:jar:2.0.1
>
> from the specified remote repositories:
> Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
> central (http://repo1.maven.org/maven2),
> snapshots (http://snapshots.maven.codehaus.org/maven2)
> Path to dependency:
> 1) org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.1
> 2) org.apache.maven:maven-project:jar:2.0.1
> 3) org.apache.maven:maven-artifact-manager:jar:2.0.1
>
>
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:551)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
> DefaultLifecycleExecutor.java:488)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:458)
> 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:85)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:58)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:60)
> at java.lang.reflect.Method.invoke(Method.java:391)
> 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.ArtifactResolutionException:
> Unable to get dependency information: Unable to read the metadata file for
> artifact 'org.apache.maven:maven-artifact:jar': Error getting POM for '
> org.apache.maven:maven-artifact' from the repository: Error transferring
> file
> org.apache.maven:maven-artifact:pom:2.0.1
>
> from the specified remote repositories:
> Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
> central (http://repo1.maven.org/maven2),
> snapshots (http://snapshots.maven.codehaus.org/maven2)
>
> org.apache.maven:maven-artifact:jar:2.0.1
>
> from the specified remote repositories:
> Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
> central (http://repo1.maven.org/maven2),
> snapshots (http://snapshots.maven.codehaus.org/maven2)
> Path to dependency:
> 1) org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.1
> 2) org.apache.maven:maven-project:jar:2.0.1
> 3) org.apache.maven:maven-artifact-manager:jar:2.0.1
>
>
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> DefaultArtifactCollector.java:297)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> DefaultArtifactCollector.java:302)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> DefaultArtifactCollector.java:302)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> DefaultArtifactCollector.java:67)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (DefaultArtifactResolver.java:223)
> 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)
> ... 17 more
> Caused by:
> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> Unable to read the metadata file for artifact '
> org.apache.maven:maven-artifact:jar': Error getting POM for '
> org.apache.maven:maven-artifact' from the repository: Error transferring
> file
> org.apache.maven:maven-artifact:pom:2.0.1
>
> from the specified remote repositories:
> Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
> central (http://repo1.maven.org/maven2),
> snapshots (http://snapshots.maven.codehaus.org/maven2)
>
> at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> MavenMetadataSource.java:131)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> DefaultArtifactCollector.java:275)
> ... 27 more
> Caused by: org.apache.maven.project.ProjectBuildingException: Error getting
> POM for 'org.apache.maven:maven-artifact' from the repository: Error
> transferring file
> org.apache.maven:maven-artifact:pom:2.0.1
>
> from the specified remote repositories:
> Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
> central (http://repo1.maven.org/maven2),
> snapshots (http://snapshots.maven.codehaus.org/maven2)
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
> DefaultMavenProjectBuilder.java:499)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> DefaultMavenProjectBuilder.java:223)
> at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> MavenMetadataSource.java:102)
> ... 28 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
> Error transferring file
> org.apache.maven:maven-artifact:pom:2.0.1
>
> from the specified remote repositories:
> Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
> central (http://repo1.maven.org/maven2),
> snapshots (http://snapshots.maven.codehaus.org/maven2)
>
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
> DefaultArtifactResolver.java:140)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
> DefaultArtifactResolver.java:63)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
> DefaultMavenProjectBuilder.java:465)
> ... 30 more
> Caused by: org.apache.maven.wagon.TransferFailedException: Error
> transferring file
> at
> org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(
> LightweightHttpWagon.java:99)
> at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
> at
> org.apache.maven.artifact.manager.DefaultWagonManager.verifyChecksum(
> DefaultWagonManager.java:520)
> at
> org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(
> DefaultWagonManager.java:380)
> at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
> (DefaultWagonManager.java:282)
> at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
> (DefaultWagonManager.java:244)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
> DefaultArtifactResolver.java:124)
> ... 32 more
> Caused by: java.io.IOException: Server returned HTTP response code: 503 for
> URL:
> http://www.ibiblio.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom.sha1
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(
> HttpURLConnection.java:841)
> at
> org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(
> LightweightHttpWagon.java:85)
> ... 38 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 27 seconds
> [INFO] Finished at: Thu Apr 13 17:24:48 CDT 2006
> [INFO] Final Memory: 7M/19M
> [INFO]
> ------------------------------------------------------------------------
> gpamu@gpamu3:~/dev/csdp>
>
>
>
> On 4/13/06, Carlos Sanchez <ca...@apache.org> wrote:
> >
> > You need to send the output of mvn with the -e option
> >
> > On 4/13/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > Hi,
> > >
> > > Is mvn test on any Linux platform. I am asking this question, because
> > when I
> > > tried mvn 2.0.4 on a linux platform, I am getting
> > > these errors. I have seen similar problem with different pom files in
> > plexus
> > > when I tried mvn 2.0.3
> > > and Carlos Sanchez fixed these problems.
> > >
> > > How to reproduce the problem..
> > >
> > > Downloaded mvn 2.0.4 version (install it) and cleanup my repository
> > > directory and try to compile any projects.
> > >
> > > I think there is problem with pom files of plexus-container-default:jar:
> > > 1.0-alpha-9 . They
> > > should be having invalid characters..in thos white spaces..
> > >
> > > Downloading:
> > >
> > http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.pom
> > > 492b downloaded
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Error building POM (may not be this project's POM).
> > >
> > >
> > > Project ID: null:plexus-container-default:jar:1.0-alpha-9
> > >
> > > Reason: Cannot find parent:
> > > org.codehaus.plexus:plexus-containers for project:
> > > null:plexus-container-default:jar:1.0-alpha-9
> > >
> > >
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Total time: 26 seconds
> > > [INFO] Finished at: Thu Apr 13 16:18:49 CDT 2006
> > > [INFO] Final Memory: 7M/19M
> > > [INFO]
> > > ------------------------------------------------------------------------
> > >
> > >
> > > --
> > > -Gautham Pamu
> > >
> > > --
> > > -Gautham Pamu
> >
> >
> > --
> > I could give you my word as a Spaniard.
> > No good. I've known too many Spaniards.
> > -- The Princess Bride
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> -Gautham Pamu
>
>
Re: m2.0.4 Is mvn tested on Linux
Posted by Gautham Pamu <ga...@gmail.com>.
Hi,
Here is the output with -e option
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
765b downloaded
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.maven:maven-artifact
Reason: Error getting POM for 'org.apache.maven:maven-artifact' from the
repository: Error transferring file
org.apache.maven:maven-artifact:pom:2.0.1
from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
snapshots (http://snapshots.maven.codehaus.org/maven2)
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency information: Unable to read the metadata file for artifact '
org.apache.maven:maven-artifact:jar': Error getting POM for '
org.apache.maven:maven-artifact' from the repository: Error transferring
file
org.apache.maven:maven-artifact:pom:2.0.1
from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
snapshots (http://snapshots.maven.codehaus.org/maven2)
org.apache.maven:maven-artifact:jar:2.0.1
from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to dependency:
1) org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.1
2) org.apache.maven:maven-project:jar:2.0.1
3) org.apache.maven:maven-artifact-manager:jar:2.0.1
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:551)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
DefaultLifecycleExecutor.java:488)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:458)
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:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
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.ArtifactResolutionException:
Unable to get dependency information: Unable to read the metadata file for
artifact 'org.apache.maven:maven-artifact:jar': Error getting POM for '
org.apache.maven:maven-artifact' from the repository: Error transferring
file
org.apache.maven:maven-artifact:pom:2.0.1
from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
snapshots (http://snapshots.maven.codehaus.org/maven2)
org.apache.maven:maven-artifact:jar:2.0.1
from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to dependency:
1) org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.1
2) org.apache.maven:maven-project:jar:2.0.1
3) org.apache.maven:maven-artifact-manager:jar:2.0.1
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:297)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:302)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:302)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
DefaultArtifactCollector.java:67)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:223)
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)
... 17 more
Caused by:
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
Unable to read the metadata file for artifact '
org.apache.maven:maven-artifact:jar': Error getting POM for '
org.apache.maven:maven-artifact' from the repository: Error transferring
file
org.apache.maven:maven-artifact:pom:2.0.1
from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
snapshots (http://snapshots.maven.codehaus.org/maven2)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
MavenMetadataSource.java:131)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:275)
... 27 more
Caused by: org.apache.maven.project.ProjectBuildingException: Error getting
POM for 'org.apache.maven:maven-artifact' from the repository: Error
transferring file
org.apache.maven:maven-artifact:pom:2.0.1
from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
snapshots (http://snapshots.maven.codehaus.org/maven2)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:499)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
DefaultMavenProjectBuilder.java:223)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
MavenMetadataSource.java:102)
... 28 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Error transferring file
org.apache.maven:maven-artifact:pom:2.0.1
from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
central (http://repo1.maven.org/maven2),
snapshots (http://snapshots.maven.codehaus.org/maven2)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:140)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:63)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:465)
... 30 more
Caused by: org.apache.maven.wagon.TransferFailedException: Error
transferring file
at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(
LightweightHttpWagon.java:99)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
at
org.apache.maven.artifact.manager.DefaultWagonManager.verifyChecksum(
DefaultWagonManager.java:520)
at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(
DefaultWagonManager.java:380)
at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(DefaultWagonManager.java:282)
at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(DefaultWagonManager.java:244)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:124)
... 32 more
Caused by: java.io.IOException: Server returned HTTP response code: 503 for
URL:
http://www.ibiblio.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom.sha1
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(
HttpURLConnection.java:841)
at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(
LightweightHttpWagon.java:85)
... 38 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 27 seconds
[INFO] Finished at: Thu Apr 13 17:24:48 CDT 2006
[INFO] Final Memory: 7M/19M
[INFO]
------------------------------------------------------------------------
gpamu@gpamu3:~/dev/csdp>
On 4/13/06, Carlos Sanchez <ca...@apache.org> wrote:
>
> You need to send the output of mvn with the -e option
>
> On 4/13/06, Gautham Pamu <ga...@gmail.com> wrote:
> > Hi,
> >
> > Is mvn test on any Linux platform. I am asking this question, because
> when I
> > tried mvn 2.0.4 on a linux platform, I am getting
> > these errors. I have seen similar problem with different pom files in
> plexus
> > when I tried mvn 2.0.3
> > and Carlos Sanchez fixed these problems.
> >
> > How to reproduce the problem..
> >
> > Downloaded mvn 2.0.4 version (install it) and cleanup my repository
> > directory and try to compile any projects.
> >
> > I think there is problem with pom files of plexus-container-default:jar:
> > 1.0-alpha-9 . They
> > should be having invalid characters..in thos white spaces..
> >
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.pom
> > 492b downloaded
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: null:plexus-container-default:jar:1.0-alpha-9
> >
> > Reason: Cannot find parent:
> > org.codehaus.plexus:plexus-containers for project:
> > null:plexus-container-default:jar:1.0-alpha-9
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 26 seconds
> > [INFO] Finished at: Thu Apr 13 16:18:49 CDT 2006
> > [INFO] Final Memory: 7M/19M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> > --
> > -Gautham Pamu
> >
> > --
> > -Gautham Pamu
>
>
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
> -- The Princess Bride
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
-Gautham Pamu
Re: m2.0.4 Is mvn tested on Linux
Posted by Carlos Sanchez <ca...@apache.org>.
You need to send the output of mvn with the -e option
On 4/13/06, Gautham Pamu <ga...@gmail.com> wrote:
> Hi,
>
> Is mvn test on any Linux platform. I am asking this question, because when I
> tried mvn 2.0.4 on a linux platform, I am getting
> these errors. I have seen similar problem with different pom files in plexus
> when I tried mvn 2.0.3
> and Carlos Sanchez fixed these problems.
>
> How to reproduce the problem..
>
> Downloaded mvn 2.0.4 version (install it) and cleanup my repository
> directory and try to compile any projects.
>
> I think there is problem with pom files of plexus-container-default:jar:
> 1.0-alpha-9 . They
> should be having invalid characters..in thos white spaces..
>
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.pom
> 492b downloaded
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: null:plexus-container-default:jar:1.0-alpha-9
>
> Reason: Cannot find parent:
> org.codehaus.plexus:plexus-containers for project:
> null:plexus-container-default:jar:1.0-alpha-9
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 26 seconds
> [INFO] Finished at: Thu Apr 13 16:18:49 CDT 2006
> [INFO] Final Memory: 7M/19M
> [INFO]
> ------------------------------------------------------------------------
>
>
> --
> -Gautham Pamu
>
> --
> -Gautham Pamu
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org