geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMODEVTOOLS-694) Can not build GEP with maven 3.0
Date Tue, 31 Jul 2012 05:12:34 GMT

    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425528#comment-13425528
] 

Jarek Gawor commented on GERONIMODEVTOOLS-694:
----------------------------------------------

I think we should be able to remove the Maven 1 repository since the needed artifacts should
be in Maven central by now.

However, from what I'm seeing we have a bigger problem with maven-eclipsepde-plugin not quite
working right under Maven 3. Specifically, the dynamic Eclipse dependencies that are added
by the plugin are not being recognized under Maven 3. We might need an alternative solution
for Maven 3 using LifecycleParticipant. See SLING-2273 as an example.

                
> Can not build GEP with maven 3.0
> --------------------------------
>
>                 Key: GERONIMODEVTOOLS-694
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-694
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.2.1
>         Environment: Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200)
> Java version: 1.6.0_22
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: de_DE, platform encoding: MacRoman
> OS name: "mac os x" version: "10.6.6" arch: "x86_64" Family: "mac"
>            Reporter: Johannes Weberhofer
>            Assignee: Delos Dai
>            Priority: Minor
>
> With maven 2 then compilation runs nicely, with maven 3 packaging fails:
> [ERROR] Failed to execute goal on project org.apache.geronimo.runtime.v21: Could not
resolve dependencies for project org.apache.geronimo.devtools:org.apache.geronimo.runtime.v21:jar:2.2.1:
Failed to collect dependencies for [org.apache.geronimo.devtools:eclipse:pom:2.2.1 (compile),
org.apache.geronimo.framework:geronimo-kernel:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-deploy-jsr88:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-common:jar:2.1.7 (compile), org.apache.geronimo.modules:geronimo-j2ee-schema:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-system:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-plugin:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-deployment:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-deploy-config:jar:2.1.7
(compile), org.apache.geronimo.specs:geronimo-javaee-deployment_1.1MR3_spec:jar:1.0 (compile),
org.apache.geronimo.devtools:org.apache.geronimo.runtime.common:ja
> r:2.2.1 (compile), org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7 (compile)]: Failed
to read artifact descriptor for woodstox:wstx-asl:jar:3.2.1: Could not transfer artifact woodstox:wstx-asl:pom:3.2.1
from java.net (http://download.java.net/maven/1/): No connector available to access repository
java.net (http://download.java.net/maven/1/) of type legacy using the available factories
WagonRepositoryConnectorFactory -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project
org.apache.geronimo.runtime.v21: Could not resolve dependencies for project org.apache.geronimo.devtools:org.apache.geronimo.runtime.v21:jar:2.2.1:
Failed to collect dependencies for [org.apache.geronimo.devtools:eclipse:pom:2.2.1 (compile),
org.apache.geronimo.framework:geronimo-kernel:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-deploy-jsr88:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-common:jar:2.1.7 (compile), org.apache.geronimo.modules:geronimo-j2ee-schema:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-system:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-plugin:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-deployment:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-deploy-config:jar:2.1.7
(compile), org.apache.geronimo.specs:geronimo-javaee-deployment_1.1MR3_spec:jar:1.0 (compile),
org.apache.geronim
> o.devtools:org.apache.geronimo.runtime.common:jar:2.2.1 (compile), org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7
(compile)]
>        at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:190)
>        at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:104)
>        at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:244)
>        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:187)
>        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
>        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
>        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>        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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve
dependencies for project org.apache.geronimo.devtools:org.apache.geronimo.runtime.v21:jar:2.2.1:
Failed to collect dependencies for [org.apache.geronimo.devtools:eclipse:pom:2.2.1 (compile),
org.apache.geronimo.framework:geronimo-kernel:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-deploy-jsr88:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-common:jar:2.1.7 (compile), org.apache.geronimo.modules:geronimo-j2ee-schema:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-system:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-plugin:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-deployment:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-deploy-config:jar:2.1.7
(compile), org.apache.geronimo.specs:geronimo-javaee-deployment_1.1MR3_spec:jar:1.0 (compile),
org.apache.geronimo.devtools:org.apache.geronimo.runtime.common:jar:2.2.1 (compile), org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7
(compile)]
>        at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:127)
>        at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:165)
>        ... 22 more
> Caused by: org.sonatype.aether.collection.DependencyCollectionException: Failed to collect
dependencies for [org.apache.geronimo.devtools:eclipse:pom:2.2.1 (compile), org.apache.geronimo.framework:geronimo-kernel:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-deploy-jsr88:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-common:jar:2.1.7
(compile), org.apache.geronimo.modules:geronimo-j2ee-schema:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-system:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-plugin:jar:2.1.7 (compile), org.apache.geronimo.framework:geronimo-deployment:jar:2.1.7
(compile), org.apache.geronimo.framework:geronimo-deploy-config:jar:2.1.7 (compile), org.apache.geronimo.specs:geronimo-javaee-deployment_1.1MR3_spec:jar:1.0
(compile), org.apache.geronimo.devtools:org.apache.geronimo.runtime.common:jar:2.2.1 (compile),
org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7 (compile)]
>        at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:256)
>        at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:272)
>        at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:119)
>        ... 23 more
> Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read
artifact descriptor for woodstox:wstx-asl:jar:3.2.1
>        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:274)
>        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:170)
>        at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:424)
>        at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:520)
>        at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:520)
>        at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:238)
>        ... 25 more
> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer
artifact woodstox:wstx-asl:pom:3.2.1 from java.net (http://download.java.net/maven/1/): No
connector available to access repository java.net (http://download.java.net/maven/1/) of type
legacy using the available factories WagonRepositoryConnectorFactory
>        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:488)
>        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:190)
>        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:259)
>        ... 30 more
> Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer
artifact woodstox:wstx-asl:pom:3.2.1 from java.net (http://download.java.net/maven/1/): No
connector available to access repository java.net (http://download.java.net/maven/1/) of type
legacy using the available factories WagonRepositoryConnectorFactory
>        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:418)
>        ... 32 more
> Caused by: org.sonatype.aether.transfer.NoRepositoryConnectorException: No connector
available to access repository java.net (http://download.java.net/maven/1/) of type legacy
using the available factories WagonRepositoryConnectorFactory
>        at org.sonatype.aether.impl.internal.DefaultRemoteRepositoryManager.getRepositoryConnector(DefaultRemoteRepositoryManager.java:361)
>        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:403)
>        ... 32 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message