Mapasuta openArchitectureWare WorkFlow Runner 1.1

Mapasuta openArchitectureWare WorkFlow Runner plugin allows to start a workflow file during a Maven2 build run.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
The Mapasuta Development Group
HOMEPAGE:
mapasuta.sourceforge.net
CATEGORY:
ROOT \ Programming \ Code Generators
Mapasuta openArchitectureWare WorkFlow Runner plugin allows to start a workflow file during a Maven2 build run.

There are only two goals, one for running a workflow file during normal build (run-workflow), and one for test builds (run-test-workflow).

Usage:

Generate sources

The common way to use the plugin is to add it to your pom.xml:

< build >
[...]
< plugins >
[...]
< plugin >
< groupId>net.sf.mapasuta.build.maven.plugins< /groupId>
< artifactId>maven-oaw-plugin< /artifactId>
< configuration>
< workflowFile>src/main/workflow/workflow.oaw< /workflowFile>
< /configuration>
< executions>
< execution>
< goals>< goal>run-workflow< /goals>
< /execution>
< /executions>
< /plugin>
[...]
< /plugins>
[...]
< /build>

The plugin runs in the phase generate-sources and generates the sources into the default output folder target/generated-sources/maven-oaw-plugin.

The workflow parameter outputDir is set to the output folder and can be used in the workflow file.

It adds the output folder to the compiler's source folder list, so the generated sources will be compiled, if you run the phase compile.

Generate test sources

To generate test sources, use the following simple configuration:

< build >
[...]
< plugins >
[...]
< plugin>
< groupId>mapasuta.build.maven.plugins< /groupId>
< artifactId>maven-oaw-plugin< /artifactId>
< configuration>
< workflowFile>src/main/workflow/workflow.oaw< /workflowFile>
< /configuration>
< executions>
< execution>
< goals>< goal>run-test-workflow< /goal>< /goals>
< /execution>
< /executions>
< /plugin>
[...]
< /plugins>
[...]
< /build>

The plugin runs in the phase generate-test-sources and generates the sources into the default output folder target/generated-test-sources/maven-oaw-plugin.

Last updated on November 2nd, 2006

#Mapasuta openArchitectureWare #WorkFlow Runner #maven plugin #Mapasuta #openArchitectureWare #WorkFlow #Runner

Add your review!

SUBMIT