Commit 01f7b9db authored by Christophe Demarey's avatar Christophe Demarey
Browse files

Move explorer module to explorer/core and add a module for a fraSCAtiScript plugin.

parent 2b0fee8a
<?xml version="1.0"?>
<!--
* OW2 FraSCAti Explorer
* Copyright (c) 2008-2009 INRIA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-explorer-core</artifactId>
<packaging>jar</packaging>
<name>FraSCAti Explorer Core Module</name>
<version>1.1-SNAPSHOT</version>
<inceptionYear>2008</inceptionYear>
<parent>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-explorer</artifactId>
<version>1.1-SNAPSHOT</version>
</parent>
<!-- ============= -->
<!-- Dependencies -->
<!-- ============= -->
<dependencies>
<!-- <dependency>-->
<!-- <groupId>org.ow2.frascati.examples</groupId>-->
<!-- <artifactId>helloworld-rmi-server</artifactId>-->
<!-- <version>${project.version}</version>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.ow2.frascati.examples</groupId>-->
<!-- <artifactId>helloworld-rmi-client</artifactId>-->
<!-- <version>${project.version}</version>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
<!-- Fractal Explorer -->
<dependency>
<groupId>org.objectweb.fractal.fractalexplorer</groupId>
<artifactId>fractal-explorer</artifactId>
</dependency>
<!-- Force the xerces version to the latest (API incompatibility) -->
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</dependency>
<dependency>
<groupId>org.beanshell</groupId>
<artifactId>bsh</artifactId>
</dependency>
<!-- Fraclet annotations -->
<dependency>
<groupId>org.objectweb.fractal.fraclet.java</groupId>
<artifactId>fraclet-annotations</artifactId>
</dependency>
<!-- FraSCAti -->
<dependency>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-af-runtime</artifactId>
</dependency>
<!-- Truezip -->
<dependency>
<groupId>de.schlichtherle.io</groupId>
<artifactId>truezip</artifactId>
</dependency>
</dependencies>
<!-- ====== -->
<!-- Build -->
<!-- ====== -->
<build>
<plugins>
<!-- Compile with java 1.5 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<!-- Process Fraclet annotations with Spoon. -->
<plugin>
<groupId>net.sf.alchim</groupId>
<artifactId>spoon-maven-plugin</artifactId>
<version>0.7.1</version>
<dependencies>
<dependency>
<groupId>fr.inria.gforge.spoon</groupId>
<artifactId>spoon-core</artifactId>
<version>1.4.2</version>
</dependency>
<dependency>
<groupId>org.objectweb.fractal.fraclet.java</groupId>
<artifactId>fractal-spoonlet</artifactId>
<version>${fraclet.version}</version>
</dependency>
<dependency>
<groupId>org.objectweb.fractal.fraclet.java</groupId>
<artifactId>fractaladl-spoonlet</artifactId>
<version>${fraclet.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>recompile</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- ==========-->
<!-- Reporting -->
<!-- ========= -->
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<id>create-html-docs</id>
<goals>
<goal>generate-html</goal>
</goals>
<phase>pre-site</phase>
<configuration>
<!-- This copies content (images, etc) for the HTML version -->
<preProcess>
<copy todir="target/docbkx/html/images">
<fileset dir="src/docbkx/images"/>
</copy>
<copy todir="target/docbkx/html/css"
file="${project.basedir}/../../ow2-style.css"/>
</preProcess>
<!-- Any parameters specific to HTML version go here -->
<htmlStylesheet>css/ow2-style.css</htmlStylesheet>
<imgSrcPath>./</imgSrcPath>
</configuration>
</execution>
<execution>
<id>create-pdf-docs</id>
<goals>
<goal>generate-pdf</goal>
</goals>
<phase>pre-site</phase>
<configuration>
<!--- Any parameters specific to the PDF version go here -->
<imgSrcPath>file:///${basedir}/src/docbkx/</imgSrcPath>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>4.4</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<configuration>
<!-- Any parameters common to both HTML and PDF go here -->
<xincludeSupported>true</xincludeSupported>
</configuration>
</plugin>
</plugins>
</build>
<!-- ========= -->
<!-- Profiles -->
<!-- ========= -->
<!-- To execute FraSCAti Explorer type 'mvn -Pexplorer'. -->
<profiles>
<profile>
<id>explorer</id>
<build>
<defaultGoal>exec:exec</defaultGoal>
<plugins>
<!-- Run the Explorer -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<executable>java</executable>
<arguments>
<argument>-Dfractal.provider=org.objectweb.fractal.julia.Julia</argument>
<argument>-Djava.security.manager=default</argument>
<argument>-Djava.security.policy=rmi.policy</argument>
<argument>-cp</argument>
<classpath/>
<argument>org.objectweb.fractal.adl.Launcher</argument>
<argument>-fractal</argument>
<argument>org.ow2.frascati.explorer.FrascatiExplorer(FraSCAti Explorer)</argument>
<argument>r</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>run</id>
<build>
<defaultGoal>exec:exec</defaultGoal>
<plugins>
<!-- Run a FraSCAti Domain with predefined composites -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<executable>java</executable>
<arguments>
<argument>-Dfractal.provider=org.objectweb.fractal.julia.Julia</argument>
<argument>-cp</argument>
<classpath/>
<argument>org.ow2.frascati.explorer.FrascatiExplorerLauncher</argument>
<!-- Load composites in the domain by default with following args: -->
<!-- <argument>composite-name</argument> -->
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>archi</id>
<!-- To See FraSCAti Explorer architecture in Fractal Explorer -->
<build>
<defaultGoal>exec:exec</defaultGoal>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<executable>java</executable>
<arguments>
<argument>-Dfractal.provider=org.objectweb.fractal.julia.Julia</argument>
<argument>-cp</argument>
<classpath/>
<argument>org.objectweb.fractal.adl.Launcher</argument>
<argument>-fractal</argument>
<argument>org.ow2.frascati.explorer.FrascatiExplorerFractalView</argument>
<argument>r</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
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