Skip to content

Commit 5c97263

Browse files
committed
Fix exec-maven-plugin configuration and build/run instructions
1 parent 409c802 commit 5c97263

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Are you having trouble with Aspect Model Editor backend? We want to help!
4040

4141
```
4242
mvn clean package
43-
mvn exec:java -Dexec.mainClass="org.eclipse.esmf.ame.Application"
43+
mvn exec:java -pl aspect-model-editor-runtime
4444
```
4545

4646
We are always looking forward to your contributions. For more details on how to contribute just take a look at the

aspect-model-editor-runtime/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<plugin>
136136
<groupId>org.codehaus.mojo</groupId>
137137
<artifactId>exec-maven-plugin</artifactId>
138-
<configuration>
138+
<configuration combine.self="override">
139139
<mainClass>${main.class}</mainClass>
140140
</configuration>
141141
</plugin>
@@ -145,7 +145,7 @@
145145
<configuration>
146146
<archive>
147147
<manifest>
148-
<mainClass>org.eclipse.esmf.ame.Application</mainClass>
148+
<mainClass>${main.class}</mainClass>
149149
</manifest>
150150
</archive>
151151
<excludes>
@@ -169,7 +169,7 @@
169169
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
170170
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
171171
<manifestEntries>
172-
<Main-Class>org.eclipse.esmf.ame.Application</Main-Class>
172+
<Main-Class>${main.class}</Main-Class>
173173
</manifestEntries>
174174
</transformer>
175175
</transformers>

0 commit comments

Comments
 (0)