Created
August 13, 2014 13:51
-
-
Save oehme/019186d7b6f2ac1e720c to your computer and use it in GitHub Desktop.
Generating with maven-exec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.2.1</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/xtext/builddsl/GenerateBuildDSL.mwe2</argument> | |
</arguments> | |
<includePluginDependencies>true</includePluginDependencies> | |
</configuration> | |
<dependencies> | |
<dependency> | |
<groupId>org.eclipse.xtext</groupId> | |
<artifactId>org.eclipse.xtext.xtext</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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment