Mail Archive Home | fractal-commits List | March 2007 Index
| <-- Date Index --> | <-- Thread Index --> |
execution properties have been mapped within the exec-maven-plugin configuration;
--- branches/mavenization/fractaljmx/examples/comanche/pom.xml 2007-03-30 14:05:05 UTC (rev 2062)
+++ branches/mavenization/fractaljmx/examples/comanche/pom.xml 2007-03-30 14:19:45 UTC (rev 2063)
@@ -24,14 +24,13 @@
<parent>
<groupId>org.objectweb.fractal.fractaljmx.examples</groupId>
<artifactId>parent</artifactId>
- <version>2.1.7-SNAPSHOT</version>
+ <version>>0.2.4-SNAPSHOT</version>
</parent>
- <groupId>org.objectweb.fractal.fractaljmx.examples</groupId>
<artifactId>comanche</artifactId>
<name>Fractal JMX Comanche example</name>
- <description>TComanche is the minimal HTTP server described in the Fractal tutorial. </description>
+ <description>Comanche is the minimal HTTP server described in the Fractal tutorial. </description>
<scm>
<connection>
@@ -45,27 +44,62 @@
</url>
</scm>
+<profiles>
+ <profile>
+ <id>run</id>
+ <build>
+ <defaultGoal>compile</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <phase>compile</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <mainClass>org.objectweb.fractal.adl.Launcher</mainClass>
+ <systemProperties>
+ <systemProperty>
+ <key>fractal.provider</key>
+ <value>
+ org.objectweb.fractal.julia.Julia
+ </value>
+ </systemProperty>
+ <systemProperty>
+ <key>com.sun.management.jmxremote.authenticate</key>
+ <value>false</value>
+ </systemProperty>
+ <systemProperty>
+ <key>com.sun.management.jmxremote.ssl</key>
+ <value>
+ false
+ </value>
+ </systemProperty>
+ <systemProperty>
+ <key>com.sun.management.jmxremote.port</key>
+ <value>
+ 1234
+ </value>
+ </systemProperty>
+
+ </systemProperties>
+ <arguments>
+ <argument>-fractal</argument>
+ <argument>comanche.JmxComanche2</argument>
+ <argument>r</argument>
+ </arguments>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
- <build>
- <plugins>
- <plugin>
- <groupId>org.objectweb.fractal.fractaladl</groupId>
- <artifactId>maven-fractaladl-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- <configuration>
- <definition>comanche.Comanche</definition>
- <runnableItf>r</runnableItf>
- <factory>
- org.objectweb.fractal.adl.BasicFactory
- </factory>
- <backend>
- org.objectweb.fractal.adl.FractalBackend
- </backend>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<dependencies>
<dependency>
@@ -73,7 +107,12 @@
<artifactId>fractal-api</artifactId>
<version>2.0.2-SNAPSHOT</version>
</dependency>
-
+ <dependency>
+ <groupId>org.objectweb.fractal.fractaljmx</groupId>
+ <artifactId>fractal-jmx</artifactId>
+ <version>2.0.2-SNAPSHOT</version>
+ </dependency>
+
</dependencies>
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.