Home » Eclipse Projects » e(fx)clipse » How to build Test Project
How to build Test Project [message #1124340] |
Thu, 03 October 2013 08:45  |
Eclipse User |
|
|
|
Hi,
We are deciding whether the OSGi + JavaFX combination seems reasonable for our next project. Therefor, we made a small proof of concept project that we would like to build into a stand-alone application.
We have very little ANT experience and none Maven/Tycho experience, but I read that e(fx)clipse generates most of the tooling for us.
Could somebody give us some points on how to build our POC ?
Our entire workspace can be downloaded from this link (docs.google.com/file/d/0B2aFUSe8nJC0blViWUxub0Y3MWs/edit?usp=sharing).
The idea behind our POC project is the following:
We have a bundle with a Declarative Services Component that provides the "ButtonProvider" service. This service allows consumers of this service to request a Bundle.
We created an application with the "JavaFX/OSGi/OSGi Application Project" wizard. In this bundle, we have the MainApplication, a bundleactivator and a DS-Component ( called the ButtonBinderImpl ). The ButtonBinderImpl binds ButtonProviders and waits for the ApplicationService ( provided by the MainApplication ) to be registered. It will then add all the buttons from the ButtonProviders to the ApplicationService.
Any help will be greatly appreciated.
Filip
PS: The target platform that we use, is a combination of the Target platform from the (http://download.eclipse.org/efxclipse/runtime-nightly/site) combined with the two bunldes that can be found in our Runtime project.
|
|
| |
Re: How to build Test Project [message #1124436 is a reply to message #1124349] |
Thu, 03 October 2013 10:34   |
Eclipse User |
|
|
|
Hi,
I pushed the workspace to git github.com/FilipDeleersnijder/JavaFX-and-OSGi-Proof-Of-Concept.
I tried modifying the Pom.XML from the relang project according to this post (http://www.eclipse.org/forums/index.php/mv/msg/532712/1122008/#msg_1122008) and ran the file with Maven. The following error output occurred :
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: TestApplication:TestApplication.app:1.0.0-SNAPSHOT @ /Users/filip/Desktop/Workspaces/JunoWorkspace/Git/JavaFX-and-OSGi-Proof-Of-Concept/JavaFX-and-OSGi-Proof-Of-Concept/TestApplication.app/pom.xml
[INFO] Adding repository http://download.eclipse.org/efxclipse/runtime-nightly/site
[INFO] Adding repository http://download.eclipse.org/efxclipse/runtime-nightly/site
[INFO] Adding repository downloads.efxclipse.org/efxclipse.bestsolution.at/p2-repos/runtime/nightly/site
[INFO] Adding repository downloads.efxclipse.org/efxclipse.bestsolution.at/p2-repos/runtime/nightly/site
[INFO] Resolving dependencies of MavenProject: TestApplication:TestApplication.app:1.0.0-SNAPSHOT @ /Users/filip/Desktop/Workspaces/JunoWorkspace/Git/JavaFX-and-OSGi-Proof-Of-Concept/JavaFX-and-OSGi-Proof-Of-Concept/TestApplication.app/pom.xml
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=noenv, osgi.os=noenv, osgi.arch=noenv, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: TestApplication.app 1.0.0.qualifier
[ERROR] Missing requirement: TestApplication.app 1.0.0.qualifier requires 'package testapplication.buttonprovider 0.0.0' but it could not be found
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from TestApplication.app 1.0.0.qualifier to package testapplication.buttonprovider 0.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 TestApplication.app 1.0.0.qualifier to package testapplication.buttonprovider 0.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 TestApplication.app 1.0.0.qualifier to package testapplication.buttonprovider 0.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
[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] cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
|
|
|
Re: How to build Test Project [message #1124442 is a reply to message #1124436] |
Thu, 03 October 2013 10:39   |
Eclipse User |
|
|
|
Ok - I'll take a look later on ;-)
Tom
On 03.10.13 16:34, Filip Deleersnijder wrote:
> Hi,
>
> I pushed the workspace to git
> github.com/FilipDeleersnijder/JavaFX-and-OSGi-Proof-Of-Concept.
> I tried modifying the Pom.XML from the relang project according to this
> post
> (http://www.eclipse.org/forums/index.php/mv/msg/532712/1122008/#msg_1122008)
> and ran the file with Maven. The following error output occurred :
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: slf4j.org/codes.html#StaticLoggerBinder for further details.
> [INFO] Scanning for projects...
> [INFO] Computing target platform for MavenProject:
> TestApplication:TestApplication.app:1.0.0-SNAPSHOT @
> /Users/filip/Desktop/Workspaces/JunoWorkspace/Git/JavaFX-and-OSGi-Proof-Of-Concept/JavaFX-and-OSGi-Proof-Of-Concept/TestApplication.app/pom.xml
>
> [INFO] Adding repository
> http://download.eclipse.org/efxclipse/runtime-nightly/site
> [INFO] Adding repository
> http://download.eclipse.org/efxclipse/runtime-nightly/site
> [INFO] Adding repository
> downloads.efxclipse.org/efxclipse.bestsolution.at/p2-repos/runtime/nightly/site
>
> [INFO] Adding repository
> downloads.efxclipse.org/efxclipse.bestsolution.at/p2-repos/runtime/nightly/site
>
> [INFO] Resolving dependencies of MavenProject:
> TestApplication:TestApplication.app:1.0.0-SNAPSHOT @
> /Users/filip/Desktop/Workspaces/JunoWorkspace/Git/JavaFX-and-OSGi-Proof-Of-Concept/JavaFX-and-OSGi-Proof-Of-Concept/TestApplication.app/pom.xml
>
> [INFO] Cannot complete the request. Generating details.
> [INFO] Cannot complete the request. Generating details.
> [INFO] {osgi.ws=noenv, osgi.os=noenv, osgi.arch=noenv,
> org.eclipse.update.install.features=true}
> [ERROR] Cannot resolve project dependencies:
> [ERROR] Software being installed: TestApplication.app 1.0.0.qualifier
> [ERROR] Missing requirement: TestApplication.app 1.0.0.qualifier
> requires 'package testapplication.buttonprovider 0.0.0' but it could not
> be found
> [ERROR] [ERROR] Internal error: java.lang.RuntimeException: "No solution
> found because the problem is unsatisfiable.": ["Unable to satisfy
> dependency from TestApplication.app 1.0.0.qualifier to package
> testapplication.buttonprovider 0.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 TestApplication.app
> 1.0.0.qualifier to package testapplication.buttonprovider 0.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
> TestApplication.app 1.0.0.qualifier to package
> testapplication.buttonprovider 0.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
> [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]
> cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
>
>
>
|
|
|
Re: How to build Test Project [message #1125379 is a reply to message #1124442] |
Fri, 04 October 2013 08:53   |
Eclipse User |
|
|
|
Ok - I found the problem - I'll try to push my changes and create a pull
request to you.
Tom
On 03.10.13 16:39, Tom Schindl wrote:
> Ok - I'll take a look later on ;-)
>
> Tom
>
> On 03.10.13 16:34, Filip Deleersnijder wrote:
>> Hi,
>>
>> I pushed the workspace to git
>> github.com/FilipDeleersnijder/JavaFX-and-OSGi-Proof-Of-Concept.
>> I tried modifying the Pom.XML from the relang project according to this
>> post
>> (http://www.eclipse.org/forums/index.php/mv/msg/532712/1122008/#msg_1122008)
>> and ran the file with Maven. The following error output occurred :
>> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>> SLF4J: Defaulting to no-operation (NOP) logger implementation
>> SLF4J: slf4j.org/codes.html#StaticLoggerBinder for further details.
>> [INFO] Scanning for projects...
>> [INFO] Computing target platform for MavenProject:
>> TestApplication:TestApplication.app:1.0.0-SNAPSHOT @
>> /Users/filip/Desktop/Workspaces/JunoWorkspace/Git/JavaFX-and-OSGi-Proof-Of-Concept/JavaFX-and-OSGi-Proof-Of-Concept/TestApplication.app/pom.xml
>>
>> [INFO] Adding repository
>> http://download.eclipse.org/efxclipse/runtime-nightly/site
>> [INFO] Adding repository
>> http://download.eclipse.org/efxclipse/runtime-nightly/site
>> [INFO] Adding repository
>> downloads.efxclipse.org/efxclipse.bestsolution.at/p2-repos/runtime/nightly/site
>>
>> [INFO] Adding repository
>> downloads.efxclipse.org/efxclipse.bestsolution.at/p2-repos/runtime/nightly/site
>>
>> [INFO] Resolving dependencies of MavenProject:
>> TestApplication:TestApplication.app:1.0.0-SNAPSHOT @
>> /Users/filip/Desktop/Workspaces/JunoWorkspace/Git/JavaFX-and-OSGi-Proof-Of-Concept/JavaFX-and-OSGi-Proof-Of-Concept/TestApplication.app/pom.xml
>>
>> [INFO] Cannot complete the request. Generating details.
>> [INFO] Cannot complete the request. Generating details.
>> [INFO] {osgi.ws=noenv, osgi.os=noenv, osgi.arch=noenv,
>> org.eclipse.update.install.features=true}
>> [ERROR] Cannot resolve project dependencies:
>> [ERROR] Software being installed: TestApplication.app 1.0.0.qualifier
>> [ERROR] Missing requirement: TestApplication.app 1.0.0.qualifier
>> requires 'package testapplication.buttonprovider 0.0.0' but it could not
>> be found
>> [ERROR] [ERROR] Internal error: java.lang.RuntimeException: "No solution
>> found because the problem is unsatisfiable.": ["Unable to satisfy
>> dependency from TestApplication.app 1.0.0.qualifier to package
>> testapplication.buttonprovider 0.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 TestApplication.app
>> 1.0.0.qualifier to package testapplication.buttonprovider 0.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
>> TestApplication.app 1.0.0.qualifier to package
>> testapplication.buttonprovider 0.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
>> [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]
>> cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
>>
>>
>>
>
|
|
|
Re: How to build Test Project [message #1125792 is a reply to message #1125379] |
Fri, 04 October 2013 18:16   |
Eclipse User |
|
|
|
Hi,
So the problems have been:
a) you added a new bundle but did not:
- add it to the build [1,2]
- add it to the feature [3]
b) a "bug" was in the generated feature.xml so that the final packaging
into an using the build.xml failed [4]
I've pushed all changes to my github-repo and created a pull request for
you [5]. If you accept the pull and then do a
a) execute mvn with the goals "clean package"
b) run the build.xml
You should get a completely package application (on OS-X it is a DMG,
for windows you need to install some extra software to get a setup.exe/msi)
Tom
[1]https://github.com/tomsontom/JavaFX-and-OSGi-Proof-Of-Concept/commit/fc472c63dd82b8eca8d9430e94f6b55d88df96a4
[2]https://github.com/tomsontom/JavaFX-and-OSGi-Proof-Of-Concept/commit/54da2fa47b18f350a9b557281f7d4776bf372a40
[3]https://github.com/tomsontom/JavaFX-and-OSGi-Proof-Of-Concept/commit/f0ae75f085a08b8d860c1f2d7e0b97e0465fa582
[4]https://bugs.eclipse.org/bugs/show_bug.cgi?id=418709
[5]https://github.com/FilipDeleersnijder/JavaFX-and-OSGi-Proof-Of-Concept/pull/1
On 04.10.13 14:53, Tom Schindl wrote:
> Ok - I found the problem - I'll try to push my changes and create a pull
> request to you.
>
> Tom
>
> On 03.10.13 16:39, Tom Schindl wrote:
>> Ok - I'll take a look later on ;-)
>>
>> Tom
>>
>> On 03.10.13 16:34, Filip Deleersnijder wrote:
>>> Hi,
>>>
>>> I pushed the workspace to git
>>> github.com/FilipDeleersnijder/JavaFX-and-OSGi-Proof-Of-Concept.
>>> I tried modifying the Pom.XML from the relang project according to this
>>> post
>>> (http://www.eclipse.org/forums/index.php/mv/msg/532712/1122008/#msg_1122008)
>>> and ran the file with Maven. The following error output occurred :
>>> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>>> SLF4J: Defaulting to no-operation (NOP) logger implementation
>>> SLF4J: slf4j.org/codes.html#StaticLoggerBinder for further details.
>>> [INFO] Scanning for projects...
>>> [INFO] Computing target platform for MavenProject:
>>> TestApplication:TestApplication.app:1.0.0-SNAPSHOT @
>>> /Users/filip/Desktop/Workspaces/JunoWorkspace/Git/JavaFX-and-OSGi-Proof-Of-Concept/JavaFX-and-OSGi-Proof-Of-Concept/TestApplication.app/pom.xml
>>>
>>> [INFO] Adding repository
>>> http://download.eclipse.org/efxclipse/runtime-nightly/site
>>> [INFO] Adding repository
>>> http://download.eclipse.org/efxclipse/runtime-nightly/site
>>> [INFO] Adding repository
>>> downloads.efxclipse.org/efxclipse.bestsolution.at/p2-repos/runtime/nightly/site
>>>
>>> [INFO] Adding repository
>>> downloads.efxclipse.org/efxclipse.bestsolution.at/p2-repos/runtime/nightly/site
>>>
>>> [INFO] Resolving dependencies of MavenProject:
>>> TestApplication:TestApplication.app:1.0.0-SNAPSHOT @
>>> /Users/filip/Desktop/Workspaces/JunoWorkspace/Git/JavaFX-and-OSGi-Proof-Of-Concept/JavaFX-and-OSGi-Proof-Of-Concept/TestApplication.app/pom.xml
>>>
>>> [INFO] Cannot complete the request. Generating details.
>>> [INFO] Cannot complete the request. Generating details.
>>> [INFO] {osgi.ws=noenv, osgi.os=noenv, osgi.arch=noenv,
>>> org.eclipse.update.install.features=true}
>>> [ERROR] Cannot resolve project dependencies:
>>> [ERROR] Software being installed: TestApplication.app 1.0.0.qualifier
>>> [ERROR] Missing requirement: TestApplication.app 1.0.0.qualifier
>>> requires 'package testapplication.buttonprovider 0.0.0' but it could not
>>> be found
>>> [ERROR] [ERROR] Internal error: java.lang.RuntimeException: "No solution
>>> found because the problem is unsatisfiable.": ["Unable to satisfy
>>> dependency from TestApplication.app 1.0.0.qualifier to package
>>> testapplication.buttonprovider 0.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 TestApplication.app
>>> 1.0.0.qualifier to package testapplication.buttonprovider 0.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
>>> TestApplication.app 1.0.0.qualifier to package
>>> testapplication.buttonprovider 0.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
>>> [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]
>>> cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
>>>
>>>
>>>
>>
>
|
|
| | |
Goto Forum:
Current Time: Wed May 07 18:23:01 EDT 2025
Powered by FUDForum. Page generated in 0.03829 seconds
|