META-INF.maven.plugin.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fornax-oaw-m2-plugin Show documentation
Show all versions of fornax-oaw-m2-plugin Show documentation
The Maven2-Plugin for the Model Workflow execution (oAW 4.x / Eclipse MWE/MWE2)
<?xml version="1.0" encoding="UTF-8"?> <plugin> <name>XXX Model Workflow-M2-Plugin</name> <description>The Maven2-Plugin for the Model Workflow execution (oAW 4.x / Eclipse MWE)</description> <groupId>org.fornax.toolsupport</groupId> <artifactId>fornax-oaw-m2-plugin</artifactId> <version>3.5.0-SNAPSHOT</version> <goalPrefix>fornax-oaw-m2</goalPrefix> <isolatedRealm>false</isolatedRealm> <inheritedByDefault>true</inheritedByDefault> <mojos> <mojo> <goal>run-workflow</goal> <description>This is the plugin to the openArchitectureWare/Eclipse MWE Workflow-component. This plugin can used to generate artifacts out of models (e.g. UML, EMF). <p> You can configure resources that should be checked if they are up to date to avoid needless generator runs and optimize build execution time. The plugin will include the changed files in System.property 'fornax-oaw-m2-plugin.changedFiles' as comma separated absolute file names.</description> <requiresDependencyResolution>test</requiresDependencyResolution> <requiresDirectInvocation>false</requiresDirectInvocation> <requiresProject>true</requiresProject> <requiresReports>false</requiresReports> <aggregator>false</aggregator> <requiresOnline>false</requiresOnline> <inheritedByDefault>true</inheritedByDefault> <phase>generate-sources</phase> <implementation>org.fornax.toolsupport.maven2.WorkflowMojo</implementation> <language>java</language> <instantiationStrategy>per-lookup</instantiationStrategy> <executionStrategy>once-per-session</executionStrategy> <threadSafe>false</threadSafe> <parameters> <parameter> <name>checkDependencies</name> <type>boolean</type> <required>false</required> <editable>true</editable> <description>If set the classpath constituents that can be resolved to files are checked for changes against the timestamp file. Enable this if you need to regenerate in the case that a snapshot dependency changes.</description> </parameter> <parameter> <name>checkFileListings</name> <type>java.util.List</type> <required>false</required> <editable>true</editable> <description>A <code>java.util.List</code> with files containing a list of files that will be checked on up to date. If all resources are uptodate the plugin stopps the execution, because there are nothing newer to regenerate. <br/> The entries of this list can be relative path to the project root or absolute path.</description> </parameter> <parameter> <name>checkFilesets</name> <type>org.apache.maven.model.FileSet[]</type> <required>false</required> <editable>true</editable> <description>A <code>java.util.List</code> with resources that will be checked on up to date. If all resources are up to date the plugin stops the execution, because there are no files to regenerate. <br/> The entries of this list can be relative path to the project root or absolute path.</description> </parameter> <parameter> <name>checkResources</name> <type>java.util.List</type> <deprecated>Use checkFilesets instead</deprecated> <required>false</required> <editable>true</editable> <description>A <code>java.util.List</code> with resources that will be checked on up to date. If all resources are uptodate the plugin stopps the execution, because there are nothing newer to regenerate. <br/> The entries of this list can be relative path to the project root or absolute path.</description> </parameter> <parameter> <name>defaultOawResourceDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Defines the directory containing the runtime configurations, resources (eg. the models, log-configurations, properties,...). This directory will be added to the classpath temporarily, but removed after the generation.</description> </parameter> <parameter> <name>dependencies</name> <type>java.util.Set</type> <required>true</required> <editable>false</editable> <description></description> </parameter> <parameter> <name>force</name> <type>boolean</type> <required>false</required> <editable>true</editable> <description>Forces execution by configuration</description> </parameter> <parameter> <name>jvmSettings</name> <type>org.fornax.toolsupport.maven2.JvmSettings</type> <required>false</required> <editable>true</editable> <description>Additional settings for the JVM during execution</description> </parameter> <parameter> <name>logDetectionPatterns</name> <type>org.fornax.toolsupport.maven2.LogDetectionPattern[]</type> <required>false</required> <editable>true</editable> <description>Used to detect log levels and especially error situations from the stdout when running in forked mode.</description> </parameter> <parameter> <name>outletResDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for non-source-code artifacts. Existings artifacts will be overwritten.</description> </parameter> <parameter> <name>outletResOnceDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for non-source-code artifacts. If an artifact with the same name already exists, the generation of the artifact will be skipped.</description> </parameter> <parameter> <name>outletResProtectedDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for non-source-code artifacts with Protected Regions.</description> </parameter> <parameter> <name>outletResTestDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for non-source-code test-artifacts. Existings artifacts will be overwritten.</description> </parameter> <parameter> <name>outletResTestOnceDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for source-code test-artifacts. Existings artifacts will not be overwritten.</description> </parameter> <parameter> <name>outletResTestProtectedDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for non-source-code test-artifacts with Protected Regions.</description> </parameter> <parameter> <name>outletSrcDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for source-code artifacts. Existings artifacts will be overwritten.</description> </parameter> <parameter> <name>outletSrcOnceDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for source-code artifacts. If an artifact with the same name already exists, the generation of the artifact will be skipped.</description> </parameter> <parameter> <name>outletSrcProtectedDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for source-code artifacts with Protected Regions.</description> </parameter> <parameter> <name>outletSrcTestDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for source-code test-artifacts. Existings artifacts will be overwritten.</description> </parameter> <parameter> <name>outletSrcTestOnceDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for source-code artifacts. If an artifact with the same name already exists, the generation of the artifact will be skipped.</description> </parameter> <parameter> <name>outletSrcTestProtectedDir</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>Directory for source-code test-artifacts with Protected Regions.</description> </parameter> <parameter> <name>pluginArtifacts</name> <type>java.util.List</type> <required>true</required> <editable>true</editable> <description></description> </parameter> <parameter> <name>progressMonitorClass</name> <type>java.lang.String</type> <required>false</required> <editable>true</editable> <description></description> </parameter> <parameter> <name>project</name> <type>org.apache.maven.project.MavenProject</type> <required>true</required> <editable>true</editable> <description>The project itself. This parameter is set by maven.</description> </parameter> <parameter> <name>properties</name> <type>java.util.Map</type> <required>false</required> <editable>true</editable> <description>Additional Map with parameter for the generator</description> </parameter> <parameter> <name>securitySettings</name> <type>org.fornax.toolsupport.maven2.SecuritySettings</type> <required>false</required> <editable>true</editable> <description>Security Manager settings</description> </parameter> <parameter> <name>skip</name> <type>boolean</type> <required>false</required> <editable>true</editable> <description>Skips execution by configuration</description> </parameter> <parameter> <name>timestampFileName</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description></description> </parameter> <parameter> <name>workflowDescriptor</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>The name of the workflow descriptor. <p> <i>Only supported for workflow engine 'oaw' and 'mwe'</i></description> </parameter> <parameter> <name>workflowEngine</name> <type>java.lang.String</type> <required>true</required> <editable>true</editable> <description>The Workflow Engine type to execute. <ul> <li><tt>oaw</tt>: openArchitectureWare 4.x <li><tt>mwe</tt>: Eclipse Model Workflow Engine (MWE) <li><tt>mwe2</tt>: Eclipse Model Workflow Engine 2 (MWE2) </ul></description> </parameter> <parameter> <name>workflowRunnerClass</name> <type>java.lang.String</type> <required>false</required> <editable>true</editable> <description></description> </parameter> </parameters> <configuration> <defaultOawResourceDir implementation="java.lang.String" default-value="oaw-generator"/> <dependencies implementation="java.util.Set" default-value="${project.artifacts}"/> <outletResDir implementation="java.lang.String" default-value="src/generated/resources"/> <outletResOnceDir implementation="java.lang.String" default-value="src/main/resources"/> <outletResProtectedDir implementation="java.lang.String" default-value="src/protected/resources"/> <outletResTestDir implementation="java.lang.String" default-value="src/test/generated/resources"/> <outletResTestOnceDir implementation="java.lang.String" default-value="src/test/generated/java"/> <outletResTestProtectedDir implementation="java.lang.String" default-value="src/test/protected/resources"/> <outletSrcDir implementation="java.lang.String" default-value="src/generated/java"/> <outletSrcOnceDir implementation="java.lang.String">${project.build.sourceDirectory}</outletSrcOnceDir> <outletSrcProtectedDir implementation="java.lang.String" default-value="src/protected/java"/> <outletSrcTestDir implementation="java.lang.String" default-value="src/test/generated/java"/> <outletSrcTestOnceDir implementation="java.lang.String">${project.build.testSourceDirectory}</outletSrcTestOnceDir> <outletSrcTestProtectedDir implementation="java.lang.String" default-value="src/test/protected/java"/> <pluginArtifacts implementation="java.util.List" default-value="${plugin.artifacts}"/> <project implementation="org.apache.maven.project.MavenProject">${project}</project> <timestampFileName implementation="java.lang.String" default-value="oaw-generation-lastrun.timestamp"/> <workflowDescriptor implementation="java.lang.String" default-value="workflow.mwe2"/> <workflowEngine implementation="java.lang.String" default-value="mwe2"/> </configuration> </mojo> </mojos> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <type>jar</type> <version>2.1.0</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-project</artifactId> <type>jar</type> <version>2.1.0</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings</artifactId> <type>jar</type> <version>2.1.0</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-profile</artifactId> <type>jar</type> <version>2.1.0</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact-manager</artifactId> <type>jar</type> <version>2.1.0</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-repository-metadata</artifactId> <type>jar</type> <version>2.1.0</version> </dependency> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-provider-api</artifactId> <type>jar</type> <version>1.0-beta-5</version> </dependency> <dependency> <groupId>backport-util-concurrent</groupId> <artifactId>backport-util-concurrent</artifactId> <type>jar</type> <version>3.1</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-registry</artifactId> <type>jar</type> <version>2.1.0</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-interpolation</artifactId> <type>jar</type> <version>1.8.1</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-container-default</artifactId> <type>jar</type> <version>1.0-alpha-9-stable-1</version> </dependency> <dependency> <groupId>classworlds</groupId> <artifactId>classworlds</artifactId> <type>jar</type> <version>1.1-alpha-2</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> <type>jar</type> <version>2.1.0</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <type>jar</type> <version>2.1.0</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <type>jar</type> <version>1.5.12</version> </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <type>jar</type> <version>2.0</version> </dependency> <dependency> <groupId>aopalliance</groupId> <artifactId>aopalliance</artifactId> <type>jar</type> <version>1.0</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <type>jar</type> <version>1.8.2</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-launcher</artifactId> <type>jar</type> <version>1.8.2</version> </dependency> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils-core</artifactId> <type>jar</type> <version>1.8.3</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <type>jar</type> <version>1.1.1</version> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <type>jar</type> <version>2.6</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <type>jar</type> <version>3.8.2</version> </dependency> </dependencies> </plugin>