Skip to main content
Jump to: navigation, search

Difference between revisions of "Getting Tycho"

(creating a page about how to get Tycho because I want to link to it from Developing Tycho)
 
m (add Tycho category)
Line 38: Line 38:
 
</pluginRepositories>
 
</pluginRepositories>
 
</pre>
 
</pre>
 +
 +
[[Category:Tycho]]

Revision as of 04:35, 11 April 2015

Tycho is a Maven extension, so it doesn't need to be downloaded manually. Instead, Maven will automatically download it from Maven Central when you reference the Tycho build extension or one of the Tycho Extras plugins in your POM.

Obviously, you need to have Maven installed. We recommend to use at least Maven 3.1.1. The minimum required version is 3.0.

To use the Tycho build extension, add the following configuration in your parent POM:

<properties>
   <tycho-version>0.22.0</tycho-version>
</properties>

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

Then you can make use of the Tycho packaging types to build Eclipse plug-ins, features, p2 repositories, and Eclipse-based applications.

See the release notes for a list of all available Tycho versions.

Getting Tycho SNAPSHOTS

If you want to use the latest development version of Tycho 0.23.0-SNAPSHOT, update the tycho-version property accordingly and add the Maven repository containing the Tycho snapshots in your parent POM or settings.xml:

<pluginRepositories>
   <pluginRepository>
      <id>tycho-snapshots</id>
      <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
   </pluginRepository>
</pluginRepositories>

Back to the top