[jbosstools-dev] o.j.t.tycho-plugins.repository-utils missing pom

Nick Boldt nboldt at redhat.com
Mon Jul 21 10:32:28 EDT 2014


See comments in these JIRA:

https://issues.jboss.org/browse/JBIDE-17941
https://issues.jboss.org/browse/JBIDE-17942

On 07/21/2014 08:49 AM, Max Rydahl Andersen wrote:
> On 21 Jul 2014, at 13:01, Martin Malina wrote:
>
>> AFAICS, no build that depends on the jboss tools parent pom works.
>
> eh...thats definitely not supposed to happen.
>
> Looking into it.
>
> /max
>
>>
>> Ie. when you try to build jbosstools-server or
>> jbosstools-integration-tests, you get this:
>>
>> nattura:jbosstools-server rasp$ mvn clean verify -DskipTests
>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
>> PermSize=128m; support was removed in 8.0
>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
>> MaxPermSize=256m; support was removed in 8.0
>> [INFO] Scanning for projects...
>> Downloading:
>> https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/parent/4.2.0.CR1-SNAPSHOT/maven-metadata.xml
>> Downloading:
>> https://repository.jboss.org/nexus/content/repositories/releases/org/jboss/tools/parent/4.2.0.CR1-SNAPSHOT/maven-metadata.xml
>> Downloaded:
>> https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/parent/4.2.0.CR1-SNAPSHOT/maven-metadata.xml
>> (606 B at 0.4 KB/sec)
>> [WARNING] Could not transfer metadata
>> org.jboss.tools:parent:4.2.0.CR1-SNAPSHOT/maven-metadata.xml from/to
>> jbosstools-base (${jbosstools-base-site}): No connector available to
>> access repository jbosstools-base (${jbosstools-base-site}) of type p2
>> using the available factories WagonRepositoryConnectorFactory
>> Downloading:
>> https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/parent/4.2.0.CR1-SNAPSHOT/parent-4.2.0.CR1-20140708.134830-2.pom
>> objc[85943]: Class JavaLaunchHelper is implemented in both
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/bin/java
>> and
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre/lib/libinstrument.dylib.
>> One of the two will be used. Which one is undefined.
>> Downloaded:
>> https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/parent/4.2.0.CR1-SNAPSHOT/parent-4.2.0.CR1-20140708.134830-2.pom
>> (28 KB at 23.2 KB/sec)
>> Downloading:
>> https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/targetplatforms/jbosstools-unified/4.40.0.CR1-SNAPSHOT/maven-metadata.xml
>> Downloading:
>> https://repository.jboss.org/nexus/content/repositories/releases/org/jboss/tools/targetplatforms/jbosstools-unified/4.40.0.CR1-SNAPSHOT/maven-metadata.xml
>> Downloaded:
>> https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/targetplatforms/jbosstools-unified/4.40.0.CR1-SNAPSHOT/maven-metadata.xml
>> (869 B at 1.6 KB/sec)
>> Downloading:
>> https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/targetplatforms/jbosstools-unified/4.40.0.CR1-SNAPSHOT/jbosstools-unified-4.40.0.CR1-20140713.052635-2-jbosstools-unified.target
>> Downloaded:
>> https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/targetplatforms/jbosstools-unified/4.40.0.CR1-SNAPSHOT/jbosstools-unified-4.40.0.CR1-20140713.052635-2-jbosstools-unified.target
>> (32 KB at 30.8 KB/sec)
>> [WARNING] The POM for
>> org.jboss.tools.tycho-plugins:repository-utils:jar:0.19.0-20140714.150948-34
>> is missing, no dependency information available
>> [ERROR] Internal error: java.lang.RuntimeException:
>> org.apache.maven.MavenExecutionException: Could not setup plugin
>> ClassRealm: Plugin
>> org.jboss.tools.tycho-plugins:repository-utils:0.19.0-SNAPSHOT or one
>> of its dependencies could not be resolved: Failed to read artifact
>> descriptor for
>> org.jboss.tools.tycho-plugins:repository-utils:jar:0.19.0-SNAPSHOT:
>> Failure to find
>> org.jboss.tools.tycho-plugins:repository-utils:pom:0.19.0-20140714.150948-34
>> in https://repository.sonatype.org/content/groups/sonatype-public-grid
>> was cached in the local repository, resolution will not be reattempted
>> until the update interval of sonatype-public-grid has elapsed or
>> updates are forced -> [Help 1]
>> org.apache.maven.InternalErrorException: Internal error:
>> java.lang.RuntimeException: org.apache.maven.MavenExecutionException:
>> Could not setup plugin ClassRealm
>> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
>> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> 	at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> 	at java.lang.reflect.Method.invoke(Method.java:483)
>> 	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: java.lang.RuntimeException:
>> org.apache.maven.MavenExecutionException: Could not setup plugin
>> ClassRealm
>> 	at
>> org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:166)
>> 	at
>> org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:124)
>> 	at
>> org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:87)
>> 	at
>> org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:70)
>> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
>> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> 	... 11 more
>> Caused by: org.apache.maven.MavenExecutionException: Could not setup
>> plugin ClassRealm
>> 	at
>> org.eclipse.tycho.core.maven.utils.PluginRealmHelper.newMavenExecutionException(PluginRealmHelper.java:143)
>> 	at
>> org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:130)
>> 	at
>> org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:146)
>> 	... 16 more
>> Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin
>> org.jboss.tools.tycho-plugins:repository-utils:0.19.0-SNAPSHOT or one
>> of its dependencies could not be resolved: Failed to read artifact
>> descriptor for
>> org.jboss.tools.tycho-plugins:repository-utils:jar:0.19.0-SNAPSHOT
>> 	at
>> org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:129)
>> 	at
>> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:142)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> 	at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> 	at java.lang.reflect.Method.invoke(Method.java:483)
>> 	at
>> org.eclipse.tycho.core.maven.utils.MavenCompatiblityHelper.getPluginDescriptor(MavenCompatiblityHelper.java:68)
>> 	at
>> org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:95)
>> 	... 17 more
>> Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException:
>> Failed to read artifact descriptor for
>> org.jboss.tools.tycho-plugins:repository-utils:jar:0.19.0-SNAPSHOT
>> 	at
>> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296)
>> 	at
>> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
>> 	at
>> org.sonatype.aether.impl.internal.DefaultRepositorySystem.readArtifactDescriptor(DefaultRepositorySystem.java:279)
>> 	at
>> org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:115)
>> 	... 24 more
>> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
>> Failure to find
>> org.jboss.tools.tycho-plugins:repository-utils:pom:0.19.0-20140714.150948-34
>> in https://repository.sonatype.org/content/groups/sonatype-public-grid
>> was cached in the local repository, resolution will not be reattempted
>> until the update interval of sonatype-public-grid has elapsed or
>> updates are forced
>> 	at
>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
>> 	at
>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
>> 	at
>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
>> 	at
>> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
>> 	... 27 more
>> Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:
>> Failure to find
>> org.jboss.tools.tycho-plugins:repository-utils:pom:0.19.0-20140714.150948-34
>> in https://repository.sonatype.org/content/groups/sonatype-public-grid
>> was cached in the local repository, resolution will not be reattempted
>> until the update interval of sonatype-public-grid has elapsed or
>> updates are forced
>> 	at
>> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
>> 	at
>> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
>> 	at
>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
>> 	... 30 more
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
>>
>>
>> -Martin
>>
>> On 21. 7. 2014, at 12:10, Max Rydahl Andersen <manderse at redhat.com>
>> wrote:
>>
>>> On 21 Jul 2014, at 11:33, Jiri Peterka wrote:
>>>
>>>> Hi,
>>>>
>>>> there is a broken artifact (no pom file at least, see
>>>> https://repository.jboss.org/nexus/content/repositories/releases/org/jboss/tools/tycho-plugins/repository-utils/0.19.0-SNAPSHOT/repository-utils-0.19.0-20140714.150948-34.pom
>>>> )
>>>
>>> eh - what is the context here ?
>>>
>>> I would not expect any snapshots inside the release repository.
>>>
>>> ..also why haven't we released any of these plugins since 0.16 ?
>>> ...that
>>> seems unexpected too.
>>>
>>> /max
>>> http://about.me/maxandersen
>>>
>>> _______________________________________________
>>> jbosstools-dev mailing list
>>> jbosstools-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
>
> /max
> http://about.me/maxandersen
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>

-- 
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com


More information about the jbosstools-dev mailing list