Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Changing P2 URL in .target, doesn't resolve new plugins.

Hi,

I found my problem. I use multiple parent pom.xml with each their own target definition. The child plugins however refer to only one parent pom.xml


    <parent>
        <groupId>com.netxforge.netxstudio</groupId>
        <artifactId>com.netxforge.releng</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <relativePath>../releng.tycho/com.netxforge.releng</relativePath>
    </parent>


What would be the pattern to "re-use"  modules (Plugins) in multiple parent poms. Currently the bi-directional reference seems to prevent this. (What I mean is the children refer the parent, and the parent refers the children).

(Sorry, this sounds like a basic maven question...).

Rgds Christophe










On Tue, Jun 24, 2014 at 2:18 PM, Christophe Bouhier <dzonekl@xxxxxxxxx> wrote:
Hi,

I am upgrading one of my components (CDO):

<repository location="http://download.eclipse.org/modeling/emf/cdo/drops/R20140218-1655"/>

The tycho build doesn't pick up the plugins in this repo, as I see in the ...p2-metadata.xml (below). In the IDE, when I load this target, I get the correct plugin versions.

How do I force tycho to pick from the new location? (I have set this option, which doesn't help in this case: -Dtycho.localArtifacts=ignore

Do I need to clean the maven repo?

Thank You,
Christophe Bouhier

<required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.emf.cdo.net4j' range='[4.1.100.v20121228-1653,4.1.100.v20121228-1653]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.net4j.db' range='[4.2.0.v20130115-1033,4.2.0.v20130115-1033]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.net4j.util' range='[3.3.0.v20130126-0958,3.3.0.v20130126-0958]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.net4j.tcp' range='[4.1.100.v20120920-1622,4.1.100.v20120920-1622]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.net4j' range='[4.2.0.v20130120-1014,4.2.0.v20130120-1014]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.emf.cdo' range='[4.2.0.v20130130-0630,4.2.0.v20130130-0630]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.emf.cdo.common' range='[4.2.0.v20130126-1029,4.2.0.v20130126-1029]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.emf.cdo.server' range='[4.2.0.v20130126-0958,4.2.0.v20130126-0958]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.emf.cdo.server.db' range='[4.2.0.v20130125-0507,4.2.0.v20130125-0507]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.emf.cdo.server.net4j' range='[4.1.0.v20130112-1217,4.1.0.v20130112-1217]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.net4j.jvm' range='[4.1.100.v20120917-1349,4.1.100.v20120917-1349]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.net4j.db.mysql' range='[4.2.0.v20130116-0901,4.2.0.v20130116-0901]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='lpg.runtime.java' range='[2.0.17.v201004271640,2.0.17.v201004271640]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='com.mysql.driver' range='[5.1.18,5.1.18]'/>
      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.emf.cdo.server.db.mysql.artifacts.feature.feature.jar' range='[1.0.0.201406240140,1.0.0.201406240140]'>




Back to the top