r1150 - in trunk: . eugene/src/site/fr/rst eugene-maven-plugin eugene-maven-plugin/src/it/evol-308 eugene-maven-plugin/src/it/evol-879/model eugene-maven-plugin/src/it/evol-879/model/model-impl eugene-maven-plugin/src/it/evol-879/model/model-impl/src/test/java/org/nuiton/eugne/plugin eugene-maven-plugin/src/it/evol-879/xmi eugene-maven-plugin/src/it/evol-879/xmi/xmi-impl eugene-maven-plugin/src/it/evol-879/xmi/xmi-impl/src/test/java/org/nuiton/eugne/plugin eugene-maven-plugin/src/it/evol-87
Author: tchemit Date: 2012-05-28 12:13:34 +0200 (Mon, 28 May 2012) New Revision: 1150 Url: http://nuiton.org/repositories/revision/eugene/1150 Log: fixes #2111: Rename m-eugene-p to eugene-m-p + fixes some documentations Added: trunk/eugene-maven-plugin/src/site/fr/rst/example.rst.vm trunk/eugene-maven-plugin/src/site/rst/example.rst.vm trunk/src/site/fr/rst/05-execution.rst.vm trunk/src/site/rst/05-execution.rst.vm Removed: trunk/eugene-maven-plugin/src/site/fr/rst/example.rst trunk/eugene-maven-plugin/src/site/rst/example.rst trunk/src/site/fr/rst/05-execution.rst trunk/src/site/rst/05-execution.rst Modified: trunk/eugene-maven-plugin/pom.xml trunk/eugene-maven-plugin/src/it/evol-308/pom.xml trunk/eugene-maven-plugin/src/it/evol-879/model/README.txt trunk/eugene-maven-plugin/src/it/evol-879/model/model-impl/pom.xml trunk/eugene-maven-plugin/src/it/evol-879/model/model-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java trunk/eugene-maven-plugin/src/it/evol-879/xmi/README.txt trunk/eugene-maven-plugin/src/it/evol-879/xmi/xmi-impl/pom.xml trunk/eugene-maven-plugin/src/it/evol-879/xmi/xmi-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java trunk/eugene-maven-plugin/src/it/evol-879/zargo/README.txt trunk/eugene-maven-plugin/src/it/evol-879/zargo/zargo-impl/pom.xml trunk/eugene-maven-plugin/src/it/evol-879/zargo/zargo-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java trunk/eugene-maven-plugin/src/it/generate-model-files/testIncludeWithNoProtocol/pom.xml trunk/eugene-maven-plugin/src/it/generate-model-files/testIncludeWithOnlyProtocol/pom.xml trunk/eugene-maven-plugin/src/it/smart-generate/all/pom.xml trunk/eugene-maven-plugin/src/it/smart-generate/generators/pom.xml trunk/eugene-maven-plugin/src/it/smart-generate/only-zargo-xmi/pom.xml trunk/eugene-maven-plugin/src/it/smart-generate/only-zargo/pom.xml trunk/eugene-maven-plugin/src/site/fr/rst/index.rst trunk/eugene-maven-plugin/src/site/rst/index.rst trunk/eugene/src/site/fr/rst/index.rst trunk/pom.xml trunk/src/site/fr/rst/03-generation.rst trunk/src/site/fr/rst/08-FAQ.rst trunk/src/site/fr/rst/eugene-plan.rst trunk/src/site/fr/rst/index.rst trunk/src/site/rst/03-generation.rst trunk/src/site/rst/08-FAQ.rst trunk/src/site/rst/index.rst trunk/src/site/site_en.xml trunk/src/site/site_fr.xml Modified: trunk/eugene/src/site/fr/rst/index.rst =================================================================== --- trunk/eugene/src/site/fr/rst/index.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene/src/site/fr/rst/index.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -86,5 +86,5 @@ ------------ Un plugin maven est disponnible à l'adresse suivante -http://maven-site.nuiton.org/eugene/maven-eugene-plugin . Il permet l'utilisation +http://maven-site.nuiton.org/eugene/eugene-maven-plugin . Il permet l'utilisation depuis maven de Eugene. Modified: trunk/eugene-maven-plugin/pom.xml =================================================================== --- trunk/eugene-maven-plugin/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -37,7 +37,7 @@ </parent> <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> + <artifactId>eugene-maven-plugin</artifactId> <!-- POM Relationships : Inheritance : Dependencies --> <dependencies> @@ -192,13 +192,18 @@ <!--Site report's plugin--> <plugin> <artifactId>maven-plugin-plugin</artifactId> - <version>2.5.1</version> + <version>${pluginPluginVersion}</version> </plugin> <plugin> + <artifactId>maven-invoker-plugin</artifactId> + <version>${invokerPluginVersion}</version> + </plugin> + + <plugin> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-maven-plugin</artifactId> - <version>1.3.8</version> + <version>${plexusPluginVersion}</version> </plugin> </plugins> </reporting> Modified: trunk/eugene-maven-plugin/src/it/evol-308/pom.xml =================================================================== --- trunk/eugene-maven-plugin/src/it/evol-308/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/evol-308/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -64,7 +64,7 @@ <plugin> <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> + <artifactId>eugene-maven-plugin</artifactId> <version>${eugeneVersion}</version> <configuration> <fullPackagePath>org.nuiton.euegne.test</fullPackagePath> Modified: trunk/eugene-maven-plugin/src/it/evol-879/model/README.txt =================================================================== --- trunk/eugene-maven-plugin/src/it/evol-879/model/README.txt 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/evol-879/model/README.txt 2012-05-28 10:13:34 UTC (rev 1150) @@ -2,7 +2,7 @@ Le résultat désiré est : -maven-eugene-plugin/target/its/evol-879/model/model-impl/target/ +eugene-maven-plugin/target/its/evol-879/model/model-impl/target/ |-- extracted-sources1 | `-- model | `-- models Modified: trunk/eugene-maven-plugin/src/it/evol-879/model/model-impl/pom.xml =================================================================== --- trunk/eugene-maven-plugin/src/it/evol-879/model/model-impl/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/evol-879/model/model-impl/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -74,7 +74,7 @@ <plugin> <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> + <artifactId>eugene-maven-plugin</artifactId> <version>${eugeneVersion}</version> <configuration> <fullPackagePath>org.nuiton.topia</fullPackagePath> Modified: trunk/eugene-maven-plugin/src/it/evol-879/model/model-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java =================================================================== --- trunk/eugene-maven-plugin/src/it/evol-879/model/model-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/evol-879/model/model-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java 2012-05-28 10:13:34 UTC (rev 1150) @@ -77,7 +77,7 @@ // <extractDirectory>target/extracted-sources1</extractDirectory> // </configuration> - // maven-eugene-plugin/target/its/evol-879/model/model-impl/target/ + // eugene-maven-plugin/target/its/evol-879/model/model-impl/target/ // |-- extracted-sources1 // | `-- model // | `-- models @@ -109,7 +109,7 @@ // <extractDirectory>target/extracted-sources2</extractDirectory> // </configuration> - // maven-eugene-plugin/target/its/evol-879/model/model-impl/target/ + // eugene-maven-plugin/target/its/evol-879/model/model-impl/target/ // |-- extracted-sources2 // | `-- model // | `-- models2 @@ -140,7 +140,7 @@ // <extractDirectory>target/extracted-sources3</extractDirectory> // </configuration> - // maven-eugene-plugin/target/its/evol-879/model/model-impl/target/ + // eugene-maven-plugin/target/its/evol-879/model/model-impl/target/ // |-- extracted-sources3 // | `-- model // | `-- topiatest3.objectmodel @@ -167,7 +167,7 @@ // <outputDirectory>target/generated-sources4</outputDirectory> // <extractDirectory>target/extracted-sources4</extractDirectory> // </configuration> -// maven-eugene-plugin/target/its/evol-879/model/model-impl/target/ +// eugene-maven-plugin/target/its/evol-879/model/model-impl/target/ // |-- extracted-sources4 // `-- generated-sources4 // `-- java Modified: trunk/eugene-maven-plugin/src/it/evol-879/xmi/README.txt =================================================================== --- trunk/eugene-maven-plugin/src/it/evol-879/xmi/README.txt 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/evol-879/xmi/README.txt 2012-05-28 10:13:34 UTC (rev 1150) @@ -2,7 +2,7 @@ Le result désiré est : -maven-eugene-plugin/target/its/evol-879/xmi/xmi-impl/target/ +eugene-maven-plugin/target/its/evol-879/xmi/xmi-impl/target/ |-- extracted-sources1 | `-- xmi | `-- xmi Modified: trunk/eugene-maven-plugin/src/it/evol-879/xmi/xmi-impl/pom.xml =================================================================== --- trunk/eugene-maven-plugin/src/it/evol-879/xmi/xmi-impl/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/evol-879/xmi/xmi-impl/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -59,7 +59,7 @@ <plugin> <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> + <artifactId>eugene-maven-plugin</artifactId> <version>${eugeneVersion}</version> <configuration> <fullPackagePath>org.nuiton.topia.test.entities</fullPackagePath> Modified: trunk/eugene-maven-plugin/src/it/evol-879/xmi/xmi-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java =================================================================== --- trunk/eugene-maven-plugin/src/it/evol-879/xmi/xmi-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/evol-879/xmi/xmi-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java 2012-05-28 10:13:34 UTC (rev 1150) @@ -76,7 +76,7 @@ // <extractDirectory>target/extracted-sources1</extractDirectory> // </configuration> -// maven-eugene-plugin/target/its/evol-879/xmi/xmi-impl/target/ +// eugene-maven-plugin/target/its/evol-879/xmi/xmi-impl/target/ // |-- extracted-sources1 // | `-- xmi // | `-- xmi @@ -108,7 +108,7 @@ // <extractDirectory>target/extracted-sources2</extractDirectory> // </configuration> -// maven-eugene-plugin/target/its/evol-879/xmi/xmi-impl/target/ +// eugene-maven-plugin/target/its/evol-879/xmi/xmi-impl/target/ // |-- extracted-sources2 // | `-- xmi // | `-- xmi @@ -141,7 +141,7 @@ // <extractDirectory>target/extracted-sources3</extractDirectory> // </configuration> -// maven-eugene-plugin/target/its/evol-879/xmi/xmi-impl/target/ +// eugene-maven-plugin/target/its/evol-879/xmi/xmi-impl/target/ // |-- extracted-sources3 // | `-- xmi // | `-- xmi2 @@ -172,7 +172,7 @@ // <extractDirectory>target/extracted-sources4</extractDirectory> // </configuration> -// maven-eugene-plugin/target/its/evol-879/xmi/xmi-impl/target/ +// eugene-maven-plugin/target/its/evol-879/xmi/xmi-impl/target/ // |-- extracted-sources4 // | `-- xmi // | `-- xmi2 @@ -202,7 +202,7 @@ // <extractDirectory>target/extracted-sources5</extractDirectory> // </configuration> - // maven-eugene-plugin/target/its/evol-879/xmi/xmi-impl/target/ + // eugene-maven-plugin/target/its/evol-879/xmi/xmi-impl/target/ // |-- extracted-sources5 // | `-- xmi // | `-- topiatest3.xmi @@ -230,7 +230,7 @@ // <extractDirectory>target/extracted-sources6</extractDirectory> // </configuration> - // maven-eugene-plugin/target/its/evol-879/xmi/xmi-impl/target/ + // eugene-maven-plugin/target/its/evol-879/xmi/xmi-impl/target/ // |-- extracted-sources6 // | `-- xmi // | `-- topiatest3.xmi @@ -257,7 +257,7 @@ // <extractDirectory>target/extracted-sources7</extractDirectory> // </configuration> - // maven-eugene-plugin/target/its/evol-879/xmi/xmi-impl/target/ + // eugene-maven-plugin/target/its/evol-879/xmi/xmi-impl/target/ // `-- generated-sources7 // `-- models // |-- topiatest4.objectmodel @@ -279,7 +279,7 @@ // <extractDirectory>target/extracted-sources8</extractDirectory> // </configuration> -// maven-eugene-plugin/target/its/evol-879/xmi/xmi-impl/target/ +// eugene-maven-plugin/target/its/evol-879/xmi/xmi-impl/target/ // |-- extracted-sources8 // | `-- xmi // | |-- topiatest3.xmi @@ -322,7 +322,7 @@ // <extractDirectory>target/extracted-sources9</extractDirectory> // </configuration> -// maven-eugene-plugin/target/its/evol-879/xmi/xmi-impl/target/ +// eugene-maven-plugin/target/its/evol-879/xmi/xmi-impl/target/ // |-- extracted-sources9 // | `-- zargo // | |-- topiatest3.zargo Modified: trunk/eugene-maven-plugin/src/it/evol-879/zargo/README.txt =================================================================== --- trunk/eugene-maven-plugin/src/it/evol-879/zargo/README.txt 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/evol-879/zargo/README.txt 2012-05-28 10:13:34 UTC (rev 1150) @@ -2,7 +2,7 @@ Le result doit être -maven-eugene-plugin/target/its/evol-879/zargo/zargo-impl/target/ +eugene-maven-plugin/target/its/evol-879/zargo/zargo-impl/target/ |-- extracted-sources | `-- zargo | `-- xmi Modified: trunk/eugene-maven-plugin/src/it/evol-879/zargo/zargo-impl/pom.xml =================================================================== --- trunk/eugene-maven-plugin/src/it/evol-879/zargo/zargo-impl/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/evol-879/zargo/zargo-impl/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -59,7 +59,7 @@ <plugin> <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> + <artifactId>eugene-maven-plugin</artifactId> <version>${eugeneVersion}</version> <configuration> <fullPackagePath>org.nuiton.topia.test.entities</fullPackagePath> Modified: trunk/eugene-maven-plugin/src/it/evol-879/zargo/zargo-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java =================================================================== --- trunk/eugene-maven-plugin/src/it/evol-879/zargo/zargo-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/evol-879/zargo/zargo-impl/src/test/java/org/nuiton/eugne/plugin/GenerationTest.java 2012-05-28 10:13:34 UTC (rev 1150) @@ -76,7 +76,7 @@ // <extractDirectory>target/extracted-sources1</extractDirectory> // </configuration> -// maven-eugene-plugin/target/its/evol-879/zargo/zargo-impl/target/ +// eugene-maven-plugin/target/its/evol-879/zargo/zargo-impl/target/ // |-- extracted-sources1 // | `-- zargo // | `-- xmi @@ -114,7 +114,7 @@ // <extractDirectory>target/extracted-sources</extractDirectory> // </configuration> -// maven-eugene-plugin/target/its/evol-879/zargo/zargo-impl/target/ +// eugene-maven-plugin/target/its/evol-879/zargo/zargo-impl/target/ // |-- extracted-sources2 // | `-- zargo // | `-- xmi @@ -152,7 +152,7 @@ // </configuration> -// maven-eugene-plugin/target/its/evol-879/zargo/zargo-impl/target/ +// eugene-maven-plugin/target/its/evol-879/zargo/zargo-impl/target/ // |-- extracted-sources3 // | `-- zargo // | `-- xmi2 @@ -188,7 +188,7 @@ // </configuration> -// maven-eugene-plugin/target/its/evol-879/zargo/zargo-impl/target/ +// eugene-maven-plugin/target/its/evol-879/zargo/zargo-impl/target/ // |-- extracted-sources4 // | `-- zargo // | `-- xmi2 @@ -223,7 +223,7 @@ // </configuration> -// maven-eugene-plugin/target/its/evol-879/zargo/zargo-impl/target/ +// eugene-maven-plugin/target/its/evol-879/zargo/zargo-impl/target/ // |-- extracted-sources5 // | `-- zargo // | `-- topiatest3.zargo @@ -254,7 +254,7 @@ // </configuration> -// maven-eugene-plugin/target/its/evol-879/zargo/zargo-impl/target/ +// eugene-maven-plugin/target/its/evol-879/zargo/zargo-impl/target/ // |-- extracted-sources6 // | `-- zargo // | `-- topiatest3.zargo @@ -286,7 +286,7 @@ // </configuration> -// maven-eugene-plugin/target/its/evol-879/zargo/zargo-impl/target/ +// eugene-maven-plugin/target/its/evol-879/zargo/zargo-impl/target/ // `-- generated-sources7 // |-- models // | |-- topiatest4.objectmodel @@ -314,7 +314,7 @@ // </configuration> -// maven-eugene-plugin/target/its/evol-879/zargo/zargo-impl/target/ +// eugene-maven-plugin/target/its/evol-879/zargo/zargo-impl/target/ // |-- extracted-sources8 // | `-- zargo // | |-- topiatest3.zargo @@ -370,7 +370,7 @@ // </configuration> -// maven-eugene-plugin/target/its/evol-879/zargo/zargo-impl/target/ +// eugene-maven-plugin/target/its/evol-879/zargo/zargo-impl/target/ // |-- extracted-sources9 // | `-- zargo // | |-- topiatest3.zargo Modified: trunk/eugene-maven-plugin/src/it/generate-model-files/testIncludeWithNoProtocol/pom.xml =================================================================== --- trunk/eugene-maven-plugin/src/it/generate-model-files/testIncludeWithNoProtocol/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/generate-model-files/testIncludeWithNoProtocol/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -82,7 +82,7 @@ <plugin> <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> + <artifactId>eugene-maven-plugin</artifactId> <version>${eugeneVersion}</version> <executions> <execution> Modified: trunk/eugene-maven-plugin/src/it/generate-model-files/testIncludeWithOnlyProtocol/pom.xml =================================================================== --- trunk/eugene-maven-plugin/src/it/generate-model-files/testIncludeWithOnlyProtocol/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/generate-model-files/testIncludeWithOnlyProtocol/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -82,7 +82,7 @@ <plugin> <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> + <artifactId>eugene-maven-plugin</artifactId> <version>${eugeneVersion}</version> <executions> <execution> Modified: trunk/eugene-maven-plugin/src/it/smart-generate/all/pom.xml =================================================================== --- trunk/eugene-maven-plugin/src/it/smart-generate/all/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/smart-generate/all/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -78,7 +78,7 @@ <plugin> <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> + <artifactId>eugene-maven-plugin</artifactId> <version>${project.version}</version> <configuration> <verbose>true</verbose> Modified: trunk/eugene-maven-plugin/src/it/smart-generate/generators/pom.xml =================================================================== --- trunk/eugene-maven-plugin/src/it/smart-generate/generators/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/smart-generate/generators/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -110,7 +110,7 @@ <plugin> <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> + <artifactId>eugene-maven-plugin</artifactId> <version>${project.version}</version> <configuration> <testPhase>true</testPhase> Modified: trunk/eugene-maven-plugin/src/it/smart-generate/only-zargo/pom.xml =================================================================== --- trunk/eugene-maven-plugin/src/it/smart-generate/only-zargo/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/smart-generate/only-zargo/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -83,7 +83,7 @@ <plugin> <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> + <artifactId>eugene-maven-plugin</artifactId> <version>${eugeneVersion}</version> <configuration> <skipInputs>xmi,model</skipInputs> Modified: trunk/eugene-maven-plugin/src/it/smart-generate/only-zargo-xmi/pom.xml =================================================================== --- trunk/eugene-maven-plugin/src/it/smart-generate/only-zargo-xmi/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/it/smart-generate/only-zargo-xmi/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -82,7 +82,7 @@ <plugin> <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> + <artifactId>eugene-maven-plugin</artifactId> <version>${eugeneVersion}</version> <configuration> <skipInputs>model</skipInputs> Deleted: trunk/eugene-maven-plugin/src/site/fr/rst/example.rst =================================================================== --- trunk/eugene-maven-plugin/src/site/fr/rst/example.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/site/fr/rst/example.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -1,167 +0,0 @@ -.. - -.. * #%L -.. * EUGene :: Maven plugin -.. * -.. * $Id$ -.. * $HeadURL$ -.. * %% -.. * Copyright (C) 2006 - 2010 CodeLutin -.. * %% -.. * This program 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 3 of the -.. * License, or (at your option) any later version. -.. * -.. * This program 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 General Lesser Public License for more details. -.. * -.. * You should have received a copy of the GNU General Lesser Public -.. * License along with this program. If not, see -.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. -.. * #L% -.. - -Examples -======== - - -:Authors: Jean Couteau -:Contact: couteau@codelutin.com -:Revision: $Revision$ -:Date: $Date$ - - -.. contents:: - -Cette page regroupe deux examples de configuration/utilisation du plugin -dans un pom. Le premier example est très simple, le second est plus complexe -et est censé ammener une complète compréhension du plugin combiné à la -documentation des usages_ . - -.. _usages: usage.html - -Example simple --------------- - -Cet exemple va générer les entitées du package org.nuiton.eugene.demopackage à -partir des fichiers zargo présents dans le répertoire src/main/xmi. - -:: - - <plugin> - <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> - - <executions> - - <execution> - <phase>generate-sources</phase> - <!-- By default, generation from ObjectModel --> - <configuration> - <!-- Corresponding to extracted package from zargo file --> - <fullPackagePath>org.nuiton.eugene.demopackage</fullPackagePath> - <!-- DefaultPackage used for DAOHelper generation --> - <defaultPackage>org.nuiton.eugene.demopackage</defaultPackage> - <!-- Use topia templates --> - <templates> - org.nuiton.topia.generator.TopiaMetaTransformer, - org.nuiton.topia.generator.InterfaceTransformer, - org.nuiton.topia.generator.BeanTransformer - </templates> - </configuration> - <goals> - <goal>smart-generate</goal> - </goals> - </execution> - </executions> - <-- dependency to topia to use their template --> - <dependencies> - <dependency> - <groupId>org.nuiton.topia</groupId> - <artifactId>topia-persistence</artifactId> - </dependency> - </dependencies> - </plugin> - -Example complexe ----------------- - -Cet exemple utilise deux fichiers zargo en entrée et va les générer différemment. - -Les deux premières phases sont communes, ensuite on distingues deux executions, -une par fichier spécifiant les différents templates à utiliser pour chaque -fichier model. - -:: - - <plugin> - <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> - <configuration> - <defaultPackage>org.nuiton.eugene.demopackage</defaultPackage> - <fullPackagePath>org.nuiton.eugene.demopackage</fullPackagePath> - </configuration> - - <executions> - - <!-- Execution that transforms zargo files to objectmodel by using - the full run without the model phase --> - <execution> - <phase>generate-sources</phase> - <id>toModel</id> - <configuration> - <inputs>zargo</inputs> - <resolver>org.nuiton.util.FasterCachedResourceResolver</resolver> - <skipInputs>model</skipInputs> - </configuration> - <goals> - <goal>smart-generate</goal> - </goals> - </execution> - - <-- Execution that transforms the entities.objectmodel file using - specific templates from topia --> - <execution> - <phase>generate-sources</phase> - <id>model-to-entities</id> - <configuration> - <inputs>model:target/generated-sources/models:entities.objectmodel</inputs> - <templates> - org.nuiton.topia.generator.TopiaMetaTransformer, - org.nuiton.topia.generator.InterfaceTransformer - </templates> - </configuration> - <goals> - <goal>smart-generate</goal> - </goals> - </execution> - - <-- Execution that transforms the beans.objectmodel file using - other specific templates from topia --> - <execution> - <phase>generate-sources</phase> - <id>model-to-bean</id> - <configuration> - <inputs> - <input>model:target/generated-sources/models:beans.objectmodel</input> - </inputs> - <templates>org.nuiton.topia.generator.BeanTransformer</templates> - </configuration> - <goals> - <goal>smart-generate</goal> - </goals> - </execution> - - </executions> - - <!-- dependency to use topia templates --> - <dependencies> - <dependency> - <groupId>org.nuiton.topia</groupId> - <artifactId>topia-persistence</artifactId> - <version>${topiaVersion}</version> - <scope>compile</scope> - </dependency> - </dependencies> - </plugin> Copied: trunk/eugene-maven-plugin/src/site/fr/rst/example.rst.vm (from rev 1149, trunk/eugene-maven-plugin/src/site/fr/rst/example.rst) =================================================================== --- trunk/eugene-maven-plugin/src/site/fr/rst/example.rst.vm (rev 0) +++ trunk/eugene-maven-plugin/src/site/fr/rst/example.rst.vm 2012-05-28 10:13:34 UTC (rev 1150) @@ -0,0 +1,168 @@ +.. - +.. * #%L +.. * EUGene :: Maven plugin +.. * +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2006 - 2010 CodeLutin +.. * %% +.. * This program 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 3 of the +.. * License, or (at your option) any later version. +.. * +.. * This program 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 General Lesser Public License for more details. +.. * +.. * You should have received a copy of the GNU General Lesser Public +.. * License along with this program. If not, see +.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. +.. * #L% +.. - +Examples +======== + + +:Authors: Jean Couteau +:Contact: couteau@codelutin.com +:Revision: $Revision$ +:Date: $Date$ + + +.. contents:: + +Cette page regroupe deux examples de configuration/utilisation du plugin +dans un pom. Le premier example est très simple, le second est plus complexe +et est censé ammener une complète compréhension du plugin combiné à la +documentation des usages_ . + +.. _usages: usage.html + +Example simple +-------------- + +Cet exemple va générer les entitées du package org.nuiton.eugene.demopackage à +partir des fichiers zargo présents dans le répertoire src/main/xmi. + +:: + + <plugin> + <groupId>org.nuiton.eugene</groupId> + <artifactId>eugene-maven-plugin</artifactId> + + <executions> + + <execution> + <phase>generate-sources</phase> + <!-- By default, generation from ObjectModel --> + <configuration> + <!-- Corresponding to extracted package from zargo file --> + <fullPackagePath>org.nuiton.eugene.demopackage</fullPackagePath> + <!-- DefaultPackage used for DAOHelper generation --> + <defaultPackage>org.nuiton.eugene.demopackage</defaultPackage> + <!-- Use topia templates --> + <templates> + org.nuiton.topia.generator.TopiaMetaTransformer, + org.nuiton.topia.generator.InterfaceTransformer, + org.nuiton.topia.generator.BeanTransformer + </templates> + </configuration> + <goals> + <goal>smart-generate</goal> + </goals> + </execution> + </executions> + <-- dependency to topia to use their template --> + <dependencies> + <dependency> + <groupId>org.nuiton.topia</groupId> + <artifactId>topia-persistence</artifactId> + </dependency> + </dependencies> + </plugin> + +Example complexe +---------------- + +Cet exemple utilise deux fichiers zargo en entrée et va les générer différemment. + +Les deux premières phases sont communes, ensuite on distingues deux executions, +une par fichier spécifiant les différents templates à utiliser pour chaque +fichier model. + +:: + + <plugin> + <groupId>org.nuiton.eugene</groupId> + <artifactId>eugene-maven-plugin</artifactId> + <version>${project.version}</version> + <configuration> + <defaultPackage>org.nuiton.eugene.demopackage</defaultPackage> + <fullPackagePath>org.nuiton.eugene.demopackage</fullPackagePath> + </configuration> + + <executions> + + <!-- Execution that transforms zargo files to objectmodel by using + the full run without the model phase --> + <execution> + <phase>generate-sources</phase> + <id>toModel</id> + <configuration> + <inputs>zargo</inputs> + <resolver>org.nuiton.util.FasterCachedResourceResolver</resolver> + <skipInputs>model</skipInputs> + </configuration> + <goals> + <goal>smart-generate</goal> + </goals> + </execution> + + <-- Execution that transforms the entities.objectmodel file using + specific templates from topia --> + <execution> + <phase>generate-sources</phase> + <id>model-to-entities</id> + <configuration> + <inputs>model:target/generated-sources/models:entities.objectmodel</inputs> + <templates> + org.nuiton.topia.generator.TopiaMetaTransformer, + org.nuiton.topia.generator.InterfaceTransformer + </templates> + </configuration> + <goals> + <goal>smart-generate</goal> + </goals> + </execution> + + <-- Execution that transforms the beans.objectmodel file using + other specific templates from topia --> + <execution> + <phase>generate-sources</phase> + <id>model-to-bean</id> + <configuration> + <inputs> + <input>model:target/generated-sources/models:beans.objectmodel</input> + </inputs> + <templates>org.nuiton.topia.generator.BeanTransformer</templates> + </configuration> + <goals> + <goal>smart-generate</goal> + </goals> + </execution> + + </executions> + + <!-- dependency to use topia templates --> + <dependencies> + <dependency> + <groupId>org.nuiton.topia</groupId> + <artifactId>topia-persistence</artifactId> + <version>${topiaVersion}</version> + <scope>compile</scope> + </dependency> + </dependencies> + </plugin> Property changes on: trunk/eugene-maven-plugin/src/site/fr/rst/example.rst.vm ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Modified: trunk/eugene-maven-plugin/src/site/fr/rst/index.rst =================================================================== (Binary files differ) Deleted: trunk/eugene-maven-plugin/src/site/rst/example.rst =================================================================== --- trunk/eugene-maven-plugin/src/site/rst/example.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/eugene-maven-plugin/src/site/rst/example.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -1,169 +0,0 @@ -.. - -.. * #%L -.. * EUGene :: Maven plugin -.. * -.. * $Id$ -.. * $HeadURL$ -.. * %% -.. * Copyright (C) 2006 - 2010 CodeLutin -.. * %% -.. * This program 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 3 of the -.. * License, or (at your option) any later version. -.. * -.. * This program 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 General Lesser Public License for more details. -.. * -.. * You should have received a copy of the GNU General Lesser Public -.. * License along with this program. If not, see -.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. -.. * #L% -.. - -Examples -======== - -:Authors: Jean Couteau -:Contact: couteau@codelutin.com -:Revision: $Revision$ -:Date: $Date$ - -.. contents:: - -This page groups two plugin configuration/usage examples in a pom. The first -example is very simple, the second is more complex and aimed to bring a better -understanding of the plugin combined with the usages_ documentation. - -Cette page regroupe deux examples de configuration/utilisation du plugin -dans un pom. Le premier example est très simple, le second est plus complexe -et est censé ammener une complète compréhension du plugin combiné à la -documentation des usages_ . - -.. _usages: usage.html - -Simple example --------------- - -This example will generate the entities and interfaces from the package -org.nuiton.eugene.demopackage from the zargo files present in the src/main/xmi -directory. - -:: - - <plugin> - <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> - - <executions> - - <execution> - <phase>generate-sources</phase> - <!-- By default, generation from ObjectModel --> - <configuration> - <!-- Corresponding to extracted package from zargo file --> - <fullPackagePath>org.nuiton.eugene.demopackage</fullPackagePath> - <!-- DefaultPackage used for DAOHelper generation --> - <defaultPackage>org.nuiton.eugene.demopackage</defaultPackage> - <!-- Use topia templates --> - <templates> - org.nuiton.topia.generator.TopiaMetaTransformer, - org.nuiton.topia.generator.InterfaceTransformer, - org.nuiton.topia.generator.BeanTransformer - </templates> - </configuration> - <goals> - <goal>smart-generate</goal> - </goals> - </execution> - </executions> - <-- dependency to topia to use their template --> - <dependencies> - <dependency> - <groupId>org.nuiton.topia</groupId> - <artifactId>topia-persistence</artifactId> - </dependency> - </dependencies> - </plugin> - -Complex example ---------------- - -This example uses two zargo files as input and will generate them separately. - -The two first phases are common, then two executions are configured, one per -file, specificating the different templates to use for each model file. - -:: - - <plugin> - <groupId>org.nuiton.eugene</groupId> - <artifactId>maven-eugene-plugin</artifactId> - <configuration> - <defaultPackage>org.nuiton.eugene.demopackage</defaultPackage> - <fullPackagePath>org.nuiton.eugene.demopackage</fullPackagePath> - </configuration> - - <executions> - - <!-- Execution that transforms zargo files to objectmodel by using - the full run without the model phase --> - <execution> - <phase>generate-sources</phase> - <id>toModel</id> - <configuration> - <inputs>zargo</inputs> - <resolver>org.nuiton.util.FasterCachedResourceResolver</resolver> - <skipInputs>model</skipInputs> - </configuration> - <goals> - <goal>smart-generate</goal> - </goals> - </execution> - - <-- Execution that transforms the entities.objectmodel file using - specific templates from topia --> - <execution> - <phase>generate-sources</phase> - <id>model-to-entities</id> - <configuration> - <inputs>model:target/generated-sources/models:entities.objectmodel</inputs> - <templates> - org.nuiton.topia.generator.TopiaMetaTransformer, - org.nuiton.topia.generator.InterfaceTransformer - </templates> - </configuration> - <goals> - <goal>smart-generate</goal> - </goals> - </execution> - - <-- Execution that transforms the beans.objectmodel file using - other specific templates from topia --> - <execution> - <phase>generate-sources</phase> - <id>model-to-bean</id> - <configuration> - <inputs> - <input>model:target/generated-sources/models:beans.objectmodel</input> - </inputs> - <templates>org.nuiton.topia.generator.BeanTransformer</templates> - </configuration> - <goals> - <goal>smart-generate</goal> - </goals> - </execution> - - </executions> - - <!-- dependency to use topia templates --> - <dependencies> - <dependency> - <groupId>org.nuiton.topia</groupId> - <artifactId>topia-persistence</artifactId> - <version>${topiaVersion}</version> - <scope>compile</scope> - </dependency> - </dependencies> - </plugin> Copied: trunk/eugene-maven-plugin/src/site/rst/example.rst.vm (from rev 1149, trunk/eugene-maven-plugin/src/site/rst/example.rst) =================================================================== --- trunk/eugene-maven-plugin/src/site/rst/example.rst.vm (rev 0) +++ trunk/eugene-maven-plugin/src/site/rst/example.rst.vm 2012-05-28 10:13:34 UTC (rev 1150) @@ -0,0 +1,170 @@ +.. - +.. * #%L +.. * EUGene :: Maven plugin +.. * +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2006 - 2010 CodeLutin +.. * %% +.. * This program 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 3 of the +.. * License, or (at your option) any later version. +.. * +.. * This program 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 General Lesser Public License for more details. +.. * +.. * You should have received a copy of the GNU General Lesser Public +.. * License along with this program. If not, see +.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. +.. * #L% +.. - +Examples +======== + +:Authors: Jean Couteau +:Contact: couteau@codelutin.com +:Revision: $Revision$ +:Date: $Date$ + +.. contents:: + +This page groups two plugin configuration/usage examples in a pom. The first +example is very simple, the second is more complex and aimed to bring a better +understanding of the plugin combined with the usages_ documentation. + +Cette page regroupe deux examples de configuration/utilisation du plugin +dans un pom. Le premier example est très simple, le second est plus complexe +et est censé ammener une complète compréhension du plugin combiné à la +documentation des usages_ . + +.. _usages: usage.html + +Simple example +-------------- + +This example will generate the entities and interfaces from the package +org.nuiton.eugene.demopackage from the zargo files present in the src/main/xmi +directory. + +:: + + <plugin> + <groupId>org.nuiton.eugene</groupId> + <artifactId>eugene-maven-plugin</artifactId> + + <executions> + + <execution> + <phase>generate-sources</phase> + <!-- By default, generation from ObjectModel --> + <configuration> + <!-- Corresponding to extracted package from zargo file --> + <fullPackagePath>org.nuiton.eugene.demopackage</fullPackagePath> + <!-- DefaultPackage used for DAOHelper generation --> + <defaultPackage>org.nuiton.eugene.demopackage</defaultPackage> + <!-- Use topia templates --> + <templates> + org.nuiton.topia.generator.TopiaMetaTransformer, + org.nuiton.topia.generator.InterfaceTransformer, + org.nuiton.topia.generator.BeanTransformer + </templates> + </configuration> + <goals> + <goal>smart-generate</goal> + </goals> + </execution> + </executions> + <-- dependency to topia to use their template --> + <dependencies> + <dependency> + <groupId>org.nuiton.topia</groupId> + <artifactId>topia-persistence</artifactId> + </dependency> + </dependencies> + </plugin> + +Complex example +--------------- + +This example uses two zargo files as input and will generate them separately. + +The two first phases are common, then two executions are configured, one per +file, specificating the different templates to use for each model file. + +:: + + <plugin> + <groupId>org.nuiton.eugene</groupId> + <artifactId>eugene-maven-plugin</artifactId> + <version>${project.version}</version> + <configuration> + <defaultPackage>org.nuiton.eugene.demopackage</defaultPackage> + <fullPackagePath>org.nuiton.eugene.demopackage</fullPackagePath> + </configuration> + + <executions> + + <!-- Execution that transforms zargo files to objectmodel by using + the full run without the model phase --> + <execution> + <phase>generate-sources</phase> + <id>toModel</id> + <configuration> + <inputs>zargo</inputs> + <resolver>org.nuiton.util.FasterCachedResourceResolver</resolver> + <skipInputs>model</skipInputs> + </configuration> + <goals> + <goal>smart-generate</goal> + </goals> + </execution> + + <-- Execution that transforms the entities.objectmodel file using + specific templates from topia --> + <execution> + <phase>generate-sources</phase> + <id>model-to-entities</id> + <configuration> + <inputs>model:target/generated-sources/models:entities.objectmodel</inputs> + <templates> + org.nuiton.topia.generator.TopiaMetaTransformer, + org.nuiton.topia.generator.InterfaceTransformer + </templates> + </configuration> + <goals> + <goal>smart-generate</goal> + </goals> + </execution> + + <-- Execution that transforms the beans.objectmodel file using + other specific templates from topia --> + <execution> + <phase>generate-sources</phase> + <id>model-to-bean</id> + <configuration> + <inputs> + <input>model:target/generated-sources/models:beans.objectmodel</input> + </inputs> + <templates>org.nuiton.topia.generator.BeanTransformer</templates> + </configuration> + <goals> + <goal>smart-generate</goal> + </goals> + </execution> + + </executions> + + <!-- dependency to use topia templates --> + <dependencies> + <dependency> + <groupId>org.nuiton.topia</groupId> + <artifactId>topia-persistence</artifactId> + <version>${topiaVersion}</version> + <scope>compile</scope> + </dependency> + </dependencies> + </plugin> Property changes on: trunk/eugene-maven-plugin/src/site/rst/example.rst.vm ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Modified: trunk/eugene-maven-plugin/src/site/rst/index.rst =================================================================== (Binary files differ) Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/pom.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -42,7 +42,7 @@ <modules> <module>eugene</module> - <module>maven-eugene-plugin</module> + <module>eugene-maven-plugin</module> <module>ant-eugene-task</module> </modules> Modified: trunk/src/site/fr/rst/03-generation.rst =================================================================== --- trunk/src/site/fr/rst/03-generation.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/src/site/fr/rst/03-generation.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -115,7 +115,7 @@ ImportsManager, AnnotationManager, ...) et le builder (pour Java : JavaBuilder). Il est conseillé d'utiliser maven pour `executer`_ la génération en utilisant le -`maven-eugene-plugin`_ . La configuration du plugin permet de préciser les +`eugene-maven-plugin`_ . La configuration du plugin permet de préciser les différents éléments de la génération (writer, reader, model, template, ...). .. _ObjectModel: 02-objectmodel.html @@ -127,4 +127,4 @@ .. _extensions: 06-fonctionnalites-avancees.html#Extensions .. _executer: 05-execution.html -.. _maven-eugene-plugin: ../maven-eugene-plugin/fr/index.html +.. _eugene-maven-plugin: ../eugene-maven-plugin/fr/index.html Deleted: trunk/src/site/fr/rst/05-execution.rst =================================================================== --- trunk/src/site/fr/rst/05-execution.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/src/site/fr/rst/05-execution.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -1,62 +0,0 @@ -.. - -.. * #%L -.. * EUGene -.. * -.. * $Id$ -.. * $HeadURL$ -.. * %% -.. * Copyright (C) 2004 - 2010 CodeLutin -.. * %% -.. * This program 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 3 of the -.. * License, or (at your option) any later version. -.. * -.. * This program 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 General Lesser Public License for more details. -.. * -.. * You should have received a copy of the GNU General Lesser Public -.. * License along with this program. If not, see -.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. -.. * #L% -.. - -Execution -========= - -:Author: Florian Desbois -:Contact: eugene-devel@list.nuiton.org ou eugene-users@list.nuiton.org -:Revision: $Revision$ -:Date: $Date$ - -Pour mettre en oeuvre la génération en utilisant EUGene, il est possible -d'utiliser les principaux utilitaires de build : `Ant`_ et `Maven`_ - -Ant ---- - -Consultez la documentation dans le `module ant`_. - -Maven ------ - -Tout d'abord il vous faut la dépendance d'EUGene pour pouvoir utiliser son -API :: - - <dependency> - <groupId>org.nuiton.eugene</groupId> - <artifactId>eugene</artifactId> - <version>${eugeneVersion}</version> - <scope>provided</scope> - </dependency> - -A noter que le scope provided suffit, étant donné qu'EUGene n'est utilisé -qu'à la compilation/génération. - -Vous pouvez désormais étendre les Transformer et Generator désirés pour -pouvoir générer des fichiers en utilisant le plugin maven. Voir `les exemples -et la documentation du plugin`_ . - -.. _les exemples et la documentation du plugin: ../maven-eugene-plugin/fr/example.html -.. _module ant: ../ant-eugene-task/fr/ Copied: trunk/src/site/fr/rst/05-execution.rst.vm (from rev 1149, trunk/src/site/fr/rst/05-execution.rst) =================================================================== --- trunk/src/site/fr/rst/05-execution.rst.vm (rev 0) +++ trunk/src/site/fr/rst/05-execution.rst.vm 2012-05-28 10:13:34 UTC (rev 1150) @@ -0,0 +1,62 @@ +.. - +.. * #%L +.. * EUGene +.. * +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2004 - 2010 CodeLutin +.. * %% +.. * This program 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 3 of the +.. * License, or (at your option) any later version. +.. * +.. * This program 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 General Lesser Public License for more details. +.. * +.. * You should have received a copy of the GNU General Lesser Public +.. * License along with this program. If not, see +.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. +.. * #L% +.. - +Execution +========= + +:Author: Florian Desbois +:Contact: eugene-devel@list.nuiton.org ou eugene-users@list.nuiton.org +:Revision: $Revision$ +:Date: $Date$ + +Pour mettre en oeuvre la génération en utilisant EUGene, il est possible +d'utiliser les principaux utilitaires de build : `Ant`_ et `Maven`_ + +Ant +--- + +Consultez la documentation dans le `module ant`_. + +Maven +----- + +Tout d'abord il vous faut la dépendance d'EUGene pour pouvoir utiliser son +API :: + + <dependency> + <groupId>org.nuiton.eugene</groupId> + <artifactId>eugene</artifactId> + <version>${project.version}</version> + <scope>provided</scope> + </dependency> + +A noter que le scope provided suffit, étant donné qu'EUGene n'est utilisé +qu'à la compilation/génération. + +Vous pouvez désormais étendre les Transformer et Generator désirés pour +pouvoir générer des fichiers en utilisant le plugin maven. Voir `les exemples +et la documentation du plugin`_ . + +.. _les exemples et la documentation du plugin: ../eugene-maven-plugin/fr/example.html +.. _module ant: ../ant-eugene-task/fr/ Property changes on: trunk/src/site/fr/rst/05-execution.rst.vm ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Modified: trunk/src/site/fr/rst/08-FAQ.rst =================================================================== --- trunk/src/site/fr/rst/08-FAQ.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/src/site/fr/rst/08-FAQ.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -74,10 +74,10 @@ Java (utilisation en tant que superclasse du Transformer ObjectModelTransformerToJava ou du Generator ObjectModelGenerator). Vous trouverez également quelques exemples dans les tests d'intégration du -`maven-eugene-plugin`_ : répertoire **src/it/smart-generate**. +`eugene-maven-plugin`_ : répertoire **src/it/smart-generate**. .. _ToPIA: http://nuiton.org/projects/show/topia -.. _maven-eugene-plugin: ../maven-eugene-plugin/fr/index.html +.. _eugene-maven-plugin: ../eugene-maven-plugin/fr/index.html Pourquoi la génération ne marche plus après renommage des fichiers .zargo et properties ======================================================================================= Modified: trunk/src/site/fr/rst/eugene-plan.rst =================================================================== --- trunk/src/site/fr/rst/eugene-plan.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/src/site/fr/rst/eugene-plan.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -160,7 +160,7 @@ Ressource : tchemit? -- Documentation existante : maven-eugene-plugin +- Documentation existante : eugene-maven-plugin 6- Fonctionnalités avancées --------------------------- Modified: trunk/src/site/fr/rst/index.rst =================================================================== --- trunk/src/site/fr/rst/index.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/src/site/fr/rst/index.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -54,11 +54,11 @@ * `eugene-api`_ * `ant-eugene-task`_ - * `maven-eugene-plugin`_ + * `eugene-maven-plugin`_ .. _eugene-api: ../eugene/fr/index.html .. _ant-eugene-task: ../ant-eugene-task/fr/index.html -.. _maven-eugene-plugin: ../maven-eugene-plugin/fr/index.html +.. _eugene-maven-plugin: ../eugene-maven-plugin/fr/index.html Plus d'infos sur le projet sur la `forge nuiton`_ . Modified: trunk/src/site/rst/03-generation.rst =================================================================== --- trunk/src/site/rst/03-generation.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/src/site/rst/03-generation.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -111,7 +111,7 @@ builder (for Java : JavaBuilder). Is is mainly advised to use Maven to `execute`_ generation using -`maven-eugene-plugin`_ . Plugin configuration allows to precise the different +`eugene-maven-plugin`_ . Plugin configuration allows to precise the different generation elements (writer, reader, model, template, ...). .. _ObjectModel: 02-objectmodel.html @@ -123,4 +123,4 @@ .. _extensions: 06-fonctionnalites-avancees.html#Extensions .. _execute: 05-execution.html -.. _maven-eugene-plugin: maven-eugene-plugin/index.html +.. _eugene-maven-plugin: eugene-maven-plugin/index.html Deleted: trunk/src/site/rst/05-execution.rst =================================================================== --- trunk/src/site/rst/05-execution.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/src/site/rst/05-execution.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -1,61 +0,0 @@ -.. - -.. * #%L -.. * EUGene -.. * -.. * $Id$ -.. * $HeadURL$ -.. * %% -.. * Copyright (C) 2004 - 2011 CodeLutin, Chatellier Eric -.. * %% -.. * This program 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 3 of the -.. * License, or (at your option) any later version. -.. * -.. * This program 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 General Lesser Public License for more details. -.. * -.. * You should have received a copy of the GNU General Lesser Public -.. * License along with this program. If not, see -.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. -.. * #L% -.. - -========= -Execution -========= - -:Author: Florian Desbois, Jean Couteau -:Contact: eugene-devel@list.nuiton.org or eugene-users@list.nuiton.org -:Revision: $Revision$ -:Date: $Date$ - -To put into place generation using EUGene, it is possible to use main -build utilities : `Ant`_ and `Maven`_ - -Ant ---- - -See documentation in `ant module`_. - -Maven ------ - -First, you need EUGene dependency to be able to use its API :: - - <dependency> - <groupId>org.nuiton.eugene</groupId> - <artifactId>eugene</artifactId> - <version>${eugeneVersion}</version> - <scope>provided</scope> - </dependency> - -It has to be noted that the provided scope is enough as EUGene is used only -during compile/generation. - -You can now extends wanted Transformer and Generator to be able to generate -files using the maven plugin. See `plugin documentation and examples`_ . - -.. _plugin documentation and examples: maven-eugene-plugin/example.html -.. _ant module: ant-eugene-task/ Copied: trunk/src/site/rst/05-execution.rst.vm (from rev 1149, trunk/src/site/rst/05-execution.rst) =================================================================== --- trunk/src/site/rst/05-execution.rst.vm (rev 0) +++ trunk/src/site/rst/05-execution.rst.vm 2012-05-28 10:13:34 UTC (rev 1150) @@ -0,0 +1,61 @@ +.. - +.. * #%L +.. * EUGene +.. * +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2004 - 2011 CodeLutin, Chatellier Eric +.. * %% +.. * This program 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 3 of the +.. * License, or (at your option) any later version. +.. * +.. * This program 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 General Lesser Public License for more details. +.. * +.. * You should have received a copy of the GNU General Lesser Public +.. * License along with this program. If not, see +.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. +.. * #L% +.. - +========= +Execution +========= + +:Author: Florian Desbois, Jean Couteau +:Contact: eugene-devel@list.nuiton.org or eugene-users@list.nuiton.org +:Revision: $Revision$ +:Date: $Date$ + +To put into place generation using EUGene, it is possible to use main +build utilities : `Ant`_ and `Maven`_ + +Ant +--- + +See documentation in `ant module`_. + +Maven +----- + +First, you need EUGene dependency to be able to use its API :: + + <dependency> + <groupId>org.nuiton.eugene</groupId> + <artifactId>eugene</artifactId> + <version>${project.version}</version> + <scope>provided</scope> + </dependency> + +It has to be noted that the provided scope is enough as EUGene is used only +during compile/generation. + +You can now extends wanted Transformer and Generator to be able to generate +files using the maven plugin. See `plugin documentation and examples`_ . + +.. _plugin documentation and examples: eugene-maven-plugin/example.html +.. _ant module: ant-eugene-task/ Property changes on: trunk/src/site/rst/05-execution.rst.vm ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Modified: trunk/src/site/rst/08-FAQ.rst =================================================================== --- trunk/src/site/rst/08-FAQ.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/src/site/rst/08-FAQ.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -77,10 +77,10 @@ (ToPIA-persistence module) lots of examples of Transformer and/or Generator for Java code generation (uses ObjectModelTransformerToJava or ObjectModelGenerator as superclass). You can also find some examples of integration tests of -`maven-eugene-plugin`_ : directory **src/it/smart-generate**. +`eugene-maven-plugin`_ : directory **src/it/smart-generate**. .. _ToPIA: http://nuiton.org/projects/show/topia -.. _maven-eugene-plugin: maven-eugene-plugin/index.html +.. _eugene-maven-plugin: eugene-maven-plugin/index.html Why properties are not taken during generation after renomming .zargo file ? ============================================================================ Modified: trunk/src/site/rst/index.rst =================================================================== --- trunk/src/site/rst/index.rst 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/src/site/rst/index.rst 2012-05-28 10:13:34 UTC (rev 1150) @@ -54,11 +54,11 @@ * `eugene-api`_ * `ant-eugene-task`_ - * `maven-eugene-plugin`_ + * `eugene-maven-plugin`_ .. _eugene-api: eugene/index.html .. _ant-eugene-task: ant-eugene-task/index.html -.. _maven-eugene-plugin: maven-eugene-plugin/index.html +.. _eugene-maven-plugin: eugene-maven-plugin/index.html More info on the project on `nuiton's forge`_ . Modified: trunk/src/site/site_en.xml =================================================================== --- trunk/src/site/site_en.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/src/site/site_en.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -68,6 +68,8 @@ </breadcrumbs> <links> + <item name="Nuiton.org" href="http://nuiton.org"/> + <item name="Code Lutin" href="http://www.codelutin.com"/> <item name="Libre-Entreprise" href="http://www.libre-entreprise.org/" /> </links> Modified: trunk/src/site/site_fr.xml =================================================================== --- trunk/src/site/site_fr.xml 2012-05-28 09:25:56 UTC (rev 1149) +++ trunk/src/site/site_fr.xml 2012-05-28 10:13:34 UTC (rev 1150) @@ -68,6 +68,8 @@ </breadcrumbs> <links> + <item name="Nuiton.org" href="http://nuiton.org"/> + <item name="Code Lutin" href="http://www.codelutin.com"/> <item name="Libre-Entreprise" href="http://www.libre-entreprise.org/"/> </links> @@ -99,12 +101,12 @@ </menu> <!-- TC-20100117 does not works on none primary language --> - <!--<menu ref="modules"/>--> - <menu name="Modules"> - <item name="Eugene :: Eugene" href="../eugene/fr/index.html"/> - <item name="Eugene :: Ant task" href="../ant-eugene-task/fr/index.html"/> - <item name="Eugene :: Maven plugin" href="../maven-eugene-plugin/fr/index.html"/> - </menu> + <menu ref="modules"/> + <!--<menu name="Modules">--> + <!--<item name="Eugene :: Eugene" href="../eugene/fr/index.html"/>--> + <!--<item name="Eugene :: Ant task" href="../ant-eugene-task/fr/index.html"/>--> + <!--<item name="Eugene :: Maven plugin" href="../eugene-maven-plugin/fr/index.html"/>--> + <!--</menu>--> <menu ref="reports"/>
participants (1)
-
tchemit@users.nuiton.org