Discussion:
Problem finding features
(too old to reply)
Stefan Nöbauer
2018-09-17 07:33:20 UTC
Permalink
Hi,

I have a problem with finding dependencies while building a product with Tycho.

I defined two plugins with the application and product described in it.

I added a feature to group these plugins and to be able to add that to my .product file.

Now when I build my product maven can't fin this feature with the message:

[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: TechPubStudio 1.0.0.qualifier
[ERROR] Missing requirement: TechPubStudio 1.0.0.qualifier requires 'org.eclipse.equinox.p2.iu; de.kgucms.tps.client.base.feature.feature.group [1.0.0,1.0.1)' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: tps:tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\tps.product\pom.xml: See log for details -> [Help 1]
[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]

My feature has the ID de.kgucms.tps.client.base.feature
What is maven looking for?

Could you please help me finding the right direction to debug this?

Thanks
Stefan
Stefan Nöbauer
2018-09-17 13:03:50 UTC
Permalink
Hi,

I just followed the tutorial from Vogella (http://www.vogella.com/tutorials/EclipseTycho/article.html) and I get a similar error.

[INFO] Scanning for projects...
D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties
D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties
D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties
[INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/
[INFO] Adding repository http://download.eclipse.org/releases/oxygen
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/oxygen/
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/oxygen/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201804111000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201804111000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201803211000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201803211000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201712201001/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201712201001/
[INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties
[INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties
[INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties
[INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties
[INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties
[INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties
[INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties
[INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties
[INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml
[INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: de.kgucms.tps.client.rcpe4.product 1.0.0.qualifier
[ERROR] Missing requirement: de.kgucms.tps.client.rcpe4.product 1.0.0.qualifier requires 'org.eclipse.equinox.p2.iu; org.eclipse.e4.rcp.feature.group [1.6.100.v20180611-0422,1.6.100.v20180611-0422]' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml: See log for details -> [Help 1]
[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/MavenExecutionException

Could somebody help me with that issue?

In the attachment you can find my codings

Thanks
Stefan


Von: tycho-user-***@eclipse.org <tycho-user-***@eclipse.org> Im Auftrag von Stefan Nöbauer
Gesendet: Montag, 17. September 2018 09:33
An: tycho-***@eclipse.org
Betreff: [tycho-user] Problem finding features

Hi,

I have a problem with finding dependencies while building a product with Tycho.

I defined two plugins with the application and product described in it.

I added a feature to group these plugins and to be able to add that to my .product file.

Now when I build my product maven can't fin this feature with the message:

[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: TechPubStudio 1.0.0.qualifier
[ERROR] Missing requirement: TechPubStudio 1.0.0.qualifier requires 'org.eclipse.equinox.p2.iu; de.kgucms.tps.client.base.feature.feature.group [1.0.0,1.0.1)' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: tps:tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\tps.product\pom.xml: See log for details -> [Help 1]
[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]

My feature has the ID de.kgucms.tps.client.base.feature
What is maven looking for?

Could you please help me finding the right direction to debug this?

Thanks
Stefan
Lars Vogel
2018-09-17 18:40:28 UTC
Permalink
Hi Stefan,
Is 'org.eclipse.equinox.p2.iu; also available?
Best regards, Lars

On Mon, Sep 17, 2018 at 9:33 AM, Stefan Nöbauer
Post by Stefan Nöbauer
Hi,
I have a problem with finding dependencies while building a product with Tycho.
I defined two plugins with the application and product described in it.
I added a feature to group these plugins and to be able to add that to my .product file.
[INFO] {osgi.os=linux, osgi.ws=gtk,
org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Software being installed: TechPubStudio 1.0.0.qualifier
[ERROR] Missing requirement: TechPubStudio 1.0.0.qualifier requires
'org.eclipse.equinox.p2.iu; de.kgucms.tps.client.base.feature.feature.group
[1.0.0,1.0.1)' but it could not be found
[ERROR]
[ERROR] See
http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for
help.
D:\tps-product-dev-2-8\GITRepo\usability\tps.product\pom.xml: See log for
details -> [Help 1]
[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]
My feature has the ID de.kgucms.tps.client.base.feature
What is maven looking for?
Could you please help me finding the right direction to debug this?
Thanks
Stefan
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: ***@vogella.com, Web: http://www.vogella.com
Stefan Nöbauer
2018-09-18 09:20:02 UTC
Permalink
Hm......

Seems not to be available.


But with the Photon Repo the tutorial works!
Now I need to find the Solution for my real Product 😉

Thanks
Stefan


-----Ursprüngliche Nachricht-----
Von: tycho-user-***@eclipse.org <tycho-user-***@eclipse.org> Im Auftrag von Lars Vogel
Gesendet: Montag, 17. September 2018 20:40
An: Tycho user list <tycho-***@eclipse.org>
Betreff: Re: [tycho-user] Problem finding features

Hi Stefan,
Is 'org.eclipse.equinox.p2.iu; also available?
Best regards, Lars
Post by Stefan Nöbauer
Hi,
I have a problem with finding dependencies while building a product with Tycho.
I defined two plugins with the application and product described in it.
I added a feature to group these plugins and to be able to add that to my .product file.
[INFO] {osgi.os=linux, osgi.ws=gtk,
org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Software being installed: TechPubStudio 1.0.0.qualifier
[ERROR] Missing requirement: TechPubStudio 1.0.0.qualifier requires
'org.eclipse.equinox.p2.iu;
de.kgucms.tps.client.base.feature.feature.group
[1.0.0,1.0.1)' but it could not be found
[ERROR]
[ERROR] See
http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting
for help.
D:\tps-product-dev-2-8\GITRepo\usability\tps.product\pom.xml: See log
for details -> [Help 1]
[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]
My feature has the ID de.kgucms.tps.client.base.feature
What is maven looking for?
Could you please help me finding the right direction to debug this?
Thanks
Stefan
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: ***@vogella.com, Web: http://www.vogella.com _______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user
Sravan K Lakkimsetti
2018-09-18 02:53:28 UTC
Permalink
Hi,



From the version number org.eclipse.e4.rcp.feature.group [1.6.100.v20180611-0422,1.6.100.v20180611-0422] it looks to me you are looking for e4.rcp.feature from photon repo. But the log indicates only oxygen repo is configured. Can you try using photon repo?



Thanks and Regards,

Sravan



Sravan Kumar Lakkimsetti

IBM India Pvt Ltd,

Embassy Golf Links Business Park, D Block,

Off Indiranagar-Kormangla Inner Ring Road,

Bangalore - 560071, India

Phone: 91-80-41776858



From: Stefan Nöbauer <***@kgu-consulting.com>
Sent: Monday, September 17, 2018 6:35 PM
To: Tycho user list <tycho-***@eclipse.org>
Subject: Re: [tycho-user] Problem finding features



Hi,



I just followed the tutorial from Vogella (http://www.vogella.com/tutorials/EclipseTycho/article.html <http://www.vogella.com/tutorials/EclipseTycho/article.html> ) and I get a similar error.



[INFO] Scanning for projects...

D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties

D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties

D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties

[INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties

[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/

[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/

[INFO] Adding repository http://download.eclipse.org/releases/oxygen

[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/oxygen/

[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/oxygen/

[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201804111000/

[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201804111000/

[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201803211000/

[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201803211000/

[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201712201001/

[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201712201001/

[INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties

[INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties

[INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties

[INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties

[INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties

[INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties

[INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties

[INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties

[INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml

[INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml

[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}

[ERROR] Cannot resolve project dependencies:

[ERROR] Software being installed: de.kgucms.tps.client.rcpe4.product 1.0.0.qualifier

[ERROR] Missing requirement: de.kgucms.tps.client.rcpe4.product 1.0.0.qualifier requires 'org.eclipse.equinox.p2.iu; org.eclipse.e4.rcp.feature.group [1.6.100.v20180611-0422,1.6.100.v20180611-0422]' but it could not be found

[ERROR]

[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.

[ERROR] Cannot resolve dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml: See log for details -> [Help 1]

[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/MavenExecutionException



Could somebody help me with that issue?



In the attachment you can find my codings



Thanks

Stefan





Von: tycho-user-***@eclipse.org <mailto:tycho-user-***@eclipse.org> <tycho-user-***@eclipse.org <mailto:tycho-user-***@eclipse.org> > Im Auftrag von Stefan Nöbauer
Gesendet: Montag, 17. September 2018 09:33
An: tycho-***@eclipse.org <mailto:tycho-***@eclipse.org>
Betreff: [tycho-user] Problem finding features



Hi,



I have a problem with finding dependencies while building a product with Tycho.



I defined two plugins with the application and product described in it.



I added a feature to group these plugins and to be able to add that to my .product file.



Now when I build my product maven can’t fin this feature with the message:



[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}

[ERROR] Cannot resolve project dependencies:

[ERROR] Software being installed: TechPubStudio 1.0.0.qualifier

[ERROR] Missing requirement: TechPubStudio 1.0.0.qualifier requires 'org.eclipse.equinox.p2.iu; de.kgucms.tps.client.base.feature.feature.group [1.0.0,1.0.1)' but it could not be found

[ERROR]

[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting <http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting> for help.

[ERROR] Cannot resolve dependencies of MavenProject: tps:tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\tps.product\pom.xml: See log for details -> [Help 1]

[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]



My feature has the ID de.kgucms.tps.client.base.feature

What is maven looking for?



Could you please help me finding the right direction to debug this?



Thanks

Stefan
Continue reading on narkive:
Loading...