Commit 8e104a59 authored by Philippe Merle's avatar Philippe Merle

* Forced to use exec-maven-plugin 1.1.1.

* Factorized Java system properties used with exec-maven-plugin.
parent 91f510b6
......@@ -2,7 +2,7 @@
<!--
* OW2 FraSCAti Examples: Parent module
*
* Copyright (c) 2009-2010 INRIA, USTL
* Copyright (c) 2009-2010 INRIA, University of Lille 1
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -107,6 +107,36 @@
</dependency>
</dependencies>
</plugin>
<!-- Execute Java. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<!-- Use version 1.1.1 instead of 1.2 to be sure that provided artifacts are added to the classpath. -->
<version>1.1.1</version>
<configuration>
<!-- Define Java system properties for FraSCAti. -->
<systemProperties>
<systemProperty>
<key>org.ow2.frascati.class</key>
<value>${org.ow2.frascati.class}</value>
</systemProperty>
<systemProperty>
<key>org.ow2.frascati.bootstrap</key>
<value>${org.ow2.frascati.bootstrap}</value>
</systemProperty>
<systemProperty>
<key>org.ow2.frascati.composite</key>
<value>${org.ow2.frascati.composite}</value>
</systemProperty>
<systemProperty>
<key>fscript-factory</key>
<value>org.ow2.frascati.fscript.jsr223.FraSCAtiScriptEngineFactory</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
</plugins>
</pluginManagement>
......@@ -199,24 +229,6 @@
<arguments>
<argument>${composite.file}</argument>
</arguments>
<systemProperties>
<systemProperty>
<key>org.ow2.frascati.class</key>
<value>${org.ow2.frascati.class}</value>
</systemProperty>
<systemProperty>
<key>org.ow2.frascati.bootstrap</key>
<value>${org.ow2.frascati.bootstrap}</value>
</systemProperty>
<systemProperty>
<key>org.ow2.frascati.composite</key>
<value>${org.ow2.frascati.composite}</value>
</systemProperty>
<systemProperty>
<key>fscript-factory</key>
<value>org.ow2.frascati.fscript.jsr223.FraSCAtiScriptEngineFactory</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
</plugins>
......@@ -253,24 +265,6 @@
<arguments>
<argument>${composite.file}</argument>
</arguments>
<systemProperties>
<systemProperty>
<key>org.ow2.frascati.class</key>
<value>${org.ow2.frascati.class}</value>
</systemProperty>
<systemProperty>
<key>org.ow2.frascati.bootstrap</key>
<value>${org.ow2.frascati.bootstrap}</value>
</systemProperty>
<systemProperty>
<key>org.ow2.frascati.composite</key>
<value>${org.ow2.frascati.composite}</value>
</systemProperty>
<systemProperty>
<key>fscript-factory</key>
<value>org.ow2.frascati.fscript.jsr223.FraSCAtiScriptEngineFactory</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
</plugins>
......@@ -290,13 +284,7 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<mainClass>org.ow2.frascati.fscript.console.Main</mainClass>
<systemProperties>
<systemProperty>
<key>fscript-factory</key>
<value>org.ow2.frascati.fscript.jsr223.FraSCAtiScriptEngineFactory</value>
</systemProperty>
</systemProperties>
<mainClass>org.ow2.frascati.fscript.console.Main</mainClass>
</configuration>
</plugin>
</plugins>
......@@ -324,13 +312,7 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<mainClass>org.ow2.frascati.fscript.console.Main</mainClass>
<systemProperties>
<systemProperty>
<key>fscript-factory</key>
<value>org.ow2.frascati.fscript.jsr223.FraSCAtiScriptEngineFactory</value>
</systemProperty>
</systemProperties>
<mainClass>org.ow2.frascati.fscript.console.Main</mainClass>
</configuration>
</plugin>
</plugins>
......@@ -383,20 +365,6 @@
<arguments>
<argument>${composite.file}</argument>
</arguments>
<systemProperties>
<systemProperty>
<key>org.ow2.frascati.class</key>
<value>${org.ow2.frascati.class}</value>
</systemProperty>
<systemProperty>
<key>org.ow2.frascati.bootstrap</key>
<value>${org.ow2.frascati.bootstrap}</value>
</systemProperty>
<systemProperty>
<key>org.ow2.frascati.composite</key>
<value>${org.ow2.frascati.composite}</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
</plugins>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment