[jbosstools-dev] Broken build in jbosstools-4.2.x branch

Max Rydahl Andersen manderse at redhat.com
Wed Jan 28 03:44:37 EST 2015


A reminder on how if one want to be sure to build correctly locally that one either uses different m2 repos or set -Dtycho.localartifacts=ignore to avoid the streams to cross!

/max
http://about.me/maxandersen


> On 27 Jan 2015, at 21:14, Nick Boldt <nboldt at redhat.com> wrote:
> 
> This should fix it:
> 
> https://github.com/jbosstools/jbosstools-server/pull/321
> 
> Problem is depending on v1.7.0 only works in master branch; in 4.2.x you 
> want either 1.6.1 or no version. Rob, I'll let you decide what's better.
> 
> N
> 
>> On 01/27/2015 02:40 PM, Denis Golovin wrote:
>> Fred, Rob, Nick
>> 
>> could you take a look at build problem below. It feels like there are
>> some problem with references.
>> 
>> Thanks
>> Denis
>> 
>> Part of the output:
>> 
>> [INFO] [INFO] Resolving dependencies of MavenProject:
>> org.jboss.tools.as.plugins:org.jboss.ide.eclipse.as.jmx.integration:3.0.1-SNAPSHOT
>> @
>> /home/eskimo/data/Projects/jbdevstudio/4.2.x/up/jbosstools-server/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/pom.xml
>> 
>> [INFO] [INFO] Cannot complete the request.  Generating details.
>> [INFO] [INFO] Cannot complete the request.  Generating details.
>> [INFO] [INFO] {osgi.ws=cocoa, osgi.os=macosx, osgi.arch=x86,
>> org.eclipse.update.install.features=true}
>> [INFO] [ERROR] Cannot resolve project dependencies:
>> [INFO] [ERROR]   Software being installed:
>> org.jboss.ide.eclipse.as.jmx.integration 3.0.1.qualifier
>> [INFO] [ERROR]   Missing requirement:
>> org.jboss.ide.eclipse.as.jmx.integration 3.0.1.qualifier requires
>> 'bundle org.jboss.tools.jmx.jvmmonitor.ui 1.7.0' but it could not be found
>> [INFO] [ERROR]
>> [INFO] [ERROR] Internal error: java.lang.RuntimeException: No solution
>> found because the problem is unsatisfiable.: [Unable to satisfy
>> dependency from org.jboss.ide.eclipse.as.jmx.integration 3.0.1.qualifier
>> to bundle org.jboss.tools.jmx.jvmmonitor.ui 1.7.0.; No solution found
>> because the problem is unsatisfiable.] -> [Help 1]
>> [INFO] org.apache.maven.InternalErrorException: Internal error:
>> java.lang.RuntimeException: No solution found because the problem is
>> unsatisfiable.: [Unable to satisfy dependency from
>> org.jboss.ide.eclipse.as.jmx.integration 3.0.1.qualifier to bundle
>> org.jboss.tools.jmx.jvmmonitor.ui 1.7.0.; No solution found because the
>> problem is unsatisfiable.]
>> [INFO]     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:166)
>> [INFO]     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
>> [INFO]     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>> [INFO]     at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>> [INFO]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> [INFO]     at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> 
>> [INFO]     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> 
>> [INFO]     at java.lang.reflect.Method.invoke(Method.java:606)
>> [INFO]     at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>> 
>> [INFO]     at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>> [INFO]     at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>> 
>> [INFO]     at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>> [INFO] Caused by: java.lang.RuntimeException: No solution found because
>> the problem is unsatisfiable.: [Unable to satisfy dependency from
>> org.jboss.ide.eclipse.as.jmx.integration 3.0.1.qualifier to bundle
>> org.jboss.tools.jmx.jvmmonitor.ui 1.7.0.; No solution found because the
>> problem is unsatisfiable.]
>> [INFO]     at
>> org.eclipse.tycho.p2.util.resolution.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:98)
>> 
>> [INFO]     at
>> org.eclipse.tycho.p2.util.resolution.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88)
>> 
>> [INFO]     at
>> org.eclipse.tycho.p2.util.resolution.AbstractResolutionStrategy.resolve(AbstractResolutionStrategy.java:63)
>> 
>> [INFO]     at
>> org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:166)
>> 
>> [INFO]     at
>> org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:103)
>> 
>> [INFO]     at
>> org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies(P2DependencyResolver.java:352)
>> 
>> [INFO]     at
>> org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies(P2DependencyResolver.java:325)
>> 
>> [INFO]     at
>> org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:107)
>> 
>> [INFO]     at
>> org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
>> 
>> [INFO]     at
>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:310)
>> [INFO]     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
>> [INFO]     ... 11 more
>> [INFO] [ERROR]
>> [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven
>> with the -e switch.
>> [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug
>> logging.
>> [INFO] [ERROR]
>> [INFO] [ERROR] For more information about the errors and possible
>> solutions, please read the following articles:
>> [INFO] [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
>> [INFO] ..FAILED (71.2 s)
>> 
> 
> -- 
> Nick Boldt :: JBoss by Red Hat
> Productization Lead :: JBoss Tools & Dev Studio
> http://nick.divbyzero.com
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev



More information about the jbosstools-dev mailing list