-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
164 lines (156 loc) · 5.65 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?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.13.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>${mwe2Version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.common.types</artifactId>
<version>${xtextVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.xtext.generator</artifactId>
<version>${xtextVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.xbase</artifactId>
<version>${xtextVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>xtext-antlr-generator</artifactId>
<version>2.1.1</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>