Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho-user Digest, Vol 76, Issue 11

Sure, 

Just to clarify. What I want to achieve is to use an Osgi Bundle which is hosted our nexus repository to build an eclipse-repository plugin. From some samples I saw, an eclipse-repository does not generally have manifest or build.properties files. Am I missing them? If yes, Should I add some specific entry in my Manifest file? Required-Bundled or Import? Not quite sure.
I checked in my local repository and the artifact dependencies specified in the pom are being downloaded at least to my m2 folder. 
How can I check what artifacts I have in my target platform when running the mvn clean install command in order to see if that jars are being considered to build.


This is the whole stack trace: 

[DEBUG] No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.mule.tooling.servers.repository raw:5.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):5.0.0-SNAPSHOT to org.mule.tooling.extension.server.3.3.2.ee.feature.group 0.0.0.; No solution found because the problem is unsatisfiable.]
[INFO] {osgi.os=macosx, osgi.ws=cocoa, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.mule.tooling.servers.repository raw:5.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):5.0.0-SNAPSHOT
[ERROR]   Missing requirement: org.mule.tooling.servers.repository raw:5.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):5.0.0-SNAPSHOT requires 'org.mule.tooling.extension.server.3.3.2.ee.feature.group 0.0.0' but it could not be found
[ERROR]
[ERROR] Cannot resolve dependencies of MavenProject: org.mule.tooling:org.mule.tooling.servers.repository:5.0.0-SNAPSHOT @ /Users/agustincelentano/gitDevelop/tooling-runtimes/org.mule.tooling.servers.repository/pom.xml: See log for details -> [Help 1]
org.apache.maven.MavenExecutionException: Cannot resolve dependencies of MavenProject: org.mule.tooling:org.mule.tooling.servers.repository:5.0.0-SNAPSHOT @ /Users/agustincelentano/gitDevelop/tooling-runtimes/org.mule.tooling.servers.repository/pom.xml
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:100)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.eclipse.tycho.artifacts.DependencyResolutionException: Cannot resolve dependencies of MavenProject: org.mule.tooling:org.mule.tooling.servers.repository:5.0.0-SNAPSHOT @ /Users/agustincelentano/gitDevelop/tooling-runtimes/org.mule.tooling.servers.repository/pom.xml
at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:202)
at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:116)
at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies(P2DependencyResolver.java:367)
at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies(P2DependencyResolver.java:335)
at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:117)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95)
... 13 more
Caused by: org.eclipse.tycho.p2.util.resolution.ResolverException: See log for details
at org.eclipse.tycho.p2.util.resolution.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88)
at org.eclipse.tycho.p2.util.resolution.AbstractResolutionStrategy.resolve(AbstractResolutionStrategy.java:42)
at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:195)
... 18 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

On Tue, Dec 20, 2016 at 2:00 PM, <tycho-user-request@xxxxxxxxxxx> wrote:
Send tycho-user mailing list submissions to
        tycho-user@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/tycho-user
or, via email, send a message with subject or body 'help' to
        tycho-user-request@xxxxxxxxxxx

You can reach the person managing the list at
        tycho-user-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of tycho-user digest..."


Today's Topics:

   1. Re: No dependencies found when building a eclipse-repository
      packaging using dependencies hosted in Nexus (SCHREIBER.Martin)


----------------------------------------------------------------------

Message: 1
Date: Tue, 20 Dec 2016 11:54:14 +0000
From: SCHREIBER.Martin <Martin.SCHREIBER@bachmann.info>
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] No dependencies found when building a
        eclipse-repository packaging using dependencies hosted in Nexus
Message-ID: <0fa76e1bfa624efe95c6647c835d0d35@xxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hi Agustin,

can you please post the full stacktrace to get an idea of what Tycho could not found?

Thanks
Martin

Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@eclipse.org] Im Auftrag von Agustin Celentano
Gesendet: Freitag, 16. Dezember 2016 17:52
An: tycho-user@xxxxxxxxxxx
Betreff: [tycho-user] No dependencies found when building a eclipse-repository packaging using dependencies hosted in Nexus

Hi,

I have a question related to how to build an eclipse-repository using osgui bundles which are hosted in our Nexus repository.

To do this, I've tried to use the pomDependencies=consider configuration in the target-platform-configuration plugin in my parent pom. I have also specified the dependencies in a dependencies tag. Then, in the category file I have

<?xml version="1.0" encoding="UTF-8"?>
<site>
    <feature id="org.mule.tooling.extension.3.3.2.ee<http://org.mule.tooling.extension.3.3.2.ee>">
      <category name="org.mule.tooling.servers.ee<http://org.mule.tooling.servers.ee>"/>
   </feature>
   <category-def name="org.mule.tooling.servers.ee<http://org.mule.tooling.servers.ee>" label="Studio Runtimes">
      <description>
         Studio Runtimes
      </description>
   </category-def>
</site>

But not tuck, it fails. it's like it's not finding the dependency. This error is thrown

No solution found because the problem is unsatisfiable.]
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
            at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
            at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:497)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
            at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
            at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
            at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Any ideas?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/tycho-user/attachments/20161220/1afcd298/attachment.html>

------------------------------

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

End of tycho-user Digest, Vol 76, Issue 11
******************************************


Back to the top