You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by e9...@seznam.cz on 2012/09/12 15:35:09 UTC

Only one of the following can be installed at once - org.eclipse.equinox.http.registry

Hello,
I am building our product on Jenkins...and this error has appear:

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: xxx.indigo.product 123.12.1
[ERROR]   Software being installed: zzzz.standard.product 123.12.1
[ERROR]   Only one of the following can be installed at once: [org.eclipse.equinox.http.registry 1.1.0.v20100503, org.eclipse.equinox.http.registry 1.1.1.R36x_v20101103]
[ERROR]   Cannot satisfy dependency: xxx.indigo.product 123.12.1 depends on: yyyy.helios.feature.feature.group 0.0.0
[ERROR]   Cannot satisfy dependency:  zzzz.standard.product 123.12.1 depends on: cccc.feature.feature.group 0.0.0
[ERROR]   Cannot satisfy dependency: ccccc.feature.feature.group 2012.4.2.23371 depends on: org.eclipse.equinox.http.registry [1.1.1.R36x_v20101103]
[ERROR]   Cannot satisfy dependency: yyyy.feature.feature.group 1.0.0.23185 depends on: org.eclipse.equinox.http.registry [1.1.0.v20100503]

but in both features the  org.eclipse.equinox.http.registry  plugin version is set to 0.0.0 . when i look into maven local repository there is defined this in -p2.metada file of the  ccccc.feature >
<required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.equinox.http.registry' range='[1.1.1.R36x_v20101103,1.1.1.R36x_v20101103]'/>
BUT WHY?


I have nowhere defined in whole my product the specific version 1.1.1.R36x_v20101103 or 1.1.0.v20100503! So there are 2 questions:

1] How the maven know that he wants this versions?
2] How to solve this?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Only one of the following can be installed at once - org.eclipse.equinox.http.registry

Posted by Mikhail Kalkov <mi...@purplescout.se>.
Hi,

You might be using Jenkins to trigger and track builds, but the build is performed by Tycho, which is a set of Maven plug-ins making it possible for Maven to understand Eclipse metadata. Tycho has its own mailing list where you would getter a better change to get some help: tycho-user@eclipse.org

Concerning your specific problem, it looks like the error is produced by p2 resolver, which doesn't like the fact you're installing two products with incompatible dependencies into one p2 profile. So, Tycho must have examined your feature files and came to a different conclusion than you did. My random guess would be that your product might depend on an arbitrary version of cccc.feature.feature.group, but the one, which happens to be present in the repository depends on the specific version of http registry, and the same thing happens again with the other dependency. As a result, you get a collision.

Please, provide more information about at which stage this problem happens and from where exactly you took the line starting with "<required namespace...", when you send this question to the tycho-users list.

Kind regards, 
Mikhail Kalkov 

Purple Scout AB 
Software Developer

Address: Kyrkogatan 20-22, SE-41110 Gothenburg, Sweden
Phone:   +46 (0) 732 - 051405
E-mail:  mikhail.kalkov@purplescout.se
Web:     www.purplescout.se


----- Original Message -----
From: e92-330cd@seznam.cz
To: "Maven Users List" <us...@maven.apache.org>
Sent: Wednesday, September 12, 2012 3:35:09 PM
Subject: Only one of the following can be installed at once - org.eclipse.equinox.http.registry

Hello,
I am building our product on Jenkins...and this error has appear:

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: xxx.indigo.product 123.12.1
[ERROR]   Software being installed: zzzz.standard.product 123.12.1
[ERROR]   Only one of the following can be installed at once: [org.eclipse.equinox.http.registry 1.1.0.v20100503, org.eclipse.equinox.http.registry 1.1.1.R36x_v20101103]
[ERROR]   Cannot satisfy dependency: xxx.indigo.product 123.12.1 depends on: yyyy.helios.feature.feature.group 0.0.0
[ERROR]   Cannot satisfy dependency:  zzzz.standard.product 123.12.1 depends on: cccc.feature.feature.group 0.0.0
[ERROR]   Cannot satisfy dependency: ccccc.feature.feature.group 2012.4.2.23371 depends on: org.eclipse.equinox.http.registry [1.1.1.R36x_v20101103]
[ERROR]   Cannot satisfy dependency: yyyy.feature.feature.group 1.0.0.23185 depends on: org.eclipse.equinox.http.registry [1.1.0.v20100503]

but in both features the  org.eclipse.equinox.http.registry  plugin version is set to 0.0.0 . when i look into maven local repository there is defined this in -p2.metada file of the  ccccc.feature >
<required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.equinox.http.registry' range='[1.1.1.R36x_v20101103,1.1.1.R36x_v20101103]'/>
BUT WHY?


I have nowhere defined in whole my product the specific version 1.1.1.R36x_v20101103 or 1.1.0.v20100503! So there are 2 questions:

1] How the maven know that he wants this versions?
2] How to solve this?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org