| <?xml version="1.0" encoding="UTF-8"?> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <relativePath>../../releng/org.eclipse.emf.parsley.parent/pom.xml</relativePath> |
| <groupId>org.eclipse.emf.parsley</groupId> |
| <artifactId>org.eclipse.emf.parsley.parent</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>org.eclipse.emf.parsley.dsl</artifactId> |
| <packaging>eclipse-plugin</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.emf.parsley</groupId> |
| <artifactId>org.eclipse.emf.parsley.common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.emf.parsley</groupId> |
| <artifactId>org.eclipse.emf.parsley.generator.common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <!-- The following is required so that the mwe2 workflow finds the |
| .xtext grammar file --> |
| <!-- <sourceDirectory>src</sourceDirectory> --> |
| <!-- <resources> --> |
| <!-- <resource> --> |
| <!-- <directory>src</directory> --> |
| <!-- <includes> --> |
| <!-- <include>**/*.xtext</include> --> |
| <!-- </includes> --> |
| <!-- </resource> --> |
| <!-- </resources> --> |
| |
| <plugins> |
| <!-- We let the mwe2 workflow clean the src-gen folders --> |
| <!-- <plugin> --> |
| <!-- <groupId>org.apache.maven.plugins</groupId> --> |
| <!-- <artifactId>maven-clean-plugin</artifactId> --> |
| <!-- <version>2.5</version> --> |
| <!-- <configuration> --> |
| <!-- <skip>${mwe2.skip}</skip> --> |
| <!-- <filesets> --> |
| <!-- <fileset> --> |
| <!-- <directory>${basedir}/src-gen</directory> --> |
| <!-- </fileset> --> |
| <!-- <fileset> --> |
| <!-- <directory>${basedir}/xtend-gen</directory> --> |
| <!-- </fileset> --> |
| <!-- clean ui plugin as well --> |
| <!-- <fileset> --> |
| <!-- <directory>${basedir}/../${project.artifactId}.ui/src-gen</directory> --> |
| <!-- </fileset> --> |
| <!-- <fileset> --> |
| <!-- <directory>${basedir}/../${project.artifactId}.ui/xtend-gen</directory> --> |
| <!-- </fileset> --> |
| <!-- clean test fragment as well --> |
| <!-- <fileset> --> |
| <!-- <directory>${basedir}/../${project.artifactId}.tests/src-gen</directory> --> |
| <!-- </fileset> --> |
| <!-- <fileset> --> |
| <!-- <directory>${basedir}/../${project.artifactId}.tests/xtend-gen</directory> --> |
| <!-- </fileset> --> |
| <!-- </filesets> --> |
| <!-- </configuration> --> |
| <!-- </plugin> --> |
| |
| <!-- <plugin> --> |
| <!-- <groupId>org.fornax.toolsupport</groupId> --> |
| <!-- <artifactId>fornax-oaw-m2-plugin</artifactId> --> |
| <!-- <version>${fornax-oaw-m2-plugin-version}</version> --> |
| <!-- <configuration> --> |
| <!-- <skip>${mwe2.skip}</skip> --> |
| <!-- <workflowEngine>mwe2</workflowEngine> --> |
| <!-- <workflowDescriptor>src/org/eclipse/emf/parsley/dsl/GenerateEmfParsleyDsl.mwe2</workflowDescriptor> --> |
| <!-- </configuration> --> |
| <!-- <executions> --> |
| <!-- <execution> --> |
| <!-- <phase>generate-sources</phase> --> |
| <!-- <goals> --> |
| <!-- <goal>run-workflow</goal> --> |
| <!-- </goals> --> |
| <!-- </execution> --> |
| <!-- </executions> --> |
| <!-- <dependencies> --> |
| <!-- <dependency> --> |
| <!-- <groupId>org.eclipse.xtext</groupId> --> |
| <!-- <artifactId>xtext-antlr-generator</artifactId> --> |
| <!-- <version>[2.1.1, 3.0)</version> --> |
| <!-- </dependency> --> |
| <!-- </dependencies> --> |
| <!-- </plugin> --> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.4.0</version> |
| <executions> |
| <execution> |
| <id>mwe2Launcher</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <mainClass>org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher</mainClass> |
| <arguments> |
| <argument>/${project.basedir}/src/org/eclipse/emf/parsley/dsl/GenerateEmfParsleyDsl.mwe2</argument> |
| <argument>-p</argument> |
| <argument>rootPath=/${project.basedir}/..</argument> |
| </arguments> |
| <classpathScope>compile</classpathScope> |
| <includePluginDependencies>true</includePluginDependencies> |
| <cleanupDaemonThreads>false</cleanupDaemonThreads><!-- see https://bugs.eclipse.org/bugs/show_bug.cgi?id=475098#c3 --> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.emf</groupId> |
| <artifactId>org.eclipse.emf.mwe2.launch</artifactId> |
| <version>2.8.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.xtext</groupId> |
| <artifactId>org.eclipse.xtext.xtext.generator</artifactId> |
| <version>${xtext-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.xtext</groupId> |
| <artifactId>org.eclipse.xtext.xbase</artifactId> |
| <version>${xtext-version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.xtend</groupId> |
| <artifactId>xtend-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |