Skip to content
Christoph Lehr edited this page Nov 26, 2020 · 4 revisions

Build Process

The build can either be initiated via Eclipse or directly from the command line using maven ,if it is installed, directly.

Building using Eclipse

The Eclipse Maven plugin provides itself maven inside the IDE but is not exposed to the environment. As all projects are maven projects simply add a Maven Build Run Configuration in Eclipse and select the root project as base directory. To execute a fresh build enter clean install in the Goals field.

The build artefacts can then be found in each plugins target directory, this will be created by Maven.

Build a single Targets

If only a a single plugin/feature shall be built select instead of the root project the desired plugin/feature in the Run Configuration. Maven then builds all required dependencies and then the target.

Building using Maven directly

To build the complete project enter the proejcts root directy and execute mvn clean install which will clean old artefacts and then executes a fresh build. The build artefacts can then be found in each plugins target directory, this will be created by Maven.

Build a subset of Targets

To build a single plugin enter the proejcts root directy and execute the following command and replace <plugin directoy> with the directory of the plugin/feature: mvn install -pl <plugin directoy> -am

Another way is to execute this command and replace mvn install -pl :<plugin artifact id> -am with the artefact id of the plugin: mvn install -pl :<artefact id> -am

Artefact IDs

Plugins:

  • at.ac.tuwien.auto.modelua.papyrus.opcua.console
  • at.ac.tuwien.auto.modelua.papyrus.opcua.preferences
  • at.ac.tuwien.auto.modelua.papyrus.opcua.nodeset
  • at.ac.tuwien.auto.modelua.papyrus.opcua.libraries
  • at.ac.tuwien.auto.modelua.papyrus.opcua.profile
  • at.ac.tuwien.auto.modelua.papyrus.opcua.diagram.style
  • at.ac.tuwien.auto.modelua.papyrus.opcua.diagram.transformation
  • at.ac.tuwien.auto.modelua.papyrus.opcua.diagram.ui
  • at.ac.tuwien.auto.modelua.papyrus.opcua.diagram

Features:

  • at.ac.tuwien.auto.modelua.papyrus.opcua.profile.feature
  • at.ac.tuwien.auto.modelua.papyrus.opcua.libraries.feature
  • at.ac.tuwien.auto.modelua.papyrus.opcua.nodeset.feature
  • at.ac.tuwien.auto.modelua.papyrus.opcua.diagram.feature