Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Getting Tycho

Introduction

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.3.x. The minimum required version is 3.0.

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

<properties>
   <tycho-version>1.0.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, update the tycho-version property accordingly and add the Maven repository containing the Tycho snapshots in your parent POM:

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


If you want to make the Tycho development version available in all your builds, you can also add the tycho-snapshots repository in your settings.xml:

<settings>

   <profiles>
      <profile>
         <id>tycho-snapshots</id>
         <pluginRepositories>
            <pluginRepository>
               <id>tycho-snapshots</id>
               <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
               <releases>
                  <enabled>false</enabled>
               </releases>
            </pluginRepository>
         </pluginRepositories>
      </profile>
   </profiles>

   <activeProfiles>
      <activeProfile>tycho-snapshots</activeProfile>
   </activeProfiles>

</settings>

Back to the top