branch develop updated (7583bad -> 1c88cee)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository eugene. See https://gitlab.nuiton.org/nuiton/eugene.git from 7583bad Add a mojo to transform new object model extension files to old model extension file (Fixes #4018) Merge branch 'feature/4018' into develop new d6a4aa4 optimize dependencies new 1c88cee Add doc The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 1c88cee9945cc84b8b737f0ec9710c2ca73cf061 Author: Tony CHEMIT <chemit@codelutin.com> Date: Sat Sep 10 14:03:01 2016 +0200 Add doc commit d6a4aa43ef0ac36e8e51940585f41b65ccca8252 Author: Tony CHEMIT <chemit@codelutin.com> Date: Sat Sep 10 13:49:25 2016 +0200 optimize dependencies Summary of changes: eugene-maven-plugin/pom.xml | 5 ++++ .../TransformCompactToFlatPropertiesMojo.java | 30 ++++++++++++++++++++++ .../TransformFlatPropertiesToCompactMojo.java | 30 ++++++++++++++++++++++ eugene-maven-plugin/src/site/fr/rst/usage.rst | 29 +++++++++++++++++++++ eugene-maven-plugin/src/site/rst/usage.rst | 29 +++++++++++++++++++++ 5 files changed, 123 insertions(+) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository eugene. See https://gitlab.nuiton.org/nuiton/eugene.git commit d6a4aa43ef0ac36e8e51940585f41b65ccca8252 Author: Tony CHEMIT <chemit@codelutin.com> Date: Sat Sep 10 13:49:25 2016 +0200 optimize dependencies --- eugene-maven-plugin/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eugene-maven-plugin/pom.xml b/eugene-maven-plugin/pom.xml index e615679..24e88df 100644 --- a/eugene-maven-plugin/pom.xml +++ b/eugene-maven-plugin/pom.xml @@ -98,6 +98,11 @@ </dependency> <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + </dependency> + + <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> </dependency> -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository eugene. See https://gitlab.nuiton.org/nuiton/eugene.git commit 1c88cee9945cc84b8b737f0ec9710c2ca73cf061 Author: Tony CHEMIT <chemit@codelutin.com> Date: Sat Sep 10 14:03:01 2016 +0200 Add doc --- .../TransformCompactToFlatPropertiesMojo.java | 30 ++++++++++++++++++++++ .../TransformFlatPropertiesToCompactMojo.java | 30 ++++++++++++++++++++++ eugene-maven-plugin/src/site/fr/rst/usage.rst | 29 +++++++++++++++++++++ eugene-maven-plugin/src/site/rst/usage.rst | 29 +++++++++++++++++++++ 4 files changed, 118 insertions(+) diff --git a/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformCompactToFlatPropertiesMojo.java b/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformCompactToFlatPropertiesMojo.java index cc34b86..98bdf20 100644 --- a/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformCompactToFlatPropertiesMojo.java +++ b/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformCompactToFlatPropertiesMojo.java @@ -22,6 +22,36 @@ import java.util.Set; /** * To a transform some object model extension files in compact format to a single flat properties format. * + * <h3>Example of compact format</h3> + * <pre> + * + * [model] + * modeTagValue value + * modelStereotype + * + * [package] + * fr.ird.observe.entities + * packageTagValue value + * packageStereotype + * [class] + * fr.ird.observe.entities.CommentableEntity + * classTagValue value + * classStereotype + * attribute.attributeTagValue value + * attribute.attributeStereotype + * </pre> + * + * <h3>Example of flat properties format</h3> + * <pre> + * model.tagValue.modeTagValue=value + * model.stereotype.modelStereotype + * package.fr.ird.observe.entities.tagValue.packageTagValue=value + * package.fr.ird.observe.entities.stereotype=packageStereotype + * fr.ird.observe.entities.CommentableEntity.class.tagValue.classTagValue=value + * fr.ird.observe.entities.CommentableEntity.class.stereotype=classStereotype + * fr.ird.observe.entities.CommentableEntity.attribute.attribute.tagValue.attributeTagValue=value + * fr.ird.observe.entities.CommentableEntity.attribute.attribute.stereotype=attributeStereotype* + * </pre> * Created on 09/09/16. * * @author Tony Chemit - chemit@codelutin.com diff --git a/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformFlatPropertiesToCompactMojo.java b/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformFlatPropertiesToCompactMojo.java index 51c907c..3b683fc 100644 --- a/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformFlatPropertiesToCompactMojo.java +++ b/eugene-maven-plugin/src/main/java/org/nuiton/eugene/plugin/TransformFlatPropertiesToCompactMojo.java @@ -20,6 +20,36 @@ import java.util.Set; /** * To a transform some object model extension files in flat properties format to a single file in compact format. * + * <h3>Example of compact format</h3> + * <pre> + * + * [model] + * modeTagValue value + * modelStereotype + * + * [package] + * fr.ird.observe.entities + * packageTagValue value + * packageStereotype + * [class] + * fr.ird.observe.entities.CommentableEntity + * classTagValue value + * classStereotype + * attribute.attributeTagValue value + * attribute.attributeStereotype + * </pre> + * + * <h3>Example of flat properties format</h3> + * <pre> + * model.tagValue.modeTagValue=value + * model.stereotype.modelStereotype + * package.fr.ird.observe.entities.tagValue.packageTagValue=value + * package.fr.ird.observe.entities.stereotype=packageStereotype + * fr.ird.observe.entities.CommentableEntity.class.tagValue.classTagValue=value + * fr.ird.observe.entities.CommentableEntity.class.stereotype=classStereotype + * fr.ird.observe.entities.CommentableEntity.attribute.attribute.tagValue.attributeTagValue=value + * fr.ird.observe.entities.CommentableEntity.attribute.attribute.stereotype=attributeStereotype* + * </pre> * Created on 09/09/16. * * @author Tony Chemit - chemit@codelutin.com diff --git a/eugene-maven-plugin/src/site/fr/rst/usage.rst b/eugene-maven-plugin/src/site/fr/rst/usage.rst index f9a6873..186768f 100644 --- a/eugene-maven-plugin/src/site/fr/rst/usage.rst +++ b/eugene-maven-plugin/src/site/fr/rst/usage.rst @@ -390,3 +390,32 @@ Example: [objectmodel] with implementation 'org.nuiton.eugene.models.object.ObjectModelReader' Found one modeltemplate : [org.nuiton.eugene.java.JavaGenerator] with implementation 'org.nuiton.eugene.java.JavaGenerator' + +transform-flat-properties-to-compact +------------------------------------ + +Ce 'goal' transforme des fichiers d'exention du modèle au format properties vers un format plus compact (objectmodel-ext). + +Exemple de fichier sous ce format : + +:: + + [model] + modeTagValue value + modelStereotype + + [package] + fr.ird.observe.entities + packageTagValue value + packageStereotype + [class] + fr.ird.observe.entities.CommentableEntity + classTagValue value + classStereotype + attribute.attributeTagValue value + attribute.attributeStereotype + +transform-compact-to-flat-properties +------------------------------------ + +Ce 'goal' transforme des fichiers d'extension du modèle au compact vers le format classique de fichier de properties. diff --git a/eugene-maven-plugin/src/site/rst/usage.rst b/eugene-maven-plugin/src/site/rst/usage.rst index b77b600..04f0056 100644 --- a/eugene-maven-plugin/src/site/rst/usage.rst +++ b/eugene-maven-plugin/src/site/rst/usage.rst @@ -316,3 +316,32 @@ Example: [objectmodel] with implementation 'org.nuiton.eugene.models.object.ObjectModelReader' Found one modeltemplate : [org.nuiton.eugene.java.JavaGenerator] with implementation 'org.nuiton.eugene.java.JavaGenerator' + +transform-flat-properties-to-compact +------------------------------------ + +This goal transform some input files (model extension file with properties file format) to a unique file using a compact format (objectmodel-ext). + +Example of a such file: + +:: + + [model] + modeTagValue value + modelStereotype + + [package] + fr.ird.observe.entities + packageTagValue value + packageStereotype + [class] + fr.ird.observe.entities.CommentableEntity + classTagValue value + classStereotype + attribute.attributeTagValue value + attribute.attributeStereotype + +transform-compact-to-flat-properties +------------------------------------ + +This goal transform some input files (compact format) to a unique file using the classical properties file format. -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm