A Maven Tycho Demo project for Eclipse RCP applications such as Virtual Satellite.
- This project is a test setup to make Virtual Satellite open source. it helps to transform the software engineering processes from the internal towards the GitHub infrastructure.
- Maven Tycho can be very complicated. This project helps developers that are new to Maven Tycho. This project provides core functionality to automate an Eclipse RCP build process and helps setting up such process.
This Maven Tycho Demo is based on Java / Eclipse. The following infrastructure is required:
- Java Development Kit (JDK) 8
- Eclipse Oxygen or newer
- Including Checkstyle
- Including Spotbugs
- Including M2E
- Maven 3
- Windows 7 or Linux Computer
- Open your Eclipse and switch to the Git Perspective.
- Clone this repository.
- Import all projects and working-sets via the ProjectSet file in de.dlr.maven.tycho.demo/projectSet
- Resolve and set the targe tplatform in _de.dlr.maven.tycho.demo.target/mavenTychoDemo.target
- Execute the launchers for running the RCP application from within de.dlr.maven.tycho.demo/launchers
- Execute the Tycho Maven build from de.dlr.maven.tycho.demo/launchers
- Inspect the build artifacts for the p2 repository in de.dlr.maven.tycho.p2updatesite/target
- Inspect the build RCP application in de.dlr.maven.tycho.product/target
Tarvis CI is set-up to start a build job for every branch and every new commit to the repository. It executes all relevant tests such as jUnit, SWTBot, Checkstyle, SpotBugs, etc. Making a successful pull-request into development requires all tests to pass.
Starting a Travis CI job on development or integration deploys all relevant artifacts.
For creating a new release, create a tag starting with Release_ on the master branch. All artifacts are automatically deployed.
This example intends to represent a realistic scenario for building an Eclipse based RCP application such as Virtual Satellite. Accordingly it provides the following features:
- Maven Tycho Build Process for Eclipse RCP Applications
- Examples for Build with maven and eclipse
- Examples for Development, Integration and Release builds
- Examples for Features, Plugins, Products, Update Sites
- Examples for License Feature
- Examples for Branding Feature
- Examples for Documents Feature with Release Notes and API Doc
- Examples for External Library Dependencies
- Examples for Test Fragments
- Integration of JUnit tests
- Integration of Checkstyle tests
- Integration of Spotbug checks
- Standalone Maven Tycho build process
- Eclipse IDE Integrated Maven Tycho build process
Deployments are done using GitHub Releases as well as sourceforge:
This project follows DLR Software Engineering Requirements for application class 1 as documented in the Checklist.
To contribute to this project follow the given steps:
- Create your own fork of the project.
- Apply your changes.
- Create a pull-request of your change to our development branch.
To increase chance that we accept your pull-request, make sure all tests are working. The best indicator is the Travis CI job. Next we will review your pull-request, give comments and maybe accept it.
Copyright 2019 German Aerospace Center (DLR)
The German Aerospace Center (DLR) makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available at https://www.eclipse.org/legal/epl-2.0. For purposes of the EPL, "Program" will mean the Content.
If you did not receive this Content directly from German Aerospace Center (DLR), the Content is being redistributed by another party ("Redistributor") and different terms and conditions may apply to your use of any object code in the Content. Check the Redistributor's license that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise indicated below, the terms and conditions of the EPL still apply to this content.
Third party licenses are named in the plug-ins where used in the respective aboutfiles folders. At runtime third party licenses can be viewed in the usual Eclipse About dialog.