Skip to content

Commit e83b2f7

Browse files
committed
POM: add profiles to easily execute test drives
Now you can launch the Script Editor from the command line with: mvn -Pexec,editor And the Script Interpreter with: mvn -Pexec,interp
1 parent 5706af4 commit e83b2f7

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,23 @@ Genetics, and others.</license.copyrightOwners>
209209
<scope>test</scope>
210210
</dependency>
211211
</dependencies>
212+
213+
<profiles>
214+
<!-- Launch the Script Editor via Maven using: mvn -Pexec,editor -->
215+
<profile>
216+
<id>editor</id>
217+
<properties>
218+
<main-class>org.scijava.ui.swing.script.ScriptEditorTestDrive</main-class>
219+
<exec.classpathScope>test</exec.classpathScope>
220+
</properties>
221+
</profile>
222+
<!-- Launch the Script Interpreter via Maven using: mvn -Pexec,interp -->
223+
<profile>
224+
<id>interp</id>
225+
<properties>
226+
<main-class>org.scijava.ui.swing.script.ScriptInterpreterTestDrive</main-class>
227+
<exec.classpathScope>test</exec.classpathScope>
228+
</properties>
229+
</profile>
230+
</profiles>
212231
</project>

0 commit comments

Comments
 (0)