Hudson version 1.160 Wagon problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Hudson version 1.160 Wagon problem

Plante, David
Message
HI,
 
We currently have Hudson version 1.158 iinstalled and it works well. We tried to install version 1.159 and 1.160 but every time we build a job, we get the following errors :

[...]
ERROR: Failed to parse POMs
hudson.util.IOException2: Cannot find parent: accel.sandbox.project-management.build-system:accel-pom for project: accel.sandbox:first:jar:1.0.1-SNAPSHOT
[...]
Caused by: org.apache.maven.project.ProjectBuildingException: Error getting POM for 'accel.sandbox.project-management.build-system:accel-pom ' from the repository: Unsupported Protocol: 'file': Cannot find wagon which supports the requested protocol: file
  accel.sandbox.project-management.build-system:accel-pom:pom:1.4.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
[...]

A fix have have been release since version 1.159 ( https://hudson.dev.java.net/changelog.html - Removed maven wagon provider jars that were somehow sucked into the dependencies).
Is this a new bug? How can we make it work now ?
 
Thanks for help

 
----------------------------------------------------------------------------------
David Plante
Stagiaire en informatique
AXA Canada
2020, rue University, Bureau 700
Montréal (Québec) H3A 2A5
Tél. : (514) 282-6817, poste 4363
Téléc. : (514) 282-6017
Courriel :
[hidden email]
 
 
 
 

"Ce message est confidentiel, à l'usage exclusif du destinataire ci-dessus et son contenu ne représente en aucun cas un engagement de la part de AXA, sauf en cas de stipulation expresse et par écrit de la part de AXA. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur."

"This e-mail message is confidential, for the exclusive use of the addressee and its contents shall not constitute a commitment by AXA, except as otherwise specifically provided in writing by AXA. Any unauthorized disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient of the message, please notify the sender immediately."
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Hudson version 1.160 Wagon problem

David Tai
Message

I got the same problem

 


From: Plante, David [mailto:[hidden email]]
Sent: Thursday, December 13, 2007 9:56 AM
To: [hidden email]
Subject: Hudson version 1.160 Wagon problem

 

HI,

 

We currently have Hudson version 1.158 iinstalled and it works well. We tried to install version 1.159 and 1.160 but every time we build a job, we get the following errors :

[...]
ERROR: Failed to parse POMs
hudson.util.IOException2: Cannot find parent: accel.sandbox.project-management.build-system:accel-pom for project: accel.sandbox:first:jar:1.0.1-SNAPSHOT
[...]
Caused by: org.apache.maven.project.ProjectBuildingException: Error getting POM for 'accel.sandbox.project-management.build-system:accel-pom ' from the repository: Unsupported Protocol: 'file': Cannot find wagon which supports the requested protocol: file
  accel.sandbox.project-management.build-system:accel-pom:pom:1.4.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
[...]

A fix have have been release since version 1.159 ( https://hudson.dev.java.net/changelog.html - Removed maven wagon provider jars that were somehow sucked into the dependencies).

Is this a new bug? How can we make it work now ?

 

Thanks for help

 

 

----------------------------------------------------------------------------------

David Plante

Stagiaire en informatique

AXA Canada

2020, rue University, Bureau 700

Montréal (Québec) H3A 2A5

Tél. : (514) 282-6817, poste 4363
Téléc. : (
514) 282-6017
Courriel :
[hidden email]

 

 

 

 


"Ce message est confidentiel, à l'usage exclusif du destinataire ci-dessus et son contenu ne représente en aucun cas un engagement de la part de AXA, sauf en cas de stipulation expresse et par écrit de la part de AXA. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur."

"This e-mail message is confidential, for the exclusive use of the addressee and its contents shall not constitute a commitment by AXA, except as otherwise specifically provided in writing by AXA. Any unauthorized disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient of the message, please notify the sender immediately."

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hudson version 1.160 Wagon problem

Kohsuke Kawaguchi
Administrator
In reply to this post by Plante, David
Very likely. Can you run maven with the -X option and attach the log here?

Or perhaps can you write me a small POM as a test case?

2007/12/13, Plante, David <[hidden email]>:

>
>
> HI,
>
> We currently have Hudson version 1.158 iinstalled and it works well. We
> tried to install version 1.159 and 1.160 but every time we build a job, we
> get the following errors :
>
> [...]
> ERROR: Failed to parse POMs
> hudson.util.IOException2: Cannot find parent:
> accel.sandbox.project-management.build-system:accel-pom for
> project: accel.sandbox:first:jar:1.0.1-SNAPSHOT
> [...]
> Caused by:
> org.apache.maven.project.ProjectBuildingException: Error
> getting POM for
> 'accel.sandbox.project-management.build-system:accel-pom '
> from the repository: Unsupported Protocol: 'file': Cannot find wagon which
> supports the requested protocol: file
>
> accel.sandbox.project-management.build-system:accel-pom:pom:1.4.1
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
> [...]
>
> A fix have have been release since version 1.159 (
> https://hudson.dev.java.net/changelog.html - Removed maven
> wagon provider jars that were somehow sucked into the dependencies).
>
> Is this a new bug? How can we make it work now ?
>
> Thanks for help
>
>
>
> ----------------------------------------------------------------------------------
> David Plante
> Stagiaire en informatique
> AXA Canada
> 2020, rue University, Bureau 700
> Montréal (Québec) H3A 2A5
> Tél. : (514) 282-6817, poste 4363
> Téléc. : (514) 282-6017
> Courriel : [hidden email]
>
>
>
>
>  ________________________________
>
> "Ce message est confidentiel, à l'usage exclusif du destinataire ci-dessus
> et son contenu ne représente en aucun cas un engagement de la part de AXA,
> sauf en cas de stipulation expresse et par écrit de la part de AXA. Toute
> publication, utilisation ou diffusion, même partielle, doit être autorisée
> préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en
> avertir immédiatement l'expéditeur."
>
> "This e-mail message is confidential, for the exclusive use of the addressee
> and its contents shall not constitute a commitment by AXA, except as
> otherwise specifically provided in writing by AXA. Any unauthorized
> disclosure, use or dissemination, either whole or partial, is prohibited. If
> you are not the intended recipient of the message, please notify the sender
> immediately."


--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE : Re: Hudson version 1.160 Wagon problem

Plante, David
In reply to this post by Plante, David
Hi,

Heres the console output.

For a test case, just make a new java 1.5 project and insert it in Hudson. Clean up the maven repository before launching Hudson. You'll get that error.

* Your pom file needs a parent pom.
* It work perfectly in maven.

Thanks


started
Updating http://vcs.XXXXXXXXXXX.com/svn/XXXXX/applications/project-name/trunk
At revision 58551
no change for http://vcs.XXXXXXXXXXX.com/svn/XXXXX/applications/project-name/trunk since the previous build
Parsing POMs
ERROR: Failed to parse POMs
hudson.util.IOException2: Cannot find parent: XXXXX.project-management.build-system:XXXXX-pom for project: XXXXX.applications:project-name:jar:1.0.0-SNAPSHOT
 at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:529)
 at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:466)
 at hudson.FilePath.act(FilePath.java:291)
 at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:239)
 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:192)
 at hudson.model.Run.run(Run.java:649)
 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172)
 at hudson.model.ResourceController.execute(ResourceController.java:70)
 at hudson.model.Executor.run(Executor.java:64)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: XXXXX.project-management.build-system:XXXXX-pom for project: XXXXX.applications:project-name:jar:1.0.0-SNAPSHOT
 at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161)
 at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674)
 at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416)
 at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192)
 at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:269)
 at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:508)
 ... 8 more
Caused by: org.apache.maven.project.ProjectBuildingException: Error getting POM for 'XXXXX.project-management.build-system:XXXXX-pom' from the repository: Unsupported Protocol: 'file': Cannot find wagon which supports the requested protocol: file
  XXXXX.project-management.build-system:XXXXX-pom:pom:1.3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  third.party (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/third.party),
  XXXXX.legacy.latest (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.latest),
  codehaus (http://repository.codehaus.org),
  codehaus.snaphots (http://snapshots.repository.codehaus.org),
  XXXXX.snapshots (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.snapshots),
  maven2-repository.dev.java.net (http://download.java.net/maven/2),
  XXXXX.legacy.internal (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.internal),
  XXXXX.legacy.external (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.external),
  XXXXX.release (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.release)

 at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:501)
 at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157)
 ... 13 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unsupported Protocol: 'file': Cannot find wagon which supports the requested protocol: file
  XXXXX.project-management.build-system:XXXXX-pom:pom:1.3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  third.party (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/third.party),
  XXXXX.legacy.latest (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.latest),
  codehaus (http://repository.codehaus.org),
  codehaus.snaphots (http://snapshots.repository.codehaus.org),
  XXXXX.snapshots (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.snapshots),
  maven2-repository.dev.java.net (http://download.java.net/maven/2),
  XXXXX.legacy.internal (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.internal),
  XXXXX.legacy.external (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.external),
  XXXXX.release (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.release)

 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:467)
 ... 14 more
Caused by: org.apache.maven.wagon.TransferFailedException: Unsupported Protocol: 'file': Cannot find wagon which supports the requested protocol: file
 at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:325)
 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)
 ... 16 more
Caused by: org.apache.maven.wagon.UnsupportedProtocolException: Cannot find wagon which supports the requested protocol: file
 at org.apache.maven.artifact.manager.DefaultWagonManager.getWagon(DefaultWagonManager.java:99)
 at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:319)
 ... 19 more
Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagonfile.
 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:323)
 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
 at org.apache.maven.artifact.manager.DefaultWagonManager.getWagon(DefaultWagonManager.java:94)
 ... 20 more
finished: FAILURE



-----Message d'origine-----
De : [hidden email] [mailto:[hidden email]] De la part de Kohsuke Kawaguchi
Envoyé : dimanche, décembre 16, 2007 11:55
À : [hidden email]
Objet : Re: Hudson version 1.160 Wagon problem


Very likely. Can you run maven with the -X option and attach the log here?

Or perhaps can you write me a small POM as a test case?

2007/12/13, Plante, David <[hidden email]>:

>
>
> HI,
>
> We currently have Hudson version 1.158 iinstalled and it works well.
> We tried to install version 1.159 and 1.160 but every time we build a
> job, we get the following errors :
>
> [...]
> ERROR: Failed to parse POMs
> hudson.util.IOException2: Cannot find parent:
> accel.sandbox.project-management.build-system:accel-pom for
> project: accel.sandbox:first:jar:1.0.1-SNAPSHOT
> [...]
> Caused by:
> org.apache.maven.project.ProjectBuildingException: Error getting POM
> for 'accel.sandbox.project-management.build-system:accel-pom '
> from the repository: Unsupported Protocol: 'file': Cannot find wagon which
> supports the requested protocol: file
>
> accel.sandbox.project-management.build-system:accel-pom:pom:1.4.1
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
> [...]
>
> A fix have have been release since version 1.159 (
> https://hudson.dev.java.net/changelog.html - Removed maven wagon
> provider jars that were somehow sucked into the dependencies).
>
> Is this a new bug? How can we make it work now ?
>
> Thanks for help
>
>
>
> ----------------------------------------------------------------------
> ------------
> David Plante
> Stagiaire en informatique
> AXA Canada
> 2020, rue University, Bureau 700
> Montréal (Québec) H3A 2A5
> Tél. : (514) 282-6817, poste 4363
> Téléc. : (514) 282-6017
> Courriel : [hidden email]
>
>
>
>
>  ________________________________
>
> "Ce message est confidentiel, à l'usage exclusif du destinataire
> ci-dessus et son contenu ne représente en aucun cas un engagement de
> la part de AXA, sauf en cas de stipulation expresse et par écrit de la
> part de AXA. Toute publication, utilisation ou diffusion, même
> partielle, doit être autorisée préalablement. Si vous n'êtes pas
> destinataire de ce message, merci d'en avertir immédiatement
> l'expéditeur."
>
> "This e-mail message is confidential, for the exclusive use of the
> addressee and its contents shall not constitute a commitment by AXA,
> except as otherwise specifically provided in writing by AXA. Any
> unauthorized disclosure, use or dissemination, either whole or
> partial, is prohibited. If you are not the intended recipient of the
> message, please notify the sender immediately."


--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: RE : Re: Hudson version 1.160 Wagon problem

Kohsuke Kawaguchi
Administrator
Plante, David wrote:
> Hi,
>
> Heres the console output.
>
> For a test case, just make a new java 1.5 project and insert it in Hudson. Clean up the maven repository before launching Hudson. You'll get that error.
>
> * Your pom file needs a parent pom.
> * It work perfectly in maven.

I guess I'm trying to be lazy because I don't think it's "just make a
new java 1.5 project" --- you'd need to have a POM that has
<distributionManagement> or something that points to a file repository.

Oh wait! Thanks for the stack trace. I think I understand exactly what's
going on!

>
> Thanks
>
>
> started
> Updating http://vcs.XXXXXXXXXXX.com/svn/XXXXX/applications/project-name/trunk
> At revision 58551
> no change for http://vcs.XXXXXXXXXXX.com/svn/XXXXX/applications/project-name/trunk since the previous build
> Parsing POMs
> ERROR: Failed to parse POMs
> hudson.util.IOException2: Cannot find parent: XXXXX.project-management.build-system:XXXXX-pom for project: XXXXX.applications:project-name:jar:1.0.0-SNAPSHOT
>  at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:529)
>  at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:466)
>  at hudson.FilePath.act(FilePath.java:291)
>  at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:239)
>  at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:192)
>  at hudson.model.Run.run(Run.java:649)
>  at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172)
>  at hudson.model.ResourceController.execute(ResourceController.java:70)
>  at hudson.model.Executor.run(Executor.java:64)
> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: XXXXX.project-management.build-system:XXXXX-pom for project: XXXXX.applications:project-name:jar:1.0.0-SNAPSHOT
>  at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161)
>  at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674)
>  at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416)
>  at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192)
>  at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:269)
>  at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:508)
>  ... 8 more
> Caused by: org.apache.maven.project.ProjectBuildingException: Error getting POM for 'XXXXX.project-management.build-system:XXXXX-pom' from the repository: Unsupported Protocol: 'file': Cannot find wagon which supports the requested protocol: file
>   XXXXX.project-management.build-system:XXXXX-pom:pom:1.3
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   third.party (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/third.party),
>   XXXXX.legacy.latest (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.latest),
>   codehaus (http://repository.codehaus.org),
>   codehaus.snaphots (http://snapshots.repository.codehaus.org),
>   XXXXX.snapshots (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.snapshots),
>   maven2-repository.dev.java.net (http://download.java.net/maven/2),
>   XXXXX.legacy.internal (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.internal),
>   XXXXX.legacy.external (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.external),
>   XXXXX.release (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.release)
>
>  at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:501)
>  at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157)
>  ... 13 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unsupported Protocol: 'file': Cannot find wagon which supports the requested protocol: file
>   XXXXX.project-management.build-system:XXXXX-pom:pom:1.3
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   third.party (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/third.party),
>   XXXXX.legacy.latest (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.latest),
>   codehaus (http://repository.codehaus.org),
>   codehaus.snaphots (http://snapshots.repository.codehaus.org),
>   XXXXX.snapshots (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.snapshots),
>   maven2-repository.dev.java.net (http://download.java.net/maven/2),
>   XXXXX.legacy.internal (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.internal),
>   XXXXX.legacy.external (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.legacy.external),
>   XXXXX.release (file://///server.XXXXXXXXXXX.internal/XXXXX-maven-remote-repository/XXXXX.release)
>
>  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:467)
>  ... 14 more
> Caused by: org.apache.maven.wagon.TransferFailedException: Unsupported Protocol: 'file': Cannot find wagon which supports the requested protocol: file
>  at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:325)
>  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)
>  ... 16 more
> Caused by: org.apache.maven.wagon.UnsupportedProtocolException: Cannot find wagon which supports the requested protocol: file
>  at org.apache.maven.artifact.manager.DefaultWagonManager.getWagon(DefaultWagonManager.java:99)
>  at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:319)
>  ... 19 more
> Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagonfile.
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:323)
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
>  at org.apache.maven.artifact.manager.DefaultWagonManager.getWagon(DefaultWagonManager.java:94)
>  ... 20 more
> finished: FAILURE
--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: RE : Re: Hudson version 1.160 Wagon problem

Kohsuke Kawaguchi
Administrator
Kohsuke Kawaguchi wrote:

> Plante, David wrote:
>> Hi,
>>
>> Heres the console output.
>>
>> For a test case, just make a new java 1.5 project and insert it in Hudson. Clean up the maven repository before launching Hudson. You'll get that error.
>>
>> * Your pom file needs a parent pom.
>> * It work perfectly in maven.
>
> I guess I'm trying to be lazy because I don't think it's "just make a
> new java 1.5 project" --- you'd need to have a POM that has
> <distributionManagement> or something that points to a file repository.
>
> Oh wait! Thanks for the stack trace. I think I understand exactly what's
> going on!
So it was embedder that's failing. I fixed this in 1.162.


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Loading...