Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseSCADA/Release/Perform

< EclipseSCADA
Revision as of 05:19, 20 November 2013 by Unnamed Poltroon (Talk) (Perform build)

Note.png
This page is work in progress


One time setup

Maven Settings

Add the following profile to your "~/.m2/settings.xml":

  <profile>
     <id>eclipse.scada</id>

     <activation>
        <activeByDefault>false</activeByDefault>
     </activation>

     <pluginRepositories>
       	<pluginRepository>
       	   <id>eclipse.scada</id>
           <name>Eclipse SCADA Repository</name>
           <url>
              https://repo.eclipse.org/content/groups/eclipsescada/
           </url>
           <releases>
              <enabled>true</enabled>
           </releases>
        </pluginRepository>
     </pluginRepositories>
  </profile>

Prepare new release branch

Create a new branch for each release cycle: 0.1.x-release

Checkout

git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.external.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.utils.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.chart.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.protocols.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.base.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.core.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.hmi.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.ide.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.deploy.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.releng.git

Generate Qualifer

In order to be able to create proper maven release builds the -SNAPSHOT qualifier must be removed. This is done by the build helper "generate qualifier" mojo from the Eclipse SCADA releng repository. It uses the tycho jgit build timestamp provider to create timestamp based qualifiers and sets the qualifiers in all maven projects and synchs it back to bundles, features and repositories.

cd org.eclipse.scada.releng/aggregator
mvn org.eclipse.scada.releng:build-helper:0.0.5:generate-qualifier -DtimestampProvider=jgit -Peclipse.scada

Perform build

See also EclipseSCADA/Build

mvn clean verify -Prpm -Pdeb -Peclipse-sign -Peclipse-hudson -Pmilestone

If you build locally use:

mvn clean verify -Prpm -Pdeb -Peclipse-hudson -Pmilestone -Ddownload.root=/tmp/my-download-test -Declipse.download.root=http://download.eclipse.org

Back to the top