-
Notifications
You must be signed in to change notification settings - Fork 6
[DEV] Releasing new Version
When you want to release a new version you should follow this approach. Meclipse used tycho to have all the features of maven available, while creating an eclipse plugin.
To build a new version you need to update several locations where the version of meclipse is stored. You need to adapt these files to reflect the Version you plan to release:
- All pom.xml files
- org.mongodb.meclipse.feature/feature.xml
- org.mongodb.meclipse/META-INF/MANIFEST.MF
- org.mongodb.meclipse.repository/category.xml
After that change into org.mongodb.meclipse.mavenbuild and execute mvn clean package. Once the build finished (which may take some time for the first execution, due to the vast amount of maven plugin dependencies and eclipse update downloads) you'll get the p2update site created under org.mongodb.meclipse.repository/target/repository. Please put everything of the repository folder into the update folder of the gh-pages branch. Effectively overriding the older version, Tycho seems to be not able (yet) to support multiple versions within a p2updatesite.