Commit 41ce1180 authored by Damien Fournier's avatar Damien Fournier
Browse files

* Move GenerateFactoryMojo to separate module named frascati-factory-plugin...

* Move GenerateFactoryMojo to separate module named frascati-factory-plugin (avoid dependencies with maven modules in distribution)
* Update pom.xml to use frascati-factory-plugin module instead of frascati-factory-tools
parent b19cd1ad
......@@ -49,7 +49,7 @@
<plugins>
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-tools</artifactId>
<artifactId>frascati-factory-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
......
......@@ -82,7 +82,7 @@
<!-- We have to generate stuff for the client composite because the AssemblyFactory is called from the client GUI. -->
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-tools</artifactId>
<artifactId>frascati-factory-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
......@@ -115,7 +115,7 @@
<plugins>
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-tools</artifactId>
<artifactId>frascati-factory-plugin</artifactId>
<executions>
<execution>
<id>runtime-factory</id>
......
......@@ -39,7 +39,7 @@
<plugins>
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-tools</artifactId>
<artifactId>frascati-factory-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
......
......@@ -39,7 +39,7 @@
<plugins>
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-tools</artifactId>
<artifactId>frascati-factory-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
......
......@@ -95,7 +95,7 @@
<!-- FraSCAti plugin take -->
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-tools</artifactId>
<artifactId>frascati-factory-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
......
......@@ -39,7 +39,7 @@
<plugins>
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-tools</artifactId>
<artifactId>frascati-factory-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
......
......@@ -39,7 +39,7 @@
<plugins>
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-tools</artifactId>
<artifactId>frascati-factory-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
......
......@@ -68,7 +68,7 @@
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-tools</artifactId>
<artifactId>frascati-factory-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
......
<?xml version="1.0"?>
<!--
* OW2 FraSCAti : Assembly Factory
*
* Copyright (c) 2007-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>
<parent>
<artifactId>parent</artifactId>
<groupId>org.ow2.frascati.factory</groupId>
<version>0.5-SNAPSHOT</version>
</parent>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-plugin</artifactId>
<name>FraSCAti Assembly Factory: Maven plugin Module</name>
<description>
Maven plugin module which allow to generate/compile SCA assembly for FraSCAti
</description>
<version>0.5-SNAPSHOT</version>
<url>http://frascati.ow2.org</url>
<packaging>maven-plugin</packaging>
<!-- ======= -->
<!-- Build -->
<!-- ======= -->
<!-- ============ -->
<!-- Dependencies -->
<!-- ============ -->
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-af-runtime</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Apache commons CLI required library to use FraSCAti factories. -->
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.1</version>
</dependency>
<!-- This module is a Maven plugin. -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.objectweb.fractal.juliac</groupId>
<artifactId>juliac-compiler</artifactId>
<version>${juliac.version}</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -334,6 +334,7 @@
<module>core-factory</module>
<module>generate-factory</module>
<module>runtime-factory</module>
<module>maven-plugin</module>
<module>tools</module>
<!-- <module>examples</module> -->
......
......@@ -33,7 +33,7 @@
<name>FraSCAti Assembly Factory: tools Module</name>
<version>0.5-SNAPSHOT</version>
<url>http://maven.apache.org</url>
<packaging>maven-plugin</packaging>
<packaging>jar</packaging>
<!-- ======= -->
<!-- Build -->
......@@ -43,12 +43,6 @@
<!-- Dependencies -->
<!-- ============ -->
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-af-runtime</artifactId>
......@@ -61,24 +55,6 @@
<artifactId>commons-cli</artifactId>
<version>1.1</version>
</dependency>
<!-- This module is a Maven plugin. -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.objectweb.fractal.juliac</groupId>
<artifactId>juliac-compiler</artifactId>
<version>${juliac.version}</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -44,7 +44,7 @@
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-tools</artifactId>
<artifactId>frascati-factory-plugin</artifactId>
<version>0.5-SNAPSHOT</version>
<executions>
<execution>
......
......@@ -90,7 +90,7 @@
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-tools</artifactId>
<artifactId>frascati-factory-plugin</artifactId>
<version>0.5-SNAPSHOT</version>
<executions>
<execution>
......
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