Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Force specific updatesite to resolve dependencies

Hi,

my plugin has a dependency which is available in the indigo update site, however it will only compile with a development
snapshop of the plugin which is hosted in another updatesite.

When the tycho build runs and the dependencies are resolved, tycho keeps using the indigo updatesite to resolve it, hence
the build fails.

Is there a way to force a specific updatesite if multiple repositories for the same dependencies are available?

Here's my master pom.xml (the github updatesite should be the one which needs to be used to resolve dependencies):

<?xml version="1.0" encoding="UTF-8"?>
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.dubture.twig</groupId>
  <artifactId>parent</artifactId>
  <version>1.0.90.qualifier</version>
  <packaging>pom</packaging>
  <modules>
    <module>com.dubture.twig.core</module>
    <module>com.dubture.twig.parser</module>
    <module>com.dubture.twig.ui</module>
  </modules>

  <properties>
    <tycho-version>0.13.0</tycho-version>
  </properties>

  <repositories>
   <repository>
     <id>github</id>
     <layout>p2</layout>
     <url>http://pulse00.github.com/Twig-Eclipse-Plugin/</url>
   </repository>   
   <repository>
     <id>indigo</id>
     <layout>p2</layout>
     <url>http://download.eclipse.org/releases/indigo</url>
   </repository>   
  </repositories>

  <build>
    <plugins>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-maven-plugin</artifactId>
        <version>${tycho-version}</version>
        <extensions>true</extensions>
      </plugin>
    </plugins>
  </build>

</project>



Back to the top