Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] javax.security.sasl dependency error M5

Thanks Igor,

I set the executionEnvironment in eclipse-parent/pom.xml to J2SE-1.5 and the 
build seems to get a little further now. I had a discussion with Andrew 
regarding what the minimum build environment should be and he pointed me to 
the target environments page 
http://www.eclipse.org/projects/project-
plan.php?projectid=eclipse#target_environments

It seems to be 1.6 from what I can tell so I set it to JavaSE-1.6 for now. 

For my knowledge, I noticed in the existing 
<executionEnvironment>?J2SE-1.4</executionEnvironment> setting there was a ? 
prefixed. What does this symbol represent in pom files?


The build is now throwing another dependency error (see attached log) 
regarding org.eclipse.equinox.console.jaas.fragment.source. I was able to find 
the console.jaas.fragment in /rt.equinox.bundles/bundles and it even has the 
pom files. Any idea on why this might be happening?

I did noticed that in the previous version of the 
org.eclipse.equinox.core.sdk's feature.xml file. The console.jaas.fragment 
plugin was not declared but in the M5 version of this same file it now exists. 
Could this be a build dependency reordering issue?


Thanks,


Thanh



-----Original Message-----
From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
Sent: March 14, 2012 10:03 PM
To: cbi-dev@xxxxxxxxxxx
Cc: 
Subject: Re: [cbi-dev] javax.security.sasl dependency error M5

The build is configured to use J2SE-1.4 execution environment by default
(see <executionEnvironment> configuration element in the parent pom.xml
file), which I believe does not provide javax.security.sasl package. Try
forcing J2SE-1.5 execution environment for the failing feature build
using something like this

...
      <plugin>
         <groupId>org.eclipse.tycho</groupId>
         <artifactId>target-platform-configuration</artifactId>
         <configuration>
           <executionEnvironment>J2SE-1.5</executionEnvironment>
         </configuration>
       </plugin>
...

--
Regards,
Igor

On 12-03-13 11:45 AM, Thanh Ha wrote:
> Hi Everyone,
>
> I decided to do a clean rebase of M5 with the latest CBI-M4 and am having 
some
> issues with dependencies (see attached error log). Related to
> javax.security.sasl.
>
> I'm a little stumped on this issue and am not sure what I should look at. 
Any
> ideas on what could be causing this issue?
>
> Thanks,
>
>
> Thanh
>
>
>
> _______________________________________________
> cbi-dev mailing list
> cbi-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cbi-dev
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev
[INFO] Computing target platform for MavenProject: org.eclipse.equinox.bundles:org.eclipse.equinox.sdk:3.8.0-SNAPSHOT @ /home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/features/org.eclipse.equinox.sdk/pom.xml
[INFO] Adding repository (cached) http://download.eclipse.org/tools/orbit/downloads/drops/S20111201180206/repository/
[INFO] Adding repository (cached) http://download.eclipse.org/rt/ecf/3.5.4/site.p2
[INFO] Adding repository (cached) http://www.eclipse.org/external/jetty/updates/jetty-bundles-8.x/8.1.0.RC4/
[INFO] Adding repository (cached) file:/var/tmp/lts/natives
[INFO] Adding repository (cached) http://download.eclipse.org/tools/ajdt/aspectj/update
[INFO] Resolving dependencies of MavenProject: org.eclipse.equinox.bundles:org.eclipse.equinox.sdk:3.8.0-SNAPSHOT @ /home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/features/org.eclipse.equinox.sdk/pom.xml
[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=gtk, osgi.os=linux, osgi.arch=x86, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.eclipse.equinox.sdk.feature.group 3.8.0.qualifier
[ERROR]   Missing requirement: org.eclipse.equinox.core.sdk.feature.group 3.8.0.qualifier requires 'org.eclipse.equinox.console.jaas.fragment.source 0.0.0' but it could not be found
[ERROR]   Cannot satisfy dependency: org.eclipse.equinox.sdk.feature.group 3.8.0.qualifier depends on: org.eclipse.equinox.core.sdk.feature.group 0.0.0
[ERROR] 
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.eclipse.equinox.core.sdk.feature.group 3.8.0.qualifier to org.eclipse.equinox.console.jaas.fragment.source 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 org.eclipse.equinox.core.sdk.feature.group 3.8.0.qualifier to org.eclipse.equinox.console.jaas.fragment.source 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: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: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.eclipse.equinox.core.sdk.feature.group 3.8.0.qualifier to org.eclipse.equinox.console.jaas.fragment.source 0.0.0.", "No solution found because the problem is unsatisfiable."]
        at org.eclipse.tycho.p2.impl.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:79)
        at org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:83)
        at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:118)
        at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:76)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:445)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:422)
        at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:98)
        at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:61)
        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] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException


Back to the top