Discussion:
[tycho-user] No dependencies found when building a eclipse-repository packaging using dependencies hosted in Nexus
Agustin Celentano
2016-12-16 16:51:41 UTC
Permalink
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">
<category name="org.mule.tooling.servers.ee"/>
</feature>
<category-def name="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
SCHREIBER.Martin
2016-12-20 11:54:14 UTC
Permalink
Hi Agustin,

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

Thanks
Martin

Von: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] Im Auftrag von Agustin Celentano
Gesendet: Freitag, 16. Dezember 2016 17:52
An: tycho-***@eclipse.org
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

Loading...