Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » org.eclipse.virgo.web.dm from p2?
org.eclipse.virgo.web.dm from p2? [message #1042946] Wed, 17 April 2013 04:21 Go to next message
Mixa Alekseev is currently offline Mixa AlekseevFriend
Messages: 10
Registered: February 2011
Junior Member
maven with tycho can not find this bundle in http://download.eclipse.org/virgo/updatesite/3.6.1.RELEASE
or http://download.eclipse.org/gemini/updates/web/2.2.0


Sorry for my bad English.
Re: org.eclipse.virgo.web.dm from p2? [message #1043448 is a reply to message #1042946] Wed, 17 April 2013 18:09 Go to previous messageGo to next message
Borislav Kapukaranov is currently offline Borislav KapukaranovFriend
Messages: 80
Registered: September 2010
Member
Hi Mixa,

It is not published in a consumable way to a p2 repo at the moment.
However you can find it in Ivy and Maven. As a workaround you can add a regular Maven dependency to it in your build and use the tycho options that considers maven dependencies into the resolution of the target platform.
Here is an example how to congfigure the tycho plugin:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<pomDependencies>consider</pomDependencies>
</configuration>
</plugin>


This way you won't need to have it available in a p2 repo.
You can find more details searching the tycho docs.

If you still need this bundle published in a p2 repo please open a ticket in Virgo's bugzilla.

Hope that helps,
Bobby
Re: org.eclipse.virgo.web.dm from p2? [message #1043478 is a reply to message #1043448] Wed, 17 April 2013 19:08 Go to previous message
Borislav Kapukaranov is currently offline Borislav KapukaranovFriend
Messages: 80
Registered: September 2010
Member
On second thought, this will likely not work.
Even though the bundle in question is available in Maven, its dependencies are not there (those with o.e.v.mirrored groupID).
What tycho does when considering pom dependencies is to first try to resolve following the Maven rules and then merge with the available p2 repos.
So in this case it won't be able to resolve web.dm in the first place in order to include it in the target platform.

Two ways to proceed
- either make all o.e.v.mirror artifacts available in Maven, not only in Ivy (this is covered by bug 386456)
- or publish web.dm and other /repository/* resources in a p2 repo

If you prefer the latter please open a ticket. If not vote for bug 386456.
Previous Topic:Virgo 3.7.0.M01
Next Topic:Race condition at virgo start
Goto Forum:
  


Current Time: Thu Nov 27 05:01:23 GMT 2014

Powered by FUDForum. Page generated in 0.12896 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software