Skip to main content



      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 00:21 Go to next message
Eclipse UserFriend
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
Re: org.eclipse.virgo.web.dm from p2? [message #1043448 is a reply to message #1042946] Wed, 17 April 2013 14:09 Go to previous messageGo to next message
Eclipse UserFriend
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 15:08 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 15:08:55 EDT 2025

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

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

Back to the top