maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barrie Treloar (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MECLIPSE-536) Unable to test staged release (pom is not downloaded)
Date Wed, 25 Mar 2009 08:24:12 GMT

    [ http://jira.codehaus.org/browse/MECLIPSE-536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170896#action_170896
] 

Barrie Treloar commented on MECLIPSE-536:
-----------------------------------------

I saw the mirror section with the ... and assumed you had a mirrorOf * as well.

I dont know why you can get the JAR and not the pom.

You can see in your -X output that 
{quote}
DEBUG] maven-eclipse-plugin: resolved to version 2.6 from repository central
[DEBUG] Trying repository central
[DEBUG] Using mirror: http://pic-java-nce.sud.capgemini.fr:8090/archiva/repository/central
(id: central)
...
Downloading: http://pic-java-nce.sud.mycompany.fr:8090/archiva/repository/central/org/apache/maven/plugins/maven-eclipse-plugin/2.6/maven-eclipse-plugin-2.6.pom
{quote}

your corporate archiva is being contacted to download the pom.

You need to stop iyour maven doing that somehow.


> Unable to test staged release (pom is not downloaded)
> -----------------------------------------------------
>
>                 Key: MECLIPSE-536
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-536
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>    Affects Versions: 2.6
>         Environment: Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100)
> Java version: 1.6.0_12
> Java home: C:\Program Files\Java\jdk1.6.0_12\jre
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Julien HENRY
>
> I tried to use the staged 2.6 version but it seems the pom is not downloaded.
> {code}
> >mvn -Pstaged-releases clean install eclipse:eclipse -cpu -X
> + Error stacktraces are turned on.
> Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100)
> Java version: 1.6.0_12
> Java home: C:\Program Files\Java\jdk1.6.0_12\jre
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\jhenry\.m2\plugin-registry.xml'
> [DEBUG] Building Maven global-level plugin registry from: 'D:\apache-maven-2.1.0\bin\..\conf\plugin-registry.xml'
> [INFO] Scanning for projects...
> [DEBUG] Searching for parent-POM: com.XXXXX.itdemand:XXXXXX-itdemand:pom:1.0.2-SNAPSHOT
of project: null:XXXXXX-itdemand-webapp:war:null in relative path: ../pom.xml
> [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for project: null:XXXXXXX-itdemand-webapp:war:null
> [DEBUG] Adding managed dependencies for unknown:XXXXXXX-itdemand-webapp
> [DEBUG]  com.XXXXXXX.itdemand:XXXXXXX-itdemand-webapp:war:1.0.2-SNAPSHOT
> [DEBUG]  com.XXXXXXXX.itdemand:XXXXXXX-itdemand-ear:ejb:1.0.2-SNAPSHOT
> [DEBUG] Retrieving parent-POM: org.apache.maven.release:maven-release:pom:5 for project:
org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.0-beta-8 from the repository.
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:9 for project: org.apache.maven.release:maven-release:pom:5
from the repository..
> [DEBUG] Retrieving parent-POM: org.apache:apache:pom:4 for project: org..apache.maven:maven-parent:pom:9
from the repository.
> [DEBUG] Adding managed dependencies for org.apache.maven.plugins:maven-release-plugin
> [DEBUG]  org.codehaus.plexus:plexus-utils:jar:1.5.6
> [DEBUG] maven-enforcer-plugin: resolved to version 1.0-alpha-3 from repository central
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins:pom:8 for project:
org.apache.maven.plugins:maven-enforcer-plugin:maven-plugin:1.0-alpha-3 from the repository.
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:5 for project: org.apache.maven.plugins:maven-plugins:pom:8
from the repository.
> [DEBUG] Retrieving parent-POM: org.apache:apache:pom:3 for project: org.apache.maven:maven-parent:pom:5
from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.mojo.hibernate3:maven-hibernate3:pom:2.2
for project: org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:null from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-parent:pom:20 for project: org.codehaus.mojo.hibernate3:maven-hibernate3:pom:2.2
from the repository.
> [DEBUG] Adding managed dependencies for org.codehaus.mojo:hibernate3-maven-plugin
> [DEBUG]  hsqldb:hsqldb:jar:1.8.0.7:test
> [DEBUG]  org.apache.maven:maven-plugin-api:jar:2.0.6
> [DEBUG]  org.apache.maven:maven-project:jar:2.0.6
> [DEBUG]  org.apache.maven:maven-model:jar:2.0.6
> [DEBUG]  org.apache.maven:maven-artifact:jar:2.0.6
> [DEBUG]  org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1
> [DEBUG]  org.hibernate:hibernate-core:jar:3.3.1.GA
> [DEBUG]  org.hibernate:ejb3-persistence:jar:1.0.2.GA
> [DEBUG]  org.hibernate:hibernate-entitymanager:jar:3.4.0.GA
> [DEBUG]  org.hibernate:hibernate-tools:jar:3.2.3..GA
> [DEBUG]  org.codehaus.plexus:plexus-utils:jar:1.5.6
> [DEBUG]  org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.1.1:runtime
> [DEBUG]  log4j:log4j:jar:1.2.14:runtime
> [DEBUG]  org.slf4j:slf4j-log4j12:jar:1.5.6:runtime
> [DEBUG]  org.slf4j:slf4j-api:jar:1.5.6:runtime
> [DEBUG]  org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
> [DEBUG]  junit:junit:jar:3.8.2:test
> [DEBUG] cobertura-maven-plugin: resolved to version 2.2 from repository central
> [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo:pom:16 for project: null:cobertura-maven-plugin:maven-plugin:2.2
from the repository.
> [DEBUG] Adding managed dependencies for unknown:cobertura-maven-plugin
> [DEBUG]  org.apache.maven:maven-plugin-api:jar:2.0
> [DEBUG]  junit:junit:jar:3.8.1:test
> [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-parent:pom:18 for project: null:xmlbeans-maven-plugin:maven-plugin:2.3.2
from the repository.
> [DEBUG] Adding managed dependencies for unknown:xmlbeans-maven-plugin
> [DEBUG]  org.apache.maven:maven-plugin-api:jar:2.0
> [DEBUG]  junit:junit:jar:3.8.2:test
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [DEBUG] Loading plugin prefixes from group: org..codehaus.mojo
> [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
> [DEBUG] maven-eclipse-plugin: resolved to version 2.6 from repository central
> [DEBUG] Trying repository central
> [DEBUG] Using mirror: http://pic-java-nce.sud.capgemini.fr:8090/archiva/repository/central
(id: central)
> [DEBUG] Checking for pre-existing User-Agent configuration.
> [DEBUG] Adding User-Agent configuration.
> [DEBUG] Connecting to repository: 'central' with url: 'http://pic-java-nce.sud.mycompany.fr:8090/archiva/repository/central'.
> Downloading: http://pic-java-nce.sud.mycompany.fr:8090/archiva/repository/central/org/apache/maven/plugins/maven-eclipse-plugin/2.6/maven-eclipse-plugin-2.6.pom
> [DEBUG] Unable to locate resource in repository
> org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository
>         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:139)
>         at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
>         at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:491)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:372)
>         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
>         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
>         at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
>         at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:251)
>         at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:163)
>         at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:299)
>         at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:673)
>         at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:187)
>         at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:91)
>         at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:172)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1517)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1786)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:446)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:176)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)
> Caused by: java.io.FileNotFoundException: http://pic-java-nce.sud.capgemini.fr:8090/archiva/repository/central/org/apache/maven/plugins/maven-eclipse-plugin/2.6/maven-eclipse-plugin-2.6.pom
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1345)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.net.www.protocol.http..HttpURLConnection.getChainedException(HttpURLConnection.java:1339)
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:993)
>         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:122)
>         ... 30 more
> Caused by: java.io.FileNotFoundException: http://pic-java-nce.sud.capgemini.fr:8090/archiva/repository/central/org/apache/maven/plugins/maven-eclipse-plugin/2.6/maven-eclipse-plugin-2.6.pom
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1288)
>         at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
>         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115)
>         ... 30 more
> [DEBUG] Using mirror: http://pic-java-nce.sud.capgemini.fr:8090/archiva/repository/central
(id: central)
> [DEBUG] Artifact not found - using stub model: Unable to locate resource in repository
>   org.apache.maven.plugins:maven-eclipse-plugin:pom:2.6
> from the specified remote repositories:
>   central (http://pic-java-nce.sud.capgemini.fr:8090/archiva/repository/central),
>   staged-releases (https://repository.apache.org/content/repositories/maven-staging-52acfb2f215fcf/)
> [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-eclipse-plugin:pom:2.6
> [DEBUG] Trying repository staged-releases
> [DEBUG] Checking for pre-existing User-Agent configuration.
> [DEBUG] Adding User-Agent configuration.
> [DEBUG] Connecting to repository: 'staged-releases' with url: 'https://repository.apache.org/content/repositories/maven-staging-52acfb2f215fcf/'.
> Downloading: https://repository.apache.org/content/repositories/maven-staging-52acfb2f215fcf//org/apache/maven/plugins/maven-eclipse-plugin/2.6/maven-eclipse-plugin-2.6.jar
> {code}
> After that only plugin JAR is downloaded (not the pom), and I finally have:
> {code}
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse':
> Unable to load the mojo 'org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse' in
the plugin 'org.apache.maven.plugins:maven-eclipse-plugin'. A required class is missing: org/codehaus/plexus/resource/loader/ResourceNotFoundException
> {code}

-- 
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