Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
frascati
frascati
Commits
8e104a59
Commit
8e104a59
authored
Aug 17, 2010
by
Philippe Merle
Browse files
* Forced to use exec-maven-plugin 1.1.1.
* Factorized Java system properties used with exec-maven-plugin.
parent
91f510b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/pom.xml
View file @
8e104a59
...
...
@@ -2,7 +2,7 @@
<!--
* OW2 FraSCAti Examples: Parent module
*
* Copyright (c) 2009-2010 INRIA, U
STL
* Copyright (c) 2009-2010 INRIA, U
niversity 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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment