Navigation Menu

Skip to content

Commit

Permalink
[all] Change the Tycho configuration.
Browse files Browse the repository at this point in the history
In order to force Tycho to consider a single version of Xtext, the Maven
configuration is updated.

see #708

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Aug 15, 2017
1 parent 7442d0c commit e7f81a9
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 23 deletions.
4 changes: 3 additions & 1 deletion main/apiplugins/pom.xml
Expand Up @@ -4,8 +4,10 @@

<parent>
<groupId>io.sarl</groupId>
<artifactId>io.sarl.main</artifactId>
<version>0.5.6</version>
<artifactId>io.sarl.tycho-parent</artifactId>
<version>0.5.7</version>
<relativePath>../../tycho-parent</relativePath>
</parent>

<artifactId>io.sarl.plugins.api</artifactId>
Expand Down
3 changes: 2 additions & 1 deletion main/coreplugins/pom.xml
Expand Up @@ -4,8 +4,9 @@

<parent>
<groupId>io.sarl</groupId>
<artifactId>io.sarl.main</artifactId>
<version>0.5.6</version>
<artifactId>io.sarl.tycho-parent</artifactId>
<relativePath>../../tycho-parent</relativePath>
</parent>

<artifactId>io.sarl.plugins.core</artifactId>
Expand Down
3 changes: 2 additions & 1 deletion main/externalmaven/pom.xml
Expand Up @@ -4,8 +4,9 @@

<parent>
<groupId>io.sarl</groupId>
<artifactId>io.sarl.main</artifactId>
<version>0.5.6</version>
<artifactId>io.sarl</artifactId>
<relativePath>../..</relativePath>
</parent>

<groupId>io.sarl.maven</groupId>
Expand Down
3 changes: 2 additions & 1 deletion main/features/pom.xml
Expand Up @@ -4,8 +4,9 @@

<parent>
<groupId>io.sarl</groupId>
<artifactId>io.sarl.main</artifactId>
<version>0.5.6</version>
<artifactId>io.sarl.tycho-parent</artifactId>
<relativePath>../../tycho-parent</relativePath>
</parent>

<artifactId>io.sarl.features</artifactId>
Expand Down
3 changes: 2 additions & 1 deletion main/internalmaven/pom.xml
Expand Up @@ -4,8 +4,9 @@

<parent>
<groupId>io.sarl</groupId>
<artifactId>io.sarl.main</artifactId>
<version>0.5.6</version>
<artifactId>io.sarl</artifactId>
<relativePath>../..</relativePath>
</parent>

<groupId>io.sarl.maven</groupId>
Expand Down
3 changes: 1 addition & 2 deletions main/pom.xml
Expand Up @@ -3,9 +3,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.sarl</groupId>
<artifactId>io.sarl.tycho-parent</artifactId>
<version>0.5.6</version>
<relativePath>../tycho-parent</relativePath>
<artifactId>io.sarl</artifactId>
</parent>

<artifactId>io.sarl.main</artifactId>
Expand Down
3 changes: 2 additions & 1 deletion main/targetplatform/pom.xml
Expand Up @@ -4,8 +4,9 @@

<parent>
<groupId>io.sarl</groupId>
<artifactId>io.sarl.main</artifactId>
<version>0.5.6</version>
<artifactId>io.sarl.tycho-parent</artifactId>
<relativePath>../../tycho-parent</relativePath>
</parent>

<artifactId>io.sarl.lang.targetplatform</artifactId>
Expand Down
21 changes: 14 additions & 7 deletions pom.xml
Expand Up @@ -27,12 +27,17 @@
<!-- Version of the SARL API -->
<sarl.version>0.5.6</sarl.version>
<janus.version>2.${sarl.version}</janus.version>

<!-- The versions of the following Xtext libraries are available at:
https://eclipse.org/Xtext/documentation/350_continuous_integration.html -->

<!-- Version of the Xtext API -->
<xtext.version>2.11.0</xtext.version>
<xtext.versionRange>[2.11.0,2.11.1)</xtext.versionRange><!-- For generating
a correct version range you need to create a range integrating ONLY the current
version and excluding all other possible versions especially the greater
ones -->
<xtext.version.next>2.11.1</xtext.version.next>
<!-- Version of the MWE2 library -->
<mwe2.version>2.9.0</mwe2.version>
<!-- Version of the Xpand library -->
<xpand.version>R201605260315</xpand.version>

<!-- Version of the OSGi module that provides the NLS -->
<osgi.nls.version>3.10.0-v20140606-1445</osgi.nls.version>
Expand All @@ -43,9 +48,11 @@
<!-- Version of the javax.inject module -->
<javaxinject.version>1</javaxinject.version>
<!-- Version of the Tycho module -->
<tycho.version>0.26.0</tycho.version>
<!-- -->
<tycho.version>1.0.0</tycho.version>
<!-- Version of the JavaFX library -->
<efxclipse.version>2.4.0</efxclipse.version>
<!-- Version of the ZeroMQ library -->
<zeromq.version>0.3.6</zeromq.version>

<!-- Build ID Format (used in Eclipse about dialog) -->
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
Expand Down Expand Up @@ -324,7 +331,7 @@
<dependency>
<groupId>org.zeromq</groupId>
<artifactId>jeromq</artifactId>
<version>0.3.6</version>
<version>${zeromq.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
Expand Down
43 changes: 35 additions & 8 deletions tycho-parent/pom.xml
Expand Up @@ -73,7 +73,14 @@
<type>eclipse-plugin</type>
<id>org.eclipse.xtext.xbase.lib</id>
<restrictTo>
<versionRange>${xtext.versionRange}</versionRange>
<versionRange>[${xtext.version},${xtext.version.next})</versionRange>
</restrictTo>
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.zeromq.jeromq</id>
<restrictTo>
<version>${zeromq.version}</version>
</restrictTo>
</filter>

Expand Down Expand Up @@ -211,6 +218,27 @@
<!-- ===================== -->

<repositories>
<!-- Use the different P2 repositories in place of the P2 composite repository.
The list of the available P2 repositories is available at:
https://eclipse.org/Xtext/documentation/350_continuous_integration.html
-->
<repository>
<id>org.eclipse.modeling.tmf.xtext.updates</id>
<layout>p2</layout>
<url>http://download.eclipse.org/modeling/tmf/xtext/updates/releases/${xtext.version}/</url>
</repository>
<repository>
<id>org.eclipse.modeling.emft.mwe.updates</id>
<layout>p2</layout>
<url>http://download.eclipse.org/modeling/emft/mwe/updates/releases/${mwe2.version}/</url>
</repository>
<repository>
<id>org.eclipse.modeling.m2t.xpand.updates</id>
<layout>p2</layout>
<url>http://download.eclipse.org/modeling/m2t/xpand/updates/releases/${xpand.version}/</url>
</repository>
<!-- Eclipse and related libraries
-->
<repository>
<id>org.eclipse.ide.neon</id>
<layout>p2</layout>
Expand All @@ -222,25 +250,24 @@
<url>http://download.jboss.org/jbosstools/updates/m2e-extensions/m2e-jdt-compiler/</url>
</repository>
<repository>
<id>org.eclipse.modeling.tmf.xtext.updates</id>
<id>org.eclipse.efxeclipse.updates</id>
<layout>p2</layout>
<url>http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/</url>
<url>http://download.eclipse.org/efxclipse/updates-released/${efxclipse.version}/site</url>
</repository>
<!-- Arakhne libraries
-->
<repository>
<id>org.arakhne.p2</id>
<layout>p2</layout>
<url>http://download.tuxfamily.org/arakhne/p2/</url>
</repository>
<!-- SARL dependencies
-->
<repository>
<id>io.sarl.dependencies</id>
<layout>p2</layout>
<url>http://dependencies.sarl.io</url>
</repository>
<repository>
<id>org.eclipse.efxeclipse.updates</id>
<layout>p2</layout>
<url>http://download.eclipse.org/efxclipse/updates-released/${efxclipse.version}/site</url>
</repository>
</repositories>

</project>

0 comments on commit e7f81a9

Please sign in to comment.