Skip to content
Rajib Biswas edited this page Dec 13, 2016 · 4 revisions

Currently the process of creating the installer is a manual process, which is described below. Follow the steps mentioned below to build and create a installer zip file for release and distribution:

  1. Extract/Unzip the latest installer, which is 'TIB_BW_Maven_Plugin_1.1.0.zip' to a location of your preference. Let's assume this location to be \Installer.
  2. For latest 'bw6.studio.maven.feature', create a 'Deployable features' from Eclipse to produce bw6.studio.maven.feature_1.1.0.zip.
  3. Copy/replace this newly created feature bw6.studio.maven.feature_1.1.0.zip file to \Installer\TIB_BW_Maven_Plugin_1.1.0\config.
  4. If you need to change the version (major or minor), then change the version in following places:
  • \Installer\TIB_BW_Maven_Plugin_1.1.0\build.xml: <p2.install repo="jar:file:///${project.dir}/config/bw6.studio.maven.feature_1.1.0.zip!/" ius="bw6.studio.maven.feature.feature.group"/>
  • feature.xml of 'bw6.studio.maven.feature': version="1.1.0.qualifier"
  • Inside bw6.studio.maven.feature, category.xml
  • AbstractPOMBuilder.java
  • Inside bw6-maven-plugin.zip, install.bat and install.sh
  1. Extract/Unzip \Installer\TIB_BW_Maven_Plugin_1.1.0\config\bw6-maven-plugin.zip.
  2. Create new 'bw6-maven-plugin-1.1.0.jar' by running command 'mvn package' at the source code location: \Source\bw6-maven-plugin.
  3. Copy/replace file 'bw6-maven-plugin-1.1.0.jar' from \Source\bw6-maven-plugin\target\ to \Installer\TIB_BW_Maven_Plugin_1.1.0\config\bw6-maven-plugin.
  4. At location \Installer\TIB_BW_Maven_Plugin_1.1.0\config, delete the old 'bw6-maven-plugin.zip' and create a new zip file from location: \Installer\TIB_BW_Maven_Plugin_1.1.0\config\bw6-maven-plugin. Then delete directory 'bw6-maven-plugin'.
  5. At location: \Installer, delete the old TIB_BW_Maven_Plugin_1.1.0.zip and create a new zip file from \Installer\TIB_BW_Maven_Plugin_1.1.0.
  6. Now you have the latest bw6-plugin-maven installer TIB_BW_Maven_Plugin_1.1.0.zip.

Clone this wiki locally