Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] WAR-packaged project depending on JAR from p2 repo?

Hi Jeff,

> If you take a regular POM (JAR,WAR,...) and add Tycho extensions plus
> add a p2 repo to Maven repositories, then it should be able to resolve
> one of the dependencies against this repo.

yes, that's what I tried.

> But I looked at the code of the P2 layout maven repository and it seems
> it is not implemented so it's like the p2 layout is a fake Maven
> repository just here to allow configuration of P2 repositories for Tycho
> in the Maven way.

even if the p2 layout were implemented in the "proper" way, I wonder how
Tycho would be able to produce a pom.xml for a JAR in a p2 repo? Now,
for JARs build with Tycho, this should be doable thanks to
META-INF/maven/${groupId}/${artifactId}/pom.xml, but in the general
case that would be really hard.

Alternatively, I looks like bug [1] being fixed might solve this in a
different way.

Best wishes,

Andreas

[1] <https://bugs.eclipse.org/bugs/show_bug.cgi?id=349115>

-- 
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top