[windup-dev] Building Windup JBDS plugin

Ondrej Zizka ozizka at redhat.com
Tue Sep 24 22:15:29 EDT 2013


Adding windup-dev list.


On 25.9.2013 04:09, Ondrej Zizka wrote:
> When $SUBJ, I see an exception from Eclipse, see below. The range is 
> in MANIFEST.MF.
>
> ondra at lenovo:~/work/JBDS/windup-eclipse-plugin$ git grep 4.8.1
> tests/org.jboss.tools.windup.core.tests/META-INF/MANIFEST.MF: 
> org.junit4;bundle-version="[4.8.1,5.0.0)"

How can I solve this?

Thanks,
Ondra
>
>
> [ERROR] Internal error: java.lang.RuntimeException: "No solution found 
> because the problem is unsatisfiable.": ["Unable to satisfy dependency 
> from org.jboss.tools.windup.core.test 1.0.0.qualifier to bundle 
> org.junit4 [4.8.1,5.0.0).", "No solution found because the problem is 
> unsatisfiable."] -> [Help 1]
> org.apache.maven.InternalErrorException: Internal error: 
> java.lang.RuntimeException: "No solution found because the problem is 
> unsatisfiable.": ["Unable to satisfy dependency from 
> org.jboss.tools.windup.core.test 1.0.0.qualifier to bundle org.junit4 
> [4.8.1,5.0.0).", "No solution found because the problem is 
> unsatisfiable."]
>         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:57)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         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: "No solution found because the 
> problem is unsatisfiable.": ["Unable to satisfy dependency from 
> org.jboss.tools.windup.core.test 1.0.0.qualifier to bundle org.junit4 
> [4.8.1,5.0.0).", "No solution found because the problem is 
> unsatisfiable."]
>         at 
> org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:98)
>         at 
> org.eclipse.tycho.p2.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88)
>         at 
> org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.resolve(AbstractResolutionStrategy.java:63)
>         at 
> org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:126)
>         at 
> org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:81)
>         at 
> org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:374)
>         at 
> org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:350)
>         at 
> org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:109)
>         at 
> org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>         ... 11 more
>
>
>
> On 25.9.2013 04:02, Ondrej Zizka wrote:
>> Ian, I've built jbosstools-base 4.1.0.Final since Alpha2 build was 
>> missing something 4.30.5.yadayada
>> Now I get:
>>
>> [ERROR]   Missing requirement: org.jboss.tools.windup.core.test 
>> 1.0.0.qualifier requires 'bundle org.junit4 [4.8.1,5.0.0)' but it 
>> could not be found
>>
>> Isn't that the infamous maven version ranges bug? Did you hit it 
>> ever? Mvn 3.0.4
>>
>> Thx
>>
>>
>>
>> On 25.9.2013 03:36, Ondrej Zizka wrote:
>>>
>>> On 25.9.2013 03:28, Ondrej Zizka wrote:
>>>> Hi Ian,
>>>>
>>>> I see that windup eclipse plugin needs org.jboss.tools:parent 
>>>> 4.1.0.Alpha2-SNAPSHOT.
>>>>
>>>> 1) Ian, I just ponder: Why does it need JBDS and not just eclipse?
>>>> 2) Ian, Max, do I need JBDS source or can I find the artifacts 
>>>> somewhere? I only found 0.0.4-SNAPSHOT
>>>> 3) Max, where do I get JBDS source code? I only found in [1] that 
>>>> it's in customer portal.
>>>       Found on GitHub. Now, could you please send a "how to build" 
>>> link? Like, which all repos do I need to clone etc. to get the basic 
>>> eclipse api to build windup against. Thx
>>>>
>>>> Thanks, Ondra
>>>>
>>>> [1] 
>>>> https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Developer_Studio/7.0/pdf/Release_Notes_7.0.0/Red_Hat_JBoss_Developer_Studio-7.0-Release_Notes_7.0.0-en-US.pdf
>>>>
>>>
>>
>



More information about the windup-dev mailing list