Hi,

I do not see this error any more. However, I am not able to built yet and now I see the below errors:

[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.arch=x86_64, osgi.os=linux, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.apache.karaf.eik.core 3.0.0.qualifier [ERROR] Missing requirement: org.apache.karaf.eik.core 3.0.0.qualifier requires 'bundle org.apache.mina.core 2.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 org.apache.karaf.eik.core 3.0.0.qualifier to bundle org.apache.mina.core 2.0.0.", "Unable to satisfy dependency from org.apache.karaf.eik.core 3.0.0.qualifier to bundle org.fusesource.jansi 1.5.0.", "Unable to satisfy dependency from org.apache.karaf.eik.core 3.0.0.qualifier to bundle sshd-core 0.5.0.", "Unable to satisfy dependency from org.eclipse.core.runtime.compatibility.auth 3.2.200.v20110110 to package org.eclipse.osgi.framework.log [1.1.0,2.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.apache.karaf.eik.core 3.0.0.qualifier to bundle org.apache.mina.core 2.0.0.", "Unable to satisfy dependency from org.apache.karaf.eik.core 3.0.0.qualifier to bundle org.fusesource.jansi 1.5.0.", "Unable to satisfy dependency from org.apache.karaf.eik.core 3.0.0.qualifier to bundle sshd-core 0.5.0.", "Unable to satisfy dependency from org.eclipse.core.runtime.compatibility.auth 3.2.200.v20110110 to package org.eclipse.osgi.framework.log [1.1.0,2.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.apache.karaf.eik.core 3.0.0.qualifier to bundle org.apache.mina.core 2.0.0.", "Unable to satisfy dependency from org.apache.karaf.eik.core 3.0.0.qualifier to bundle org.fusesource.jansi 1.5.0.", "Unable to satisfy dependency from org.apache.karaf.eik.core 3.0.0.qualifier to bundle sshd-core 0.5.0.", "Unable to satisfy dependency from org.eclipse.core.runtime.compatibility.auth 3.2.200.v20110110 to package org.eclipse.osgi.framework.log [1.1.0,2.0.0).", "No solution found because the problem is unsatisfiable."] at org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:106) at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:102) at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:69) at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:342) at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:162) at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:85) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:91)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    ... 11 more


Thanks,

Raj
On Saturday 10 March 2012 08:07 PM, Rajbir Saini wrote:
Hi,

I am trying to build to EIK from source (trunk). When I run the mvn from the root of the project. I see the following warning and I think due to this build fails.

[WARNING] Some problems were encountered while building the effective model for org.apache.karaf.eik.plugins:sshd-core:eclipse-plugin:0.5.0 [WARNING] 'version' contains an expression but should be a constant. @ org.apache.karaf.eik.plugins:sshd-core:${sshd.version}, /home/raj/projects/eik/plugins/org.apache.sshd.core/pom.xml, line 33, column 14
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.karaf.eik.plugins:org.fusesource.jansi:eclipse-plugin:1.7 [WARNING] 'version' contains an expression but should be a constant. @ org.apache.karaf.eik.plugins:org.fusesource.jansi:${jansi.version}, /home/raj/projects/eik/plugins/org.fusesource.jansi/pom.xml, line 33, column 14

I checked the pom.xml in the EIK root and it contains the missing properties. Does some one have any idea what I am missing.

Regards,

Raj


Reply via email to