maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNG-4546) Cannot configure maven Wagon Provider
Date Mon, 25 Jan 2010 23:32:55 GMT

     [ http://jira.codehaus.org/browse/MNG-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter updated MNG-4546:
------------------------------

    Fix Version/s: 2.2.2

I'll have to check the ITs for this to make sure the documentation is correct.

In the mean time, you can have effectively the same thing by using a URL like this:

dav:http://...

> Cannot configure maven Wagon Provider
> -------------------------------------
>
>                 Key: MNG-4546
>                 URL: http://jira.codehaus.org/browse/MNG-4546
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.2.1
>         Environment: Maven 2.2.1, Linux, nexus
>            Reporter: Brian Ko
>             Fix For: 2.2.2
>
>
> Since I have outOfMemory error, I tried to use httpclient instead of default, lightweight.
When I changed the configuration as follows
>   <servers>
>     <server>
>       <id>central</id>
>       <configuration>
>         <wagonProvider>httpclient</wagonProvider>
>         [...]
>       </configuration>
>     </server>
> I have follwoing error.
> [INFO ] Retrieving previous build number from masco-coatings.snapshots
> ERROR: Error retrieving previous build number for artifact 'mascocoatings.portal:mascocoatings-portal-coc:war':
repository metadata for: 'snapshot mascocoatings.portal:mascocoatings-portal-coc:1.0.0-SNAPSHOT'
could not be retrieved from repository: masco-coatings.snapshots due to an error: While configuring
wagon for 'masco-coatings.snapshots': Unable to apply wagon configuration.
> org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error retrieving previous
build number for artifact 'mascocoatings.portal:mascocoatings-portal-coc:war': repository
metadata for: 'snapshot mascocoatings.portal:mascocoatings-portal-coc:1.0.0-SNAPSHOT' could
not be retrieved from repository: masco-coatings.snapshots due to an error: While configuring
wagon for 'masco-coatings.snapshots': Unable to apply wagon configuration.
> 	at org.apache.maven.artifact.transform.SnapshotTransformation.transformForDeployment(SnapshotTransformation.java:106)
> 	at org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transformForDeployment(DefaultArtifactTransformationManager.java:78)
> 	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:71)
> 	at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:119)
> 	at hudson.maven.reporters.MavenAggregatedArtifactRecord.deploy(MavenAggregatedArtifactRecord.java:79)
> 	at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:96)
> 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> 	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:508)
> 	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:494)
> 	at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:594)
> 	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:466)
> 	at hudson.model.Run.run(Run.java:1197)
> 	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:303)
> 	at hudson.model.ResourceController.execute(ResourceController.java:88)
> 	at hudson.model.Executor.run(Executor.java:123)
> Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataResolutionException:
repository metadata for: 'snapshot mascocoatings.portal:mascocoatings-portal-coc:1.0.0-SNAPSHOT'
could not be retrieved from repository: masco-coatings.snapshots due to an error: While configuring
wagon for 'masco-coatings.snapshots': Unable to apply wagon configuration.
> 	at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositoryMetadataManager.java:352)
> 	at org.apache.maven.artifact.transform.SnapshotTransformation.resolveLatestSnapshotBuildNumber(SnapshotTransformation.java:161)
> 	at org.apache.maven.artifact.transform.SnapshotTransformation.transformForDeployment(SnapshotTransformation.java:100)
> 	... 14 more
> Caused by: org.apache.maven.artifact.manager.WagonConfigurationException: While configuring
wagon for 'masco-coatings.snapshots': Unable to apply wagon configuration.
> 	at org.apache.maven.artifact.manager.DefaultWagonManager.configureWagon(DefaultWagonManager.java:1004)
> 	at org.apache.maven.artifact.manager.DefaultWagonManager.configureWagon(DefaultWagonManager.java:980)
> 	at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:400)
> 	at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadataFromDeploymentRepository(DefaultWagonManager.java:379)
> 	at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.getArtifactMetadataFromDeploymentRepository(DefaultRepositoryMetadataManager.java:380)
> 	at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositoryMetadataManager.java:348)
> 	... 16 more
> Caused by: org.codehaus.plexus.component.configurator.ComponentConfigurationException:
Cannot find setter nor field in org.apache.maven.wagon.providers.http.LightweightHttpWagon
for 'wagonProvider'
> 	at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.<init>(ComponentValueSetter.java:68)
> 	at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:134)
> 	at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56)
> 	at org.codehaus.plexus.component.configurator.AbstractComponentConfigurator.configureComponent(AbstractComponentConfigurator.java:54)
> 	at org.codehaus.plexus.component.configurator.AbstractComponentConfigurator.configureComponent(AbstractComponentConfigurator.java:47)
> 	at org.apache.maven.artifact.manager.DefaultWagonManager.configureWagon(DefaultWagonManager.java:993)
> 	... 21 more
> When I tried to execute "mvn -Dmaven.wagon.provider.http=httpclient clean install" from
Hudson, it did not work either. Did I miss something? Thank you.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message