r752 - in trunk: . mavenpom4labs mavenpom4labs/src mavenpom4labs/src/site mavenpom4labs/src/site/apt mavenpom4labs/src/site/en mavenpom4labs/src/site/en/apt mavenpom4redmine mavenpom4redmine/src mavenpom4redmine/src/site mavenpom4redmine/src/site/apt mavenpom4redmine/src/site/en mavenpom4redmine/src/site/en/apt src/site src/site/apt src/site/en/apt
Author: tchemit Date: 2010-01-15 01:11:41 +0100 (Fri, 15 Jan 2010) New Revision: 752 Added: trunk/mavenpom4labs/ trunk/mavenpom4labs/LICENSE.txt trunk/mavenpom4labs/README.txt trunk/mavenpom4labs/changelog.txt trunk/mavenpom4labs/pom.xml trunk/mavenpom4labs/src/ trunk/mavenpom4labs/src/site/ trunk/mavenpom4labs/src/site/apt/ trunk/mavenpom4labs/src/site/apt/Todo.apt trunk/mavenpom4labs/src/site/apt/index.apt trunk/mavenpom4labs/src/site/apt/profiles.apt trunk/mavenpom4labs/src/site/apt/properties.apt trunk/mavenpom4labs/src/site/apt/release.apt trunk/mavenpom4labs/src/site/en/ trunk/mavenpom4labs/src/site/en/apt/ trunk/mavenpom4labs/src/site/en/apt/Todo.apt trunk/mavenpom4labs/src/site/en/apt/index.apt trunk/mavenpom4labs/src/site/en/apt/profiles.apt trunk/mavenpom4labs/src/site/en/apt/properties.apt trunk/mavenpom4labs/src/site/en/apt/release.apt trunk/mavenpom4labs/src/site/site_en.xml trunk/mavenpom4labs/src/site/site_fr.xml trunk/mavenpom4redmine/ trunk/mavenpom4redmine/LICENSE.txt trunk/mavenpom4redmine/README.txt trunk/mavenpom4redmine/changelog.txt trunk/mavenpom4redmine/pom.xml trunk/mavenpom4redmine/src/ trunk/mavenpom4redmine/src/site/ trunk/mavenpom4redmine/src/site/apt/ trunk/mavenpom4redmine/src/site/apt/Todo.apt trunk/mavenpom4redmine/src/site/apt/index.apt trunk/mavenpom4redmine/src/site/apt/profiles.apt trunk/mavenpom4redmine/src/site/apt/properties.apt trunk/mavenpom4redmine/src/site/apt/release.apt trunk/mavenpom4redmine/src/site/en/ trunk/mavenpom4redmine/src/site/en/apt/ trunk/mavenpom4redmine/src/site/en/apt/Todo.apt trunk/mavenpom4redmine/src/site/en/apt/index.apt trunk/mavenpom4redmine/src/site/en/apt/profiles.apt trunk/mavenpom4redmine/src/site/en/apt/properties.apt trunk/mavenpom4redmine/src/site/en/apt/release.apt trunk/mavenpom4redmine/src/site/site_en.xml trunk/mavenpom4redmine/src/site/site_fr.xml trunk/src/site/apt/release.apt trunk/src/site/en/apt/release.apt Removed: trunk/mavenpom4labs/LICENSE.txt trunk/mavenpom4labs/README.txt trunk/mavenpom4labs/changelog.txt trunk/mavenpom4labs/pom.xml trunk/mavenpom4labs/src/ trunk/mavenpom4labs/src/site/ trunk/mavenpom4labs/src/site/apt/ trunk/mavenpom4labs/src/site/apt/Todo.apt trunk/mavenpom4labs/src/site/apt/index.apt trunk/mavenpom4labs/src/site/apt/profiles.apt trunk/mavenpom4labs/src/site/apt/properties.apt trunk/mavenpom4labs/src/site/apt/release.apt trunk/mavenpom4labs/src/site/en/ trunk/mavenpom4labs/src/site/en/apt/ trunk/mavenpom4labs/src/site/en/apt/Todo.apt trunk/mavenpom4labs/src/site/en/apt/index.apt trunk/mavenpom4labs/src/site/en/apt/profiles.apt trunk/mavenpom4labs/src/site/en/apt/properties.apt trunk/mavenpom4labs/src/site/en/apt/release.apt trunk/mavenpom4labs/src/site/site_en.xml trunk/mavenpom4labs/src/site/site_fr.xml trunk/mavenpom4redmine/LICENSE.txt trunk/mavenpom4redmine/README.txt trunk/mavenpom4redmine/changelog.txt trunk/mavenpom4redmine/pom.xml trunk/mavenpom4redmine/src/ trunk/mavenpom4redmine/src/site/ trunk/mavenpom4redmine/src/site/apt/ trunk/mavenpom4redmine/src/site/apt/Todo.apt trunk/mavenpom4redmine/src/site/apt/index.apt trunk/mavenpom4redmine/src/site/apt/profiles.apt trunk/mavenpom4redmine/src/site/apt/properties.apt trunk/mavenpom4redmine/src/site/apt/release.apt trunk/mavenpom4redmine/src/site/en/ trunk/mavenpom4redmine/src/site/en/apt/ trunk/mavenpom4redmine/src/site/en/apt/Todo.apt trunk/mavenpom4redmine/src/site/en/apt/index.apt trunk/mavenpom4redmine/src/site/en/apt/profiles.apt trunk/mavenpom4redmine/src/site/en/apt/properties.apt trunk/mavenpom4redmine/src/site/en/apt/release.apt trunk/mavenpom4redmine/src/site/site_en.xml trunk/mavenpom4redmine/src/site/site_fr.xml Modified: trunk/ trunk/pom.xml trunk/src/site/apt/MavenProjectBestPratices.apt trunk/src/site/apt/Todo.apt trunk/src/site/apt/index.apt trunk/src/site/apt/plugins-detail.apt trunk/src/site/en/apt/index.apt trunk/src/site/en/apt/plugins-detail.apt trunk/src/site/site_en.xml trunk/src/site/site_fr.xml Log: mavenpom-2.0 is back on trunk Property changes on: trunk ___________________________________________________________________ Modified: svn:mergeinfo - + /branches/mavenpom-2.x:726-751 Property changes on: trunk/mavenpom4labs ___________________________________________________________________ Added: svn:ignore + target .classpath .project *.ipr *.iws *.iml Deleted: trunk/mavenpom4labs/LICENSE.txt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/LICENSE.txt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/LICENSE.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,166 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - - This version of the GNU Lesser General Public License incorporates -the terms and conditions of version 3 of the GNU General Public -License, supplemented by the additional permissions listed below. - - 0. Additional Definitions. - - As used herein, "this License" refers to version 3 of the GNU Lesser -General Public License, and the "GNU GPL" refers to version 3 of the GNU -General Public License. - - "The Library" refers to a covered work governed by this License, -other than an Application or a Combined Work as defined below. - - An "Application" is any work that makes use of an interface provided -by the Library, but which is not otherwise based on the Library. -Defining a subclass of a class defined by the Library is deemed a mode -of using an interface provided by the Library. - - A "Combined Work" is a work produced by combining or linking an -Application with the Library. The particular version of the Library -with which the Combined Work was made is also called the "Linked -Version". - - The "Minimal Corresponding Source" for a Combined Work means the -Corresponding Source for the Combined Work, excluding any source code -for portions of the Combined Work that, considered in isolation, are -based on the Application, and not on the Linked Version. - - The "Corresponding Application Code" for a Combined Work means the -object code and/or source code for the Application, including any data -and utility programs needed for reproducing the Combined Work from the -Application, but excluding the System Libraries of the Combined Work. - - 1. Exception to Section 3 of the GNU GPL. - - You may convey a covered work under sections 3 and 4 of this License -without being bound by section 3 of the GNU GPL. - - 2. Conveying Modified Versions. - - If you modify a copy of the Library, and, in your modifications, a -facility refers to a function or data to be supplied by an Application -that uses the facility (other than as an argument passed when the -facility is invoked), then you may convey a copy of the modified -version: - - a) under this License, provided that you make a good faith effort to - ensure that, in the event an Application does not supply the - function or data, the facility still operates, and performs - whatever part of its purpose remains meaningful, or - - b) under the GNU GPL, with none of the additional permissions of - this License applicable to that copy. - - 3. Object Code Incorporating Material from Library Header Files. - - The object code form of an Application may incorporate material from -a header file that is part of the Library. You may convey such object -code under terms of your choice, provided that, if the incorporated -material is not limited to numerical parameters, data structure -layouts and accessors, or small macros, inline functions and templates -(ten or fewer lines in length), you do both of the following: - - a) Give prominent notice with each copy of the object code that the - Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the object code with a copy of the GNU GPL and this license - document. - - 4. Combined Works. - - You may convey a Combined Work under terms of your choice that, -taken together, effectively do not restrict modification of the -portions of the Library contained in the Combined Work and reverse -engineering for debugging such modifications, if you also do each of -the following: - - a) Give prominent notice with each copy of the Combined Work that - the Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the Combined Work with a copy of the GNU GPL and this license - document. - - c) For a Combined Work that displays copyright notices during - execution, include the copyright notice for the Library among - these notices, as well as a reference directing the user to the - copies of the GNU GPL and this license document. - - d) Do one of the following: - - 0) Convey the Minimal Corresponding Source under the terms of this - License, and the Corresponding Application Code in a form - suitable for, and under terms that permit, the user to - recombine or relink the Application with a modified version of - the Linked Version to produce a modified Combined Work, in the - manner specified by section 6 of the GNU GPL for conveying - Corresponding Source. - - 1) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (a) uses at run time - a copy of the Library already present on the user's computer - system, and (b) will operate properly with a modified version - of the Library that is interface-compatible with the Linked - Version. - - e) Provide Installation Information, but only if you would otherwise - be required to provide such information under section 6 of the - GNU GPL, and only to the extent that such information is - necessary to install and execute a modified version of the - Combined Work produced by recombining or relinking the - Application with a modified version of the Linked Version. (If - you use option 4d0, the Installation Information must accompany - the Minimal Corresponding Source and Corresponding Application - Code. If you use option 4d1, you must provide the Installation - Information in the manner specified by section 6 of the GNU GPL - for conveying Corresponding Source.) - - 5. Combined Libraries. - - You may place library facilities that are a work based on the -Library side by side in a single library together with other library -facilities that are not Applications and are not covered by this -License, and convey such a combined library under terms of your -choice, if you do both of the following: - - a) Accompany the combined library with a copy of the same work based - on the Library, uncombined with any other library facilities, - conveyed under the terms of this License. - - b) Give prominent notice with the combined library that part of it - is a work based on the Library, and explaining where to find the - accompanying uncombined form of the same work. - - 6. Revised Versions of the GNU Lesser General Public License. - - The Free Software Foundation may publish revised and/or new versions -of the GNU Lesser General Public License from time to time. Such new -versions will be similar in spirit to the present version, but may -differ in detail to address new problems or concerns. - - Each version is given a distinguishing version number. If the -Library as you received it specifies that a certain numbered version -of the GNU Lesser General Public License "or any later version" -applies to it, you have the option of following the terms and -conditions either of that published version or of any later version -published by the Free Software Foundation. If the Library as you -received it does not specify a version number of the GNU Lesser -General Public License, you may choose any version of the GNU Lesser -General Public License ever published by the Free Software Foundation. - - If the Library as you received it specifies that a proxy can decide -whether future versions of the GNU Lesser General Public License shall -apply, that proxy's public statement of acceptance of any version is -permanent authorization for you to choose that version for the -Library. - Copied: trunk/mavenpom4labs/LICENSE.txt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/LICENSE.txt) =================================================================== --- trunk/mavenpom4labs/LICENSE.txt (rev 0) +++ trunk/mavenpom4labs/LICENSE.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,166 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. + Deleted: trunk/mavenpom4labs/README.txt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/README.txt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/README.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,2 +0,0 @@ -To deploy new version of pom: mvn deploy -To install localy: mvn install Copied: trunk/mavenpom4labs/README.txt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/README.txt) =================================================================== --- trunk/mavenpom4labs/README.txt (rev 0) +++ trunk/mavenpom4labs/README.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,2 @@ +To deploy new version of pom: mvn deploy +To install localy: mvn install Deleted: trunk/mavenpom4labs/changelog.txt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/changelog.txt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/changelog.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,110 +0,0 @@ -1.1.0 chemit 20091101 - - * [FEATURE #87] utilisation maven-license-plugin 2.0.0 et maven-helper-plugin 1.1.0 - * [FEATURE #92] permettre de ne pas utiliser jredmine (property jredmine.safe) - * [FEATURE #104] ajout de profiles pour mettre à jour les en-têtes de licenses - * [FEATURE #109] Ne pas générer le report index - --- chemit -- Sun, 01 Nov 2009 16:38:13 +0100 - -1.0.2 chemit 20090902 - - * [FEATURE] #37 finish documentation in french and english language - * [FEATURE] prepare use of changes.xml generation (effective in next release) - * [FIX] #32 : les sites de chorem sont deployés dans nuiton - * [FEATURE] #26 : check changelog.txt file existence only on root module of project - * [FEATURE] : use local LICENSE.txt as license url - * [FEATURE] : add maven.license.file which points to LICENSE.txt file - --- chemit -- Wed, 02 Sep 2009 15:15:24 +0200 - -1.0.1 chemit 20090824 - - * make pom multi-redmine platform (use the platform property nuiton or chorem) - -1.0.0 chemit 20090822 - - * initial release, nuiton platform (http://www.nuiton.org) super pom - -=============================================================================== -fork from org.codelutin:lutinproject - -3.6.0 xxx 2009xxxx - * [chemit] - migrate groupId to org.nuiton, artifactId to nuitonproject ? - -3.5.4 chemit 20090510 - * [chatellier] - Update maven source plugin to 2.1 - * [chemit] - bump release plugin version to 2.0-beta-9 - -3.5.3 chemit 20090420 - * [chatellier] - update prerequisites to 2.0.10 - * [chatellier] - use project.reporting.outputEncoding (default to UTF-8) - * [chemit] - change hudson url - -3.5 chemit 20090409 - * 20090409 [chemit] - remove all dependencies to jrst, now prefer use doxia-module-jrst - -3.4 chemit 20090128 - * 20090218 [chemit] - release 3.4 - - remove all dependencies to our libs and plugin - - * 20090128 [chemit] - release 3.4.0 (for test only) - - fix bug sur l'url de nos super-pom lors de la génération d'un site. - - meilleure gestion des labs.id et labs.name via lutin-enforcer-rules 0.1 - * 20090127 [chemit] - ajout lien vers maven-lutin-skin dans le site - -3.3 chemit 20090107 - * 20090105 [chemit] - utilisation org.codelutin.jaxx:maven-jaxx-plugin:1.0 - * 20081230 [chemit] - utilisation du profile release-profile pour mettre les executions nécessaire à une release (enforcer, javadoc, sources,...) - * 20081215 [chemit] - ajout des versions de nos plugins ou librairies (a finir...) - -3.2 chemit (20081204) - * 20081205 [chemit] - utilisation du plugin enforcer pour faire des verifications sur le pom - - amélioration des propriétés scm - - suppression des groupId sur les plugins maven - - suppression du profile project (car supprimée si un autre - profile est active dans le pom) - - ce projet est désormais releasable - - mise en place du site - - Attention : utilisation de la propriété labs.project sur - le projet est devenu obligatoire. -3.1 chatellier (20081118) - * bump maven-license-switcher-plugin to 0.5 - * Update plugin version - * Add schorlet as developper - * use maven-i18n-plugin 0.7 - * use index.list in jar (to improve jar seek) - * fix wrong tag configuration linkXRef instead of linkXref - * improve codelutin repositories (add a plugin repo) - * use junit 4.5 - -ver-3-0 chatellier (20080924) - * no hard-cored phase for plugin dependency, use default id and phase - * use license-siwtcher 0.4 - * add version properties for your plugin to simplify plugin version change - * remove maven.verbose property, cause some bad side effects. - * remove plugin maven-plugin-plugin (nothing to be done here...) - * add property maven.site.locales to define locales to be used by site - * use jrst.verbose in jrst plugin instead of maven.verbose - * For child pom scm inheritance - * Modify SCM url for new SVN structure - * Use new SVN structure - * Change plugins groupId - * Change version of plugins (with lutinpluginproject 3.0) - -ver-2-5 xxx (2008xxx) - * Re-enable test by default - * Fix lutin plugins groupId - * Enable site report generation by default - * Update developer list - * only use supported maven2 report plugins - (see http://maven.apache.org/plugins/index.html) - * use maven2 report plugins - * replace scp by scp exe -ver-2-4 poussin (20080812) - * refactor pom to new directory layout compiliance with maven 2 - * use svn instead of CVS - * improve plugin configurations - -ver-2-1 poussin (20060913) - * add support for services directory in resources to put in jar Copied: trunk/mavenpom4labs/changelog.txt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/changelog.txt) =================================================================== --- trunk/mavenpom4labs/changelog.txt (rev 0) +++ trunk/mavenpom4labs/changelog.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,110 @@ +1.1.0 chemit 20091101 + + * [FEATURE #87] utilisation maven-license-plugin 2.0.0 et maven-helper-plugin 1.1.0 + * [FEATURE #92] permettre de ne pas utiliser jredmine (property jredmine.safe) + * [FEATURE #104] ajout de profiles pour mettre à jour les en-têtes de licenses + * [FEATURE #109] Ne pas générer le report index + +-- chemit -- Sun, 01 Nov 2009 16:38:13 +0100 + +1.0.2 chemit 20090902 + + * [FEATURE] #37 finish documentation in french and english language + * [FEATURE] prepare use of changes.xml generation (effective in next release) + * [FIX] #32 : les sites de chorem sont deployés dans nuiton + * [FEATURE] #26 : check changelog.txt file existence only on root module of project + * [FEATURE] : use local LICENSE.txt as license url + * [FEATURE] : add maven.license.file which points to LICENSE.txt file + +-- chemit -- Wed, 02 Sep 2009 15:15:24 +0200 + +1.0.1 chemit 20090824 + + * make pom multi-redmine platform (use the platform property nuiton or chorem) + +1.0.0 chemit 20090822 + + * initial release, nuiton platform (http://www.nuiton.org) super pom + +=============================================================================== +fork from org.codelutin:lutinproject + +3.6.0 xxx 2009xxxx + * [chemit] - migrate groupId to org.nuiton, artifactId to nuitonproject ? + +3.5.4 chemit 20090510 + * [chatellier] - Update maven source plugin to 2.1 + * [chemit] - bump release plugin version to 2.0-beta-9 + +3.5.3 chemit 20090420 + * [chatellier] - update prerequisites to 2.0.10 + * [chatellier] - use project.reporting.outputEncoding (default to UTF-8) + * [chemit] - change hudson url + +3.5 chemit 20090409 + * 20090409 [chemit] - remove all dependencies to jrst, now prefer use doxia-module-jrst + +3.4 chemit 20090128 + * 20090218 [chemit] - release 3.4 + - remove all dependencies to our libs and plugin + + * 20090128 [chemit] - release 3.4.0 (for test only) + - fix bug sur l'url de nos super-pom lors de la génération d'un site. + - meilleure gestion des labs.id et labs.name via lutin-enforcer-rules 0.1 + * 20090127 [chemit] - ajout lien vers maven-lutin-skin dans le site + +3.3 chemit 20090107 + * 20090105 [chemit] - utilisation org.codelutin.jaxx:maven-jaxx-plugin:1.0 + * 20081230 [chemit] - utilisation du profile release-profile pour mettre les executions nécessaire à une release (enforcer, javadoc, sources,...) + * 20081215 [chemit] - ajout des versions de nos plugins ou librairies (a finir...) + +3.2 chemit (20081204) + * 20081205 [chemit] - utilisation du plugin enforcer pour faire des verifications sur le pom + - amélioration des propriétés scm + - suppression des groupId sur les plugins maven + - suppression du profile project (car supprimée si un autre + profile est active dans le pom) + - ce projet est désormais releasable + - mise en place du site + - Attention : utilisation de la propriété labs.project sur + le projet est devenu obligatoire. +3.1 chatellier (20081118) + * bump maven-license-switcher-plugin to 0.5 + * Update plugin version + * Add schorlet as developper + * use maven-i18n-plugin 0.7 + * use index.list in jar (to improve jar seek) + * fix wrong tag configuration linkXRef instead of linkXref + * improve codelutin repositories (add a plugin repo) + * use junit 4.5 + +ver-3-0 chatellier (20080924) + * no hard-cored phase for plugin dependency, use default id and phase + * use license-siwtcher 0.4 + * add version properties for your plugin to simplify plugin version change + * remove maven.verbose property, cause some bad side effects. + * remove plugin maven-plugin-plugin (nothing to be done here...) + * add property maven.site.locales to define locales to be used by site + * use jrst.verbose in jrst plugin instead of maven.verbose + * For child pom scm inheritance + * Modify SCM url for new SVN structure + * Use new SVN structure + * Change plugins groupId + * Change version of plugins (with lutinpluginproject 3.0) + +ver-2-5 xxx (2008xxx) + * Re-enable test by default + * Fix lutin plugins groupId + * Enable site report generation by default + * Update developer list + * only use supported maven2 report plugins + (see http://maven.apache.org/plugins/index.html) + * use maven2 report plugins + * replace scp by scp exe +ver-2-4 poussin (20080812) + * refactor pom to new directory layout compiliance with maven 2 + * use svn instead of CVS + * improve plugin configurations + +ver-2-1 poussin (20060913) + * add support for services directory in resources to put in jar Deleted: trunk/mavenpom4labs/pom.xml =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/pom.xml 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/pom.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -1,273 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<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/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - - <!-- ************************************************************* --> - <!-- *** POM Relationships *************************************** --> - <!-- ************************************************************* --> - - <parent> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom</artifactId> - <version>2.0-SNAPSHOT</version> - </parent> - - <artifactId>mavenpom4labs</artifactId> - - <!-- add this in your pom - <parent> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom4labs</artifactId> - <version>XXX</version> - </parent> - --> - - <!-- ************************************************************* --> - <!-- *** Project Information ************************************* --> - <!-- ************************************************************* --> - - <name>Mavenpom4labs</name> - - <description>Ancestor of all projects of Code Lutin based on a labs environnement</description> - - <inceptionYear>2010</inceptionYear> - - <licenses> - <license> - <name>General Public License (GPL)</name> - <url>${maven.license.file}</url> - <distribution>local</distribution> - </license> - </licenses> - - <!-- ************************************************************* --> - <!-- *** Build Environment ************************************** --> - <!-- ************************************************************* --> - - <!-- Build Environment : Environment Information --> - - <!-- Add this in your pom --> - <!--issueManagement> - <system>gforge</system> - <url>https://${platform}/activity?group_id=${labs.id}</url> - </issueManagement--> - - <!--Any mailing lists for the project--> - <!-- Add any of thoses in your pom --> - - <!--mailingLists> - <mailingList> - <name>${listId}-commits</name> - <subscribe>http://list.${platform}/mailman/listinfo/${listId}-commits</subscribe> - <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-commits</unsubscribe> - <post>${listId}-commits@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-commits/</archive> - </mailingList> - - <mailingList> - <name>${listId}-devel</name> - <subscribe>http://list.${platform}/mailman/listinfo/${listId}-devel</subscribe> - <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-devel</unsubscribe> - <post>${listId}-devel@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-devel/</archive> - </mailingList> - - <mailingList> - <name>${listId}-users</name> - <subscribe>http://list.${platform}/mailman/listinfo/${listId}-users</subscribe> - <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-users</unsubscribe> - <post>${listId}-users@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-users/</archive> - </mailingList> - </mailingLists--> - - <!-- ************************************************************* --> - <!-- *** Build Settings ****************************************** --> - <!-- ************************************************************* --> - - <properties> - - <labs.id/> - - <labs.list.host>lists.${platform}</labs.list.host> - - <!--<platform>labs.libre-entreprise.org</platform>--> - - </properties> - - <packaging>pom</packaging> - - <!--Site--> - <reporting> - <plugins> - - <plugin> - <groupId>org.codehaus.sonar-plugins</groupId> - <artifactId>maven-report</artifactId> - <version>0.1</version> - <configuration> - <sonar.host.url>http://hudson.nuiton.org/sonar</sonar.host.url> - </configuration> - </plugin> - - <!--plugin> - <artifactId>maven-changes-plugin</artifactId> - <version>2.3</version> - <configuration> - <issueLinkTemplatePerSystem> - <redmine>${redmine.issueLinkTemplate}</redmine> - </issueLinkTemplatePerSystem> - <xmlPath>${redmine.xmlPath}</xmlPath> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - </reports> - </reportSet> - </reportSets> - </plugin--> - - </plugins> - </reporting> - - <!-- ************************************************************* --> - <!-- *** Maven Environment *************************************** --> - <!-- ************************************************************* --> - - <!--Distribution--> - <!--distributionManagement> - <site> - <id>labs</id> - <url>scpexe://${platform}/home/groups/${projectId}/htdocs/</url> - </site> - </distributionManagement--> - - <!-- Maven Environment : profiles --> - <profiles> - - <!-- perform only on a release stage when using the maven-release-plugin --> - <profile> - <id>internal</id> - <activation> - <property> - <name>internal</name> - <value>true</value> - </property> - </activation> - - <properties> - <platform>nuiton.org</platform> - </properties> - - </profile> - - <profile> - <id>notInternal</id> - <activation> - <property> - <name>internal</name> - <value>false</value> - </property> - </activation> - - <properties> - <platform>labs.libre-entreprise.org</platform> - </properties> - - <!--Distribution--> - <distributionManagement> - <site> - <id>labs</id> - <url>scpexe://${platform}/home/groups/${projectId}/htdocs/</url> - </site> - </distributionManagement> - - - </profile> - - <!-- perform only on a release stage when using the maven-release-plugin --> - <profile> - <id>labs-build-release-profile</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - - <build> - <plugins> - <plugin> - - <artifactId>maven-antrun-plugin</artifactId> - <executions> - - <!-- on recopie le changelog.txt vers le site pour faire la release note --> - <execution> - <id>changeLogToSite</id> - <phase>pre-site</phase> - <configuration> - <tasks> - <copy verbose="${maven.verbose}" failonerror="false" - overwrite="false" file="changelog.txt" - tofile="src/site/rst/changelog.rst"> - - </copy> - </tasks> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - - </profile> - - <!-- launch this profile after a release:perform on target/checkout --> - <profile> - <id>labs-pre-release-profile</id> - <activation> - <property> - <name>performLabsPreRelease</name> - <value>true</value> - </property> - </activation> - - - </profile> - - <!-- perform a labs release after a successfull release --> - <profile> - <id>labs-release-profile</id> - <activation> - <property> - <name>performLabsRelease</name> - <value>true</value> - </property> - </activation> - - </profile> - - <!-- perform a labs release after a successfull release --> - <profile> - <id>labs-next-version-profile</id> - <activation> - <property> - <name>labsNextVersion</name> - <value>true</value> - </property> - </activation> - - </profile> - - - </profiles> - -</project> Copied: trunk/mavenpom4labs/pom.xml (from rev 751, branches/mavenpom-2.x/mavenpom4labs/pom.xml) =================================================================== --- trunk/mavenpom4labs/pom.xml (rev 0) +++ trunk/mavenpom4labs/pom.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,273 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> + + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom</artifactId> + <version>2.0-SNAPSHOT</version> + </parent> + + <artifactId>mavenpom4labs</artifactId> + + <!-- add this in your pom + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom4labs</artifactId> + <version>XXX</version> + </parent> + --> + + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> + + <name>Mavenpom4labs</name> + + <description>Ancestor of all projects of Code Lutin based on a labs environnement</description> + + <inceptionYear>2010</inceptionYear> + + <licenses> + <license> + <name>General Public License (GPL)</name> + <url>${maven.license.file}</url> + <distribution>local</distribution> + </license> + </licenses> + + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> + + <!-- Build Environment : Environment Information --> + + <!-- Add this in your pom --> + <!--issueManagement> + <system>gforge</system> + <url>https://${platform}/activity?group_id=${labs.id}</url> + </issueManagement--> + + <!--Any mailing lists for the project--> + <!-- Add any of thoses in your pom --> + + <!--mailingLists> + <mailingList> + <name>${listId}-commits</name> + <subscribe>http://list.${platform}/mailman/listinfo/${listId}-commits</subscribe> + <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-commits</unsubscribe> + <post>${listId}-commits@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-commits/</archive> + </mailingList> + + <mailingList> + <name>${listId}-devel</name> + <subscribe>http://list.${platform}/mailman/listinfo/${listId}-devel</subscribe> + <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-devel</unsubscribe> + <post>${listId}-devel@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-devel/</archive> + </mailingList> + + <mailingList> + <name>${listId}-users</name> + <subscribe>http://list.${platform}/mailman/listinfo/${listId}-users</subscribe> + <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-users</unsubscribe> + <post>${listId}-users@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-users/</archive> + </mailingList> + </mailingLists--> + + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> + + <properties> + + <labs.id/> + + <labs.list.host>lists.${platform}</labs.list.host> + + <!--<platform>labs.libre-entreprise.org</platform>--> + + </properties> + + <packaging>pom</packaging> + + <!--Site--> + <reporting> + <plugins> + + <plugin> + <groupId>org.codehaus.sonar-plugins</groupId> + <artifactId>maven-report</artifactId> + <version>0.1</version> + <configuration> + <sonar.host.url>http://hudson.nuiton.org/sonar</sonar.host.url> + </configuration> + </plugin> + + <!--plugin> + <artifactId>maven-changes-plugin</artifactId> + <version>2.3</version> + <configuration> + <issueLinkTemplatePerSystem> + <redmine>${redmine.issueLinkTemplate}</redmine> + </issueLinkTemplatePerSystem> + <xmlPath>${redmine.xmlPath}</xmlPath> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + </reports> + </reportSet> + </reportSets> + </plugin--> + + </plugins> + </reporting> + + <!-- ************************************************************* --> + <!-- *** Maven Environment *************************************** --> + <!-- ************************************************************* --> + + <!--Distribution--> + <!--distributionManagement> + <site> + <id>labs</id> + <url>scpexe://${platform}/home/groups/${projectId}/htdocs/</url> + </site> + </distributionManagement--> + + <!-- Maven Environment : profiles --> + <profiles> + + <!-- perform only on a release stage when using the maven-release-plugin --> + <profile> + <id>internal</id> + <activation> + <property> + <name>internal</name> + <value>true</value> + </property> + </activation> + + <properties> + <platform>nuiton.org</platform> + </properties> + + </profile> + + <profile> + <id>notInternal</id> + <activation> + <property> + <name>internal</name> + <value>false</value> + </property> + </activation> + + <properties> + <platform>labs.libre-entreprise.org</platform> + </properties> + + <!--Distribution--> + <distributionManagement> + <site> + <id>labs</id> + <url>scpexe://${platform}/home/groups/${projectId}/htdocs/</url> + </site> + </distributionManagement> + + + </profile> + + <!-- perform only on a release stage when using the maven-release-plugin --> + <profile> + <id>labs-build-release-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + + <build> + <plugins> + <plugin> + + <artifactId>maven-antrun-plugin</artifactId> + <executions> + + <!-- on recopie le changelog.txt vers le site pour faire la release note --> + <execution> + <id>changeLogToSite</id> + <phase>pre-site</phase> + <configuration> + <tasks> + <copy verbose="${maven.verbose}" failonerror="false" + overwrite="false" file="changelog.txt" + tofile="src/site/rst/changelog.rst"> + + </copy> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + </profile> + + <!-- launch this profile after a release:perform on target/checkout --> + <profile> + <id>labs-pre-release-profile</id> + <activation> + <property> + <name>performLabsPreRelease</name> + <value>true</value> + </property> + </activation> + + + </profile> + + <!-- perform a labs release after a successfull release --> + <profile> + <id>labs-release-profile</id> + <activation> + <property> + <name>performLabsRelease</name> + <value>true</value> + </property> + </activation> + + </profile> + + <!-- perform a labs release after a successfull release --> + <profile> + <id>labs-next-version-profile</id> + <activation> + <property> + <name>labsNextVersion</name> + <value>true</value> + </property> + </activation> + + </profile> + + + </profiles> + +</project> Deleted: trunk/mavenpom4labs/src/site/apt/Todo.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/apt/Todo.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/apt/Todo.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,17 +0,0 @@ ----- -TODO ----- ----- -2009-08-22 ----- - - -Création d'archetypes - - Il nous faudrait 2 archetypes pour la construction d'un nouveau projet : - - * un pour un projet no multi-modules - - * un pour les projets multi-modules - - \ No newline at end of file Copied: trunk/mavenpom4labs/src/site/apt/Todo.apt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/apt/Todo.apt) =================================================================== --- trunk/mavenpom4labs/src/site/apt/Todo.apt (rev 0) +++ trunk/mavenpom4labs/src/site/apt/Todo.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,17 @@ +---- +TODO +---- +---- +2009-08-22 +---- + + +Création d'archetypes + + Il nous faudrait 2 archetypes pour la construction d'un nouveau projet : + + * un pour un projet no multi-modules + + * un pour les projets multi-modules + + \ No newline at end of file Deleted: trunk/mavenpom4labs/src/site/apt/index.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/apt/index.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/apt/index.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,42 +0,0 @@ ------- -Maven nuiton pom ------- ------- -2009-08-22 ------- - -Présentation - - Le projet <mavenpom4redmine> est un pom de type <Corporate> dont héritent tous les - projets {{{http://www.nuiton.org}nuiton}} et {{{http://www.chorem.org}chorem}}. - - Il étend <<mavenpom>> et ajoute les profiles de release pour redmine. - - -Les propriétés - - Voir la page des {{{properties.html}propriétés}}. - -Vérification de conformité - - On effectue sur le pom des contrôles de conformités via le plugin maven-enforcer-plugin. - -* propriétés obligatoires - - <<labs.id>> - -* Fichiers obligatoires - --------------------------------------------------------------------------------- -README.txt -changelog.txt -LICENSE.txt --------------------------------------------------------------------------------- - -Les profiles - - Voir la page des {{{profiles.html}profiles}}. - -Configuration des plugins - - Voir la page des {{{plugins.html}plugins}}. Copied: trunk/mavenpom4labs/src/site/apt/index.apt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/apt/index.apt) =================================================================== --- trunk/mavenpom4labs/src/site/apt/index.apt (rev 0) +++ trunk/mavenpom4labs/src/site/apt/index.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,42 @@ +------ +Maven nuiton pom +------ +------ +2009-08-22 +------ + +Présentation + + Le projet <mavenpom4redmine> est un pom de type <Corporate> dont héritent tous les + projets {{{http://www.nuiton.org}nuiton}} et {{{http://www.chorem.org}chorem}}. + + Il étend <<mavenpom>> et ajoute les profiles de release pour redmine. + + +Les propriétés + + Voir la page des {{{properties.html}propriétés}}. + +Vérification de conformité + + On effectue sur le pom des contrôles de conformités via le plugin maven-enforcer-plugin. + +* propriétés obligatoires + + <<labs.id>> + +* Fichiers obligatoires + +-------------------------------------------------------------------------------- +README.txt +changelog.txt +LICENSE.txt +-------------------------------------------------------------------------------- + +Les profiles + + Voir la page des {{{profiles.html}profiles}}. + +Configuration des plugins + + Voir la page des {{{plugins.html}plugins}}. Deleted: trunk/mavenpom4labs/src/site/apt/profiles.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/apt/profiles.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/apt/profiles.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,91 +0,0 @@ ------- -Profiles disponibles dans mavenpom4labs ------- ------- -2009-10-11 ------- - -Abstract - - Cette page décrit l'ensemble des profiles ajoutés (ou surchargés) dans - <mavenpom4labs> et disponibles pour tous les projets qui héritent de - <mavenpom>. - - Reporter vous a cette page pour avoir la liste des profiles de - {{{http://maven-site.nuiton.org/mavenpom/profiles.html} mavenpom}}. - -Vue d'ensemble - - -*-------------------------------+---------------------------+ -| <<property>> | <<Activation property>> | -*-------------------------------+---------------------------+ -| {{labs-pre-release-profile}} | <<performLabsPreRelease>> | -*-------------------------------+---------------------------+ -| {{labs-release-profile}} | <<performLabsRelease>> | -*-------------------------------+---------------------------+ -| {{labs-next-version-profile}} | <<labsNextVersion>> | -*-------------------------------+---------------------------+ - - -Détails - -* {labs-pre-release-profile} - - Ce profile permet suite à une release de publier la release sur redmine et est - activable via la propriété <<performLabsPreRelease>>. - - Il faut l'utiliser sur le projet releasé, cela déployera les fichiers attachés à la release sur redmine - et génèrera les contenus d'annonces ici : - --------------------------------------------------------------------------------- -target/generate-sources/announcement/release-news-announcement.vm -target/generate-sources/announcement/release-email-announcement.vm --------------------------------------------------------------------------------- - - Un paramètre supplémentaire <<-DdryRun=false>> est à passer pour confirmer l'exécution des commandes - sur le serveur redmine. - --------------------------------------------------------------------------------- -cd target/checkout; mvn validate -DperformLabsPreRelease --------------------------------------------------------------------------------- - - Une fois que tout à l'air ok : - --------------------------------------------------------------------------------- -cd target/checkout; mvn validate -DperformLabsPreRelease -DdryRun=false --------------------------------------------------------------------------------- - - -* {labs-release-profile} - - Ce profile permet suite à une release de publier la release sur redmine et est - activable via la propriété <<performLabsRelease>>. - - Il faut l'utiliser sur le projet releasé (et pas le projet en SNAPSHOT). - --------------------------------------------------------------------------------- -cd target/checkout; mvn validate -DperformLabsRelease --------------------------------------------------------------------------------- - - Une fois que tout à l'air ok : - --------------------------------------------------------------------------------- -cd target/checkout; mvn validate -DperformLabsRelease -DdryRun=false --------------------------------------------------------------------------------- - -* {labs-next-version-profile} - - Ce profile permet de créer la version sur le serveur redmine correspondant à la - version (non snapshot) du pom, est activable par la propriété - <<labsNextVersion>>. - --------------------------------------------------------------------------------- -mvn -Plabs-next-version-profile -DpreviousVersionName=XX --------------------------------------------------------------------------------- - - ou - --------------------------------------------------------------------------------- -mvn -DlabsNextVersion -DpreviousVersionName=XX --------------------------------------------------------------------------------- Copied: trunk/mavenpom4labs/src/site/apt/profiles.apt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/apt/profiles.apt) =================================================================== --- trunk/mavenpom4labs/src/site/apt/profiles.apt (rev 0) +++ trunk/mavenpom4labs/src/site/apt/profiles.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,91 @@ +------ +Profiles disponibles dans mavenpom4labs +------ +------ +2009-10-11 +------ + +Abstract + + Cette page décrit l'ensemble des profiles ajoutés (ou surchargés) dans + <mavenpom4labs> et disponibles pour tous les projets qui héritent de + <mavenpom>. + + Reporter vous a cette page pour avoir la liste des profiles de + {{{http://maven-site.nuiton.org/mavenpom/profiles.html} mavenpom}}. + +Vue d'ensemble + + +*-------------------------------+---------------------------+ +| <<property>> | <<Activation property>> | +*-------------------------------+---------------------------+ +| {{labs-pre-release-profile}} | <<performLabsPreRelease>> | +*-------------------------------+---------------------------+ +| {{labs-release-profile}} | <<performLabsRelease>> | +*-------------------------------+---------------------------+ +| {{labs-next-version-profile}} | <<labsNextVersion>> | +*-------------------------------+---------------------------+ + + +Détails + +* {labs-pre-release-profile} + + Ce profile permet suite à une release de publier la release sur redmine et est + activable via la propriété <<performLabsPreRelease>>. + + Il faut l'utiliser sur le projet releasé, cela déployera les fichiers attachés à la release sur redmine + et génèrera les contenus d'annonces ici : + +-------------------------------------------------------------------------------- +target/generate-sources/announcement/release-news-announcement.vm +target/generate-sources/announcement/release-email-announcement.vm +-------------------------------------------------------------------------------- + + Un paramètre supplémentaire <<-DdryRun=false>> est à passer pour confirmer l'exécution des commandes + sur le serveur redmine. + +-------------------------------------------------------------------------------- +cd target/checkout; mvn validate -DperformLabsPreRelease +-------------------------------------------------------------------------------- + + Une fois que tout à l'air ok : + +-------------------------------------------------------------------------------- +cd target/checkout; mvn validate -DperformLabsPreRelease -DdryRun=false +-------------------------------------------------------------------------------- + + +* {labs-release-profile} + + Ce profile permet suite à une release de publier la release sur redmine et est + activable via la propriété <<performLabsRelease>>. + + Il faut l'utiliser sur le projet releasé (et pas le projet en SNAPSHOT). + +-------------------------------------------------------------------------------- +cd target/checkout; mvn validate -DperformLabsRelease +-------------------------------------------------------------------------------- + + Une fois que tout à l'air ok : + +-------------------------------------------------------------------------------- +cd target/checkout; mvn validate -DperformLabsRelease -DdryRun=false +-------------------------------------------------------------------------------- + +* {labs-next-version-profile} + + Ce profile permet de créer la version sur le serveur redmine correspondant à la + version (non snapshot) du pom, est activable par la propriété + <<labsNextVersion>>. + +-------------------------------------------------------------------------------- +mvn -Plabs-next-version-profile -DpreviousVersionName=XX +-------------------------------------------------------------------------------- + + ou + +-------------------------------------------------------------------------------- +mvn -DlabsNextVersion -DpreviousVersionName=XX +-------------------------------------------------------------------------------- Deleted: trunk/mavenpom4labs/src/site/apt/properties.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/apt/properties.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/apt/properties.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,36 +0,0 @@ ------- -Propriétés disponibles dans mavenpom4labs ------- ------- -2009-10-11 ------- - -Abstract - - Cette décrit l'ensemble des propriétés ajoutés dans <mavenpom4labs>. - -Vue d'ensemble - -*----------------------------------------------+--------------------------------------------------------+ -| <<property>> | <<Default- value>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{platform}} | <<labs.libre-entreprise.org>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{labs.id}} | - | -*----------------------------------------------+--------------------------------------------------------+ -| {{labs.list.host}} | - | -*----------------------------------------------+--------------------------------------------------------+ - -Détails - -* {platform} - - La plateforme labs utilisée. - -* {labs.id} - - L'id du projet sur le labs. - -* {labs.list.host} - - Le nom du serveur des listes de diffusion. \ No newline at end of file Copied: trunk/mavenpom4labs/src/site/apt/properties.apt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/apt/properties.apt) =================================================================== --- trunk/mavenpom4labs/src/site/apt/properties.apt (rev 0) +++ trunk/mavenpom4labs/src/site/apt/properties.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,36 @@ +------ +Propriétés disponibles dans mavenpom4labs +------ +------ +2009-10-11 +------ + +Abstract + + Cette décrit l'ensemble des propriétés ajoutés dans <mavenpom4labs>. + +Vue d'ensemble + +*----------------------------------------------+--------------------------------------------------------+ +| <<property>> | <<Default- value>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{platform}} | <<labs.libre-entreprise.org>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{labs.id}} | - | +*----------------------------------------------+--------------------------------------------------------+ +| {{labs.list.host}} | - | +*----------------------------------------------+--------------------------------------------------------+ + +Détails + +* {platform} + + La plateforme labs utilisée. + +* {labs.id} + + L'id du projet sur le labs. + +* {labs.list.host} + + Le nom du serveur des listes de diffusion. \ No newline at end of file Deleted: trunk/mavenpom4labs/src/site/apt/release.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/apt/release.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/apt/release.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,23 +0,0 @@ ------- -Effectuer une release ------- ------- -2010-01-10 ------- - -Abstract - - Cette page décrit la méthode pour effectuer une release d'un projet héritant de <<mavenpom4labs>>. - - TODO - -Etape 1 - - Effectuer une release normal - --------------------------------------------------------------------------------- -mvn release:prepare -mvn release:perform --------------------------------------------------------------------------------- - -TODO Continue this \ No newline at end of file Copied: trunk/mavenpom4labs/src/site/apt/release.apt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/apt/release.apt) =================================================================== --- trunk/mavenpom4labs/src/site/apt/release.apt (rev 0) +++ trunk/mavenpom4labs/src/site/apt/release.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,23 @@ +------ +Effectuer une release +------ +------ +2010-01-10 +------ + +Abstract + + Cette page décrit la méthode pour effectuer une release d'un projet héritant de <<mavenpom4labs>>. + + TODO + +Etape 1 + + Effectuer une release normal + +-------------------------------------------------------------------------------- +mvn release:prepare +mvn release:perform +-------------------------------------------------------------------------------- + +TODO Continue this \ No newline at end of file Deleted: trunk/mavenpom4labs/src/site/en/apt/Todo.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/en/apt/Todo.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/en/apt/Todo.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,17 +0,0 @@ ----- -TODO ----- ----- -2009-08-22 ----- - - -Création d'archetypes - - Il nous faudrait 2 archetypes pour la construction d'un nouveau projet : - - * un pour un projet no multi-modules - - * un pour les projets multi-modules - - \ No newline at end of file Copied: trunk/mavenpom4labs/src/site/en/apt/Todo.apt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/en/apt/Todo.apt) =================================================================== --- trunk/mavenpom4labs/src/site/en/apt/Todo.apt (rev 0) +++ trunk/mavenpom4labs/src/site/en/apt/Todo.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,17 @@ +---- +TODO +---- +---- +2009-08-22 +---- + + +Création d'archetypes + + Il nous faudrait 2 archetypes pour la construction d'un nouveau projet : + + * un pour un projet no multi-modules + + * un pour les projets multi-modules + + \ No newline at end of file Deleted: trunk/mavenpom4labs/src/site/en/apt/index.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/en/apt/index.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/en/apt/index.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,41 +0,0 @@ ------- -Maven nuiton pom ------- ------- -2009-09-01 ------- - -Abstract - - Corporate pom of all {{{http://www.nuiton.org}nuiton}} and - {{{http://www.chorem.org}chorem}} projects. - - the pom heritates from <<mavenpom>> and add full support to make release on redmine server. - -Available properties - - See the {{{properties.html}properties}} page. - -Conformity checks - - Some conformity checks are done to make sure we have all necessary files. - -* mandatory properties - - <<labs.id>> - -* mandatories files - --------------------------------------------------------------------------------- -README.txt -changelog.txt -LICENSE.txt --------------------------------------------------------------------------------- - -Available profiles - - See the {{{profiles.html}profiles}} page. - -Plugins configuration - - See the {{{plugins.html}plugins}} page. Copied: trunk/mavenpom4labs/src/site/en/apt/index.apt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/en/apt/index.apt) =================================================================== --- trunk/mavenpom4labs/src/site/en/apt/index.apt (rev 0) +++ trunk/mavenpom4labs/src/site/en/apt/index.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,41 @@ +------ +Maven nuiton pom +------ +------ +2009-09-01 +------ + +Abstract + + Corporate pom of all {{{http://www.nuiton.org}nuiton}} and + {{{http://www.chorem.org}chorem}} projects. + + the pom heritates from <<mavenpom>> and add full support to make release on redmine server. + +Available properties + + See the {{{properties.html}properties}} page. + +Conformity checks + + Some conformity checks are done to make sure we have all necessary files. + +* mandatory properties + + <<labs.id>> + +* mandatories files + +-------------------------------------------------------------------------------- +README.txt +changelog.txt +LICENSE.txt +-------------------------------------------------------------------------------- + +Available profiles + + See the {{{profiles.html}profiles}} page. + +Plugins configuration + + See the {{{plugins.html}plugins}} page. Deleted: trunk/mavenpom4labs/src/site/en/apt/profiles.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/en/apt/profiles.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/en/apt/profiles.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,27 +0,0 @@ ------- -Available profiles in mavenpom4labs ------- ------- -2009-10-11 ------- - -Abstract - - This page describe all profiles defined in <mavenpom4labs>. - -Overview - -*-------------------------------+---------------------------+ -| <<property>> | <<Activation property>> | -*-------------------------------+---------------------------+ -| {{labs-pre-release-profile}} | <<performLabsPreRelease>> | -*-------------------------------+---------------------------+ -| {{labs-release-profile}} | <<performLabsRelease>> | -*-------------------------------+---------------------------+ -| {{labs-next-version-profile}} | <<labsNextVersion>> | -*-------------------------------+---------------------------+ - -Details - - <TODO Translate me...> - \ No newline at end of file Copied: trunk/mavenpom4labs/src/site/en/apt/profiles.apt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/en/apt/profiles.apt) =================================================================== --- trunk/mavenpom4labs/src/site/en/apt/profiles.apt (rev 0) +++ trunk/mavenpom4labs/src/site/en/apt/profiles.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,27 @@ +------ +Available profiles in mavenpom4labs +------ +------ +2009-10-11 +------ + +Abstract + + This page describe all profiles defined in <mavenpom4labs>. + +Overview + +*-------------------------------+---------------------------+ +| <<property>> | <<Activation property>> | +*-------------------------------+---------------------------+ +| {{labs-pre-release-profile}} | <<performLabsPreRelease>> | +*-------------------------------+---------------------------+ +| {{labs-release-profile}} | <<performLabsRelease>> | +*-------------------------------+---------------------------+ +| {{labs-next-version-profile}} | <<labsNextVersion>> | +*-------------------------------+---------------------------+ + +Details + + <TODO Translate me...> + \ No newline at end of file Deleted: trunk/mavenpom4labs/src/site/en/apt/properties.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/en/apt/properties.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/en/apt/properties.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,36 +0,0 @@ ------- -Available properties in mavenpom4labs ------- ------- -2009-10-11 ------- - -Abstract - - This page describe all properties defined in <mavenpom4labs>. - -Overview - -*----------------------------------------------+--------------------------------------------------------+ -| <<property>> | <<Default- value>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{platform}} | <<labs.libre-entreprise.org>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{labs.id}} | - | -*----------------------------------------------+--------------------------------------------------------+ -| {{labs.list.host}} | - | -*----------------------------------------------+--------------------------------------------------------+ - -Details - -* {platform} - - Labs platform. - -* {labs.id} - - Id of the project on labs. - -* {labs.list.host} - - host of lists \ No newline at end of file Copied: trunk/mavenpom4labs/src/site/en/apt/properties.apt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/en/apt/properties.apt) =================================================================== --- trunk/mavenpom4labs/src/site/en/apt/properties.apt (rev 0) +++ trunk/mavenpom4labs/src/site/en/apt/properties.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,36 @@ +------ +Available properties in mavenpom4labs +------ +------ +2009-10-11 +------ + +Abstract + + This page describe all properties defined in <mavenpom4labs>. + +Overview + +*----------------------------------------------+--------------------------------------------------------+ +| <<property>> | <<Default- value>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{platform}} | <<labs.libre-entreprise.org>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{labs.id}} | - | +*----------------------------------------------+--------------------------------------------------------+ +| {{labs.list.host}} | - | +*----------------------------------------------+--------------------------------------------------------+ + +Details + +* {platform} + + Labs platform. + +* {labs.id} + + Id of the project on labs. + +* {labs.list.host} + + host of lists \ No newline at end of file Deleted: trunk/mavenpom4labs/src/site/en/apt/release.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/en/apt/release.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/en/apt/release.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,24 +0,0 @@ ------- -Make a release from mavenpom4redmine ------- ------- -2010-01-10 ------- - -Abstract - - Cette page décrit la méthode pour effectuer une release d'un projet héritant de <<mavenpom4redmine>>. - - TODO Translate this and finish it. - -Etape 1 - - Effectuer une release normal - --------------------------------------------------------------------------------- -mvn release:prepare -mvn release:perform --------------------------------------------------------------------------------- - -Etape 2 - Copied: trunk/mavenpom4labs/src/site/en/apt/release.apt (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/en/apt/release.apt) =================================================================== --- trunk/mavenpom4labs/src/site/en/apt/release.apt (rev 0) +++ trunk/mavenpom4labs/src/site/en/apt/release.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,24 @@ +------ +Make a release from mavenpom4redmine +------ +------ +2010-01-10 +------ + +Abstract + + Cette page décrit la méthode pour effectuer une release d'un projet héritant de <<mavenpom4redmine>>. + + TODO Translate this and finish it. + +Etape 1 + + Effectuer une release normal + +-------------------------------------------------------------------------------- +mvn release:prepare +mvn release:perform +-------------------------------------------------------------------------------- + +Etape 2 + Deleted: trunk/mavenpom4labs/src/site/site_en.xml =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/site_en.xml 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/site_en.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project name="${project.name}"> - - <bannerLeft> - <name>${project.name}</name> - <href>index.html</href> - </bannerLeft> - - <body> - - <breadcrumbs> - <item name="${project.name}" href="index.html"/> - </breadcrumbs> - - <menu ref="parent"/> - - <menu name="Inside mavenpom4labs"> - <item name="Home" href="/index.html"/> - <item name="Properties" href="properties.html"/> - <item name="Profiles" href="profiles.html"/> - </menu> - - <menu name="Dev"> - <item name="Make a release" href="release.html"/> - <item name="Todo" href="Todo.html"/> - </menu> - - <menu name="Links"> - <item name="mavenpom4labs (french)" href="../index.html"/> - <item name="maven-nuiton-skin" href="http://maven-site.nuiton.org/maven-nuiton-skin"/> - <item name="maven-helper-plugin" href="http://maven-site.nuiton.org/maven-helper-plugin"/> - <item name="maven-license-plugin" href="http://maven-site.nuiton.org/maven-license-plugin"/> - </menu> - - <menu ref="reports"/> - - </body> -</project> Copied: trunk/mavenpom4labs/src/site/site_en.xml (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/site_en.xml) =================================================================== --- trunk/mavenpom4labs/src/site/site_en.xml (rev 0) +++ trunk/mavenpom4labs/src/site/site_en.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="${project.name}"> + + <bannerLeft> + <name>${project.name}</name> + <href>index.html</href> + </bannerLeft> + + <body> + + <breadcrumbs> + <item name="${project.name}" href="index.html"/> + </breadcrumbs> + + <menu ref="parent"/> + + <menu name="Inside mavenpom4labs"> + <item name="Home" href="/index.html"/> + <item name="Properties" href="properties.html"/> + <item name="Profiles" href="profiles.html"/> + </menu> + + <menu name="Dev"> + <item name="Make a release" href="release.html"/> + <item name="Todo" href="Todo.html"/> + </menu> + + <menu name="Links"> + <item name="mavenpom4labs (french)" href="../index.html"/> + <item name="maven-nuiton-skin" href="http://maven-site.nuiton.org/maven-nuiton-skin"/> + <item name="maven-helper-plugin" href="http://maven-site.nuiton.org/maven-helper-plugin"/> + <item name="maven-license-plugin" href="http://maven-site.nuiton.org/maven-license-plugin"/> + </menu> + + <menu ref="reports"/> + + </body> +</project> Deleted: trunk/mavenpom4labs/src/site/site_fr.xml =================================================================== --- branches/mavenpom-2.x/mavenpom4labs/src/site/site_fr.xml 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4labs/src/site/site_fr.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project name="${project.name}"> - - <bannerLeft> - <name>${project.name}</name> - <href>index.html</href> - </bannerLeft> - - <body> - - <breadcrumbs> - <item name="${project.name}" href="index.html"/> - </breadcrumbs> - - <menu ref="parent"/> - - <menu name="Inside mavenpom4labs"> - <item name="Accueil" href="index.html"/> - <item name="Propriétés" href="properties.html"/> - <item name="Profiles" href="profiles.html"/> - </menu> - - <menu name="Développeur"> - <item name="Faire une release" href="release.html"/> - <item name="A faire" href="Todo.html"/> - </menu> - - <menu name="Liens"> - <item name="mavenpom4labs (english)" href="/en/index.html"/> - <item name="maven-nuiton-skin" href="http://maven-site.nuiton.org/maven-nuiton-skin"/> - <item name="maven-helper-plugin" href="http://maven-site.nuiton.org/maven-helper-plugin"/> - <item name="maven-license-plugin" href="http://maven-site.nuiton.org/maven-license-plugin"/> - </menu> - - <menu ref="reports"/> - - </body> -</project> Copied: trunk/mavenpom4labs/src/site/site_fr.xml (from rev 751, branches/mavenpom-2.x/mavenpom4labs/src/site/site_fr.xml) =================================================================== --- trunk/mavenpom4labs/src/site/site_fr.xml (rev 0) +++ trunk/mavenpom4labs/src/site/site_fr.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="${project.name}"> + + <bannerLeft> + <name>${project.name}</name> + <href>index.html</href> + </bannerLeft> + + <body> + + <breadcrumbs> + <item name="${project.name}" href="index.html"/> + </breadcrumbs> + + <menu ref="parent"/> + + <menu name="Inside mavenpom4labs"> + <item name="Accueil" href="index.html"/> + <item name="Propriétés" href="properties.html"/> + <item name="Profiles" href="profiles.html"/> + </menu> + + <menu name="Développeur"> + <item name="Faire une release" href="release.html"/> + <item name="A faire" href="Todo.html"/> + </menu> + + <menu name="Liens"> + <item name="mavenpom4labs (english)" href="/en/index.html"/> + <item name="maven-nuiton-skin" href="http://maven-site.nuiton.org/maven-nuiton-skin"/> + <item name="maven-helper-plugin" href="http://maven-site.nuiton.org/maven-helper-plugin"/> + <item name="maven-license-plugin" href="http://maven-site.nuiton.org/maven-license-plugin"/> + </menu> + + <menu ref="reports"/> + + </body> +</project> Property changes on: trunk/mavenpom4redmine ___________________________________________________________________ Added: svn:ignore + target *.ipr *.iws *.iml .project .classpath Deleted: trunk/mavenpom4redmine/LICENSE.txt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/LICENSE.txt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/LICENSE.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,166 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - - This version of the GNU Lesser General Public License incorporates -the terms and conditions of version 3 of the GNU General Public -License, supplemented by the additional permissions listed below. - - 0. Additional Definitions. - - As used herein, "this License" refers to version 3 of the GNU Lesser -General Public License, and the "GNU GPL" refers to version 3 of the GNU -General Public License. - - "The Library" refers to a covered work governed by this License, -other than an Application or a Combined Work as defined below. - - An "Application" is any work that makes use of an interface provided -by the Library, but which is not otherwise based on the Library. -Defining a subclass of a class defined by the Library is deemed a mode -of using an interface provided by the Library. - - A "Combined Work" is a work produced by combining or linking an -Application with the Library. The particular version of the Library -with which the Combined Work was made is also called the "Linked -Version". - - The "Minimal Corresponding Source" for a Combined Work means the -Corresponding Source for the Combined Work, excluding any source code -for portions of the Combined Work that, considered in isolation, are -based on the Application, and not on the Linked Version. - - The "Corresponding Application Code" for a Combined Work means the -object code and/or source code for the Application, including any data -and utility programs needed for reproducing the Combined Work from the -Application, but excluding the System Libraries of the Combined Work. - - 1. Exception to Section 3 of the GNU GPL. - - You may convey a covered work under sections 3 and 4 of this License -without being bound by section 3 of the GNU GPL. - - 2. Conveying Modified Versions. - - If you modify a copy of the Library, and, in your modifications, a -facility refers to a function or data to be supplied by an Application -that uses the facility (other than as an argument passed when the -facility is invoked), then you may convey a copy of the modified -version: - - a) under this License, provided that you make a good faith effort to - ensure that, in the event an Application does not supply the - function or data, the facility still operates, and performs - whatever part of its purpose remains meaningful, or - - b) under the GNU GPL, with none of the additional permissions of - this License applicable to that copy. - - 3. Object Code Incorporating Material from Library Header Files. - - The object code form of an Application may incorporate material from -a header file that is part of the Library. You may convey such object -code under terms of your choice, provided that, if the incorporated -material is not limited to numerical parameters, data structure -layouts and accessors, or small macros, inline functions and templates -(ten or fewer lines in length), you do both of the following: - - a) Give prominent notice with each copy of the object code that the - Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the object code with a copy of the GNU GPL and this license - document. - - 4. Combined Works. - - You may convey a Combined Work under terms of your choice that, -taken together, effectively do not restrict modification of the -portions of the Library contained in the Combined Work and reverse -engineering for debugging such modifications, if you also do each of -the following: - - a) Give prominent notice with each copy of the Combined Work that - the Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the Combined Work with a copy of the GNU GPL and this license - document. - - c) For a Combined Work that displays copyright notices during - execution, include the copyright notice for the Library among - these notices, as well as a reference directing the user to the - copies of the GNU GPL and this license document. - - d) Do one of the following: - - 0) Convey the Minimal Corresponding Source under the terms of this - License, and the Corresponding Application Code in a form - suitable for, and under terms that permit, the user to - recombine or relink the Application with a modified version of - the Linked Version to produce a modified Combined Work, in the - manner specified by section 6 of the GNU GPL for conveying - Corresponding Source. - - 1) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (a) uses at run time - a copy of the Library already present on the user's computer - system, and (b) will operate properly with a modified version - of the Library that is interface-compatible with the Linked - Version. - - e) Provide Installation Information, but only if you would otherwise - be required to provide such information under section 6 of the - GNU GPL, and only to the extent that such information is - necessary to install and execute a modified version of the - Combined Work produced by recombining or relinking the - Application with a modified version of the Linked Version. (If - you use option 4d0, the Installation Information must accompany - the Minimal Corresponding Source and Corresponding Application - Code. If you use option 4d1, you must provide the Installation - Information in the manner specified by section 6 of the GNU GPL - for conveying Corresponding Source.) - - 5. Combined Libraries. - - You may place library facilities that are a work based on the -Library side by side in a single library together with other library -facilities that are not Applications and are not covered by this -License, and convey such a combined library under terms of your -choice, if you do both of the following: - - a) Accompany the combined library with a copy of the same work based - on the Library, uncombined with any other library facilities, - conveyed under the terms of this License. - - b) Give prominent notice with the combined library that part of it - is a work based on the Library, and explaining where to find the - accompanying uncombined form of the same work. - - 6. Revised Versions of the GNU Lesser General Public License. - - The Free Software Foundation may publish revised and/or new versions -of the GNU Lesser General Public License from time to time. Such new -versions will be similar in spirit to the present version, but may -differ in detail to address new problems or concerns. - - Each version is given a distinguishing version number. If the -Library as you received it specifies that a certain numbered version -of the GNU Lesser General Public License "or any later version" -applies to it, you have the option of following the terms and -conditions either of that published version or of any later version -published by the Free Software Foundation. If the Library as you -received it does not specify a version number of the GNU Lesser -General Public License, you may choose any version of the GNU Lesser -General Public License ever published by the Free Software Foundation. - - If the Library as you received it specifies that a proxy can decide -whether future versions of the GNU Lesser General Public License shall -apply, that proxy's public statement of acceptance of any version is -permanent authorization for you to choose that version for the -Library. - Copied: trunk/mavenpom4redmine/LICENSE.txt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/LICENSE.txt) =================================================================== --- trunk/mavenpom4redmine/LICENSE.txt (rev 0) +++ trunk/mavenpom4redmine/LICENSE.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,166 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. + Deleted: trunk/mavenpom4redmine/README.txt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/README.txt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/README.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,2 +0,0 @@ -To deploy new version of pom: mvn deploy -To install localy: mvn install Copied: trunk/mavenpom4redmine/README.txt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/README.txt) =================================================================== --- trunk/mavenpom4redmine/README.txt (rev 0) +++ trunk/mavenpom4redmine/README.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,2 @@ +To deploy new version of pom: mvn deploy +To install localy: mvn install Deleted: trunk/mavenpom4redmine/changelog.txt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/changelog.txt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/changelog.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,110 +0,0 @@ -1.1.0 chemit 20091101 - - * [FEATURE #87] utilisation maven-license-plugin 2.0.0 et maven-helper-plugin 1.1.0 - * [FEATURE #92] permettre de ne pas utiliser jredmine (property jredmine.safe) - * [FEATURE #104] ajout de profiles pour mettre à jour les en-têtes de licenses - * [FEATURE #109] Ne pas générer le report index - --- chemit -- Sun, 01 Nov 2009 16:38:13 +0100 - -1.0.2 chemit 20090902 - - * [FEATURE] #37 finish documentation in french and english language - * [FEATURE] prepare use of changes.xml generation (effective in next release) - * [FIX] #32 : les sites de chorem sont deployés dans nuiton - * [FEATURE] #26 : check changelog.txt file existence only on root module of project - * [FEATURE] : use local LICENSE.txt as license url - * [FEATURE] : add maven.license.file which points to LICENSE.txt file - --- chemit -- Wed, 02 Sep 2009 15:15:24 +0200 - -1.0.1 chemit 20090824 - - * make pom multi-redmine platform (use the platform property nuiton or chorem) - -1.0.0 chemit 20090822 - - * initial release, nuiton platform (http://www.nuiton.org) super pom - -=============================================================================== -fork from org.codelutin:lutinproject - -3.6.0 xxx 2009xxxx - * [chemit] - migrate groupId to org.nuiton, artifactId to nuitonproject ? - -3.5.4 chemit 20090510 - * [chatellier] - Update maven source plugin to 2.1 - * [chemit] - bump release plugin version to 2.0-beta-9 - -3.5.3 chemit 20090420 - * [chatellier] - update prerequisites to 2.0.10 - * [chatellier] - use project.reporting.outputEncoding (default to UTF-8) - * [chemit] - change hudson url - -3.5 chemit 20090409 - * 20090409 [chemit] - remove all dependencies to jrst, now prefer use doxia-module-jrst - -3.4 chemit 20090128 - * 20090218 [chemit] - release 3.4 - - remove all dependencies to our libs and plugin - - * 20090128 [chemit] - release 3.4.0 (for test only) - - fix bug sur l'url de nos super-pom lors de la génération d'un site. - - meilleure gestion des labs.id et labs.name via lutin-enforcer-rules 0.1 - * 20090127 [chemit] - ajout lien vers maven-lutin-skin dans le site - -3.3 chemit 20090107 - * 20090105 [chemit] - utilisation org.codelutin.jaxx:maven-jaxx-plugin:1.0 - * 20081230 [chemit] - utilisation du profile release-profile pour mettre les executions nécessaire à une release (enforcer, javadoc, sources,...) - * 20081215 [chemit] - ajout des versions de nos plugins ou librairies (a finir...) - -3.2 chemit (20081204) - * 20081205 [chemit] - utilisation du plugin enforcer pour faire des verifications sur le pom - - amélioration des propriétés scm - - suppression des groupId sur les plugins maven - - suppression du profile project (car supprimée si un autre - profile est active dans le pom) - - ce projet est désormais releasable - - mise en place du site - - Attention : utilisation de la propriété labs.project sur - le projet est devenu obligatoire. -3.1 chatellier (20081118) - * bump maven-license-switcher-plugin to 0.5 - * Update plugin version - * Add schorlet as developper - * use maven-i18n-plugin 0.7 - * use index.list in jar (to improve jar seek) - * fix wrong tag configuration linkXRef instead of linkXref - * improve codelutin repositories (add a plugin repo) - * use junit 4.5 - -ver-3-0 chatellier (20080924) - * no hard-cored phase for plugin dependency, use default id and phase - * use license-siwtcher 0.4 - * add version properties for your plugin to simplify plugin version change - * remove maven.verbose property, cause some bad side effects. - * remove plugin maven-plugin-plugin (nothing to be done here...) - * add property maven.site.locales to define locales to be used by site - * use jrst.verbose in jrst plugin instead of maven.verbose - * For child pom scm inheritance - * Modify SCM url for new SVN structure - * Use new SVN structure - * Change plugins groupId - * Change version of plugins (with lutinpluginproject 3.0) - -ver-2-5 xxx (2008xxx) - * Re-enable test by default - * Fix lutin plugins groupId - * Enable site report generation by default - * Update developer list - * only use supported maven2 report plugins - (see http://maven.apache.org/plugins/index.html) - * use maven2 report plugins - * replace scp by scp exe -ver-2-4 poussin (20080812) - * refactor pom to new directory layout compiliance with maven 2 - * use svn instead of CVS - * improve plugin configurations - -ver-2-1 poussin (20060913) - * add support for services directory in resources to put in jar Copied: trunk/mavenpom4redmine/changelog.txt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/changelog.txt) =================================================================== --- trunk/mavenpom4redmine/changelog.txt (rev 0) +++ trunk/mavenpom4redmine/changelog.txt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,110 @@ +1.1.0 chemit 20091101 + + * [FEATURE #87] utilisation maven-license-plugin 2.0.0 et maven-helper-plugin 1.1.0 + * [FEATURE #92] permettre de ne pas utiliser jredmine (property jredmine.safe) + * [FEATURE #104] ajout de profiles pour mettre à jour les en-têtes de licenses + * [FEATURE #109] Ne pas générer le report index + +-- chemit -- Sun, 01 Nov 2009 16:38:13 +0100 + +1.0.2 chemit 20090902 + + * [FEATURE] #37 finish documentation in french and english language + * [FEATURE] prepare use of changes.xml generation (effective in next release) + * [FIX] #32 : les sites de chorem sont deployés dans nuiton + * [FEATURE] #26 : check changelog.txt file existence only on root module of project + * [FEATURE] : use local LICENSE.txt as license url + * [FEATURE] : add maven.license.file which points to LICENSE.txt file + +-- chemit -- Wed, 02 Sep 2009 15:15:24 +0200 + +1.0.1 chemit 20090824 + + * make pom multi-redmine platform (use the platform property nuiton or chorem) + +1.0.0 chemit 20090822 + + * initial release, nuiton platform (http://www.nuiton.org) super pom + +=============================================================================== +fork from org.codelutin:lutinproject + +3.6.0 xxx 2009xxxx + * [chemit] - migrate groupId to org.nuiton, artifactId to nuitonproject ? + +3.5.4 chemit 20090510 + * [chatellier] - Update maven source plugin to 2.1 + * [chemit] - bump release plugin version to 2.0-beta-9 + +3.5.3 chemit 20090420 + * [chatellier] - update prerequisites to 2.0.10 + * [chatellier] - use project.reporting.outputEncoding (default to UTF-8) + * [chemit] - change hudson url + +3.5 chemit 20090409 + * 20090409 [chemit] - remove all dependencies to jrst, now prefer use doxia-module-jrst + +3.4 chemit 20090128 + * 20090218 [chemit] - release 3.4 + - remove all dependencies to our libs and plugin + + * 20090128 [chemit] - release 3.4.0 (for test only) + - fix bug sur l'url de nos super-pom lors de la génération d'un site. + - meilleure gestion des labs.id et labs.name via lutin-enforcer-rules 0.1 + * 20090127 [chemit] - ajout lien vers maven-lutin-skin dans le site + +3.3 chemit 20090107 + * 20090105 [chemit] - utilisation org.codelutin.jaxx:maven-jaxx-plugin:1.0 + * 20081230 [chemit] - utilisation du profile release-profile pour mettre les executions nécessaire à une release (enforcer, javadoc, sources,...) + * 20081215 [chemit] - ajout des versions de nos plugins ou librairies (a finir...) + +3.2 chemit (20081204) + * 20081205 [chemit] - utilisation du plugin enforcer pour faire des verifications sur le pom + - amélioration des propriétés scm + - suppression des groupId sur les plugins maven + - suppression du profile project (car supprimée si un autre + profile est active dans le pom) + - ce projet est désormais releasable + - mise en place du site + - Attention : utilisation de la propriété labs.project sur + le projet est devenu obligatoire. +3.1 chatellier (20081118) + * bump maven-license-switcher-plugin to 0.5 + * Update plugin version + * Add schorlet as developper + * use maven-i18n-plugin 0.7 + * use index.list in jar (to improve jar seek) + * fix wrong tag configuration linkXRef instead of linkXref + * improve codelutin repositories (add a plugin repo) + * use junit 4.5 + +ver-3-0 chatellier (20080924) + * no hard-cored phase for plugin dependency, use default id and phase + * use license-siwtcher 0.4 + * add version properties for your plugin to simplify plugin version change + * remove maven.verbose property, cause some bad side effects. + * remove plugin maven-plugin-plugin (nothing to be done here...) + * add property maven.site.locales to define locales to be used by site + * use jrst.verbose in jrst plugin instead of maven.verbose + * For child pom scm inheritance + * Modify SCM url for new SVN structure + * Use new SVN structure + * Change plugins groupId + * Change version of plugins (with lutinpluginproject 3.0) + +ver-2-5 xxx (2008xxx) + * Re-enable test by default + * Fix lutin plugins groupId + * Enable site report generation by default + * Update developer list + * only use supported maven2 report plugins + (see http://maven.apache.org/plugins/index.html) + * use maven2 report plugins + * replace scp by scp exe +ver-2-4 poussin (20080812) + * refactor pom to new directory layout compiliance with maven 2 + * use svn instead of CVS + * improve plugin configurations + +ver-2-1 poussin (20060913) + * add support for services directory in resources to put in jar Deleted: trunk/mavenpom4redmine/pom.xml =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/pom.xml 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/pom.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -1,560 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<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/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - - <!-- ************************************************************* --> - <!-- *** POM Relationships *************************************** --> - <!-- ************************************************************* --> - - <parent> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom</artifactId> - <version>2.0-SNAPSHOT</version> - </parent> - - <artifactId>mavenpom4redmine</artifactId> - - <!-- add this in your pom - <parent> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom4redmine</artifactId> - <version>XXX</version> - </parent> - --> - - <!-- ************************************************************* --> - <!-- *** Project Information ************************************* --> - <!-- ************************************************************* --> - - <name>Mavenpom4redmine</name> - - <description>Ancestor of all projects of Code Lutin based on a redmine developpment environnement</description> - - <inceptionYear>2010</inceptionYear> - - <!-- ************************************************************* --> - <!-- *** Build Environment ************************************** --> - <!-- ************************************************************* --> - - <!-- Build Environment : Environment Information --> - - <issueManagement> - <system>redmine</system> - <url>${redmine.url}/projects/${projectId}/issues</url> - </issueManagement> - - <!--Any mailing lists for the project--> - <mailingLists> - <mailingList> - <name>${listId}-commits</name> - <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits</subscribe> - <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits</unsubscribe> - <post>${listId}-commits@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-commits/</archive> - </mailingList> - - <mailingList> - <name>${listId}-devel</name> - <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel</subscribe> - <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel</unsubscribe> - <post>${listId}-devel@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-devel/</archive> - </mailingList> - - <mailingList> - <name>${listId}-users</name> - <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users</subscribe> - <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users</unsubscribe> - <post>${listId}-users@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-users/</archive> - </mailingList> - </mailingLists> - - <!-- ************************************************************* --> - <!-- *** Build Settings ****************************************** --> - <!-- ************************************************************* --> - - <properties> - - <!-- the redmine plateform used (nuiton.org or chorem.org) --> - <platform>nuiton.org</platform> - - <!-- redmine configuration --> - <redmine.safe>false</redmine.safe> - <redmine.url>http://www.${platform}</redmine.url> - <redmine.projectId>${projectId}</redmine.projectId> - <redmine.xmlPath>${maven.gen.dir}/changes/changes.xml</redmine.xmlPath> - <redmine.collectedArtifacts>target/collect-artifacts.txt</redmine.collectedArtifacts> - <redmine.collectedAttachments>target/collect-attachments.txt</redmine.collectedAttachments> - <redmine.deploymentUrl>${repository.home.url}</redmine.deploymentUrl> - - <!-- extra files to include in release --> - <redmine.releaseFiles/> - - <!-- use this for a lib extra files --> - <redmine.libReleaseFiles> - target/${project.artifactId}-${project.version}-deps.zip, - target/${project.artifactId}-${project.version}-full.zip - </redmine.libReleaseFiles> - - </properties> - - <packaging>pom</packaging> - - <reporting> - <plugins> - - <plugin> - <groupId>org.codehaus.sonar-plugins</groupId> - <artifactId>maven-report</artifactId> - <version>0.1</version> - <configuration> - <sonar.host.url>http://hudson.${platform}/sonar</sonar.host.url> - </configuration> - </plugin> - </plugins> - </reporting> - - <!-- ************************************************************* --> - <!-- *** Maven Environment *************************************** --> - <!-- ************************************************************* --> - - <!--Distribution--> - <distributionManagement> - <site> - <id>nuiton</id> - <!-- l'héritage sur les poms donnera la bonne url pour tous les poms - qui héritent de ce pom (/artifactId est rajouté) mais cela ne - fonctionne pas pour mavenpom lui-même (voir profile internal) - --> - <url>scpexe://${platform}/var/lib/redmine-${platform}/project-site/</url> - </site> - </distributionManagement> - - <!-- Maven Environment : profiles --> - <profiles> - - <!-- perform only on a release stage when using the maven-release-plugin --> - <profile> - <id>redmine-build-release-profile</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - <properties> - <!-- fails if redmine goals are not ok --> - <redmine.safe>true</redmine.safe> - </properties> - - <reporting> - <plugins> - - <plugin> - <artifactId>maven-changes-plugin</artifactId> - <version>2.3</version> - <configuration> - <issueLinkTemplatePerSystem> - <redmine>${redmine.issueLinkTemplate}</redmine> - </issueLinkTemplatePerSystem> - <xmlPath>${redmine.xmlPath}</xmlPath> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> - - <!-- generate issues report --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <version>${jredmine.version}</version> - <configuration> - <columnNames> - key,summary,status,assignee,tracker,priority,version,category,createdOn - </columnNames> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>issues-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> - - </plugins> - </reporting> - <build> - - <plugins> - - <!-- - - obtain redmine login (for both default and site lifecycle) - - collect all artifacts attached to build for announcements - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>initialize</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - </configuration> - </execution> - <!--execution> - <id>get-redmine-login-site</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>pre-site</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - </configuration> - </execution--> - <execution> - <id>collect-build-artifacts</id> - <goals> - <goal>collect-files</goal> - </goals> - <phase>install</phase> - <configuration> - <descriptionFile>${redmine.collectedArtifacts}</descriptionFile> - <includeAttached>true</includeAttached> - </configuration> - </execution> - <execution> - <id>collect-build-attachements</id> - <goals> - <goal>collect-files</goal> - </goals> - <phase>install</phase> - <configuration> - <extraFiles>${redmine.releaseFiles}</extraFiles> - <descriptionFile>${redmine.collectedAttachments}</descriptionFile> - <includeAttached>false</includeAttached> - </configuration> - </execution> - </executions> - </plugin> - - <!-- - - generate changes.xml file from redmine - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-generate-changes</id> - <goals> - <goal>generate-changes</goal> - </goals> - <phase>process-classes</phase> - <configuration> - <generateOnce>true</generateOnce> - <actionMapping>fix:1, add:2</actionMapping> - <statusIds>3,4,5</statusIds> - </configuration> - </execution> - - </executions> - - </plugin> - - </plugins> - - </build> - </profile> - - <!-- launch this profile after a release:perform on target/checkout --> - <profile> - <id>redmine-pre-release-profile</id> - <activation> - <property> - <name>performRedminePreRelease</name> - <value>true</value> - </property> - </activation> - <properties> - <!-- fails if redmine goals are not ok --> - <redmine.safe>true</redmine.safe> - - <dryRun>true</dryRun> - <redmine.dryRun>${dryRun}</redmine.dryRun> - </properties> - - <build> - - <defaultGoal>validate</defaultGoal> - - <plugins> - - <!-- - - obtain redmine login - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>validate</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - </configuration> - </execution> - - </executions> - </plugin> - - <!-- - - publish attachments - - generate release announcements - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-pre-release</id> - <goals> - <goal>publish-attachments</goal> - <goal>generate-news-announcement</goal> - <goal>generate-email-announcement</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - <configuration> - - <filesFromProperties>${redmine.collectedAttachments}</filesFromProperties> - - <urlDownload>${redmine.url}/projects/list_files/${projectId}</urlDownload> - <artifactsFile>${redmine.collectedArtifacts}</artifactsFile> - - </configuration> - </execution> - </executions> - - </plugin> - - </plugins> - - </build> - </profile> - - <!-- perform a redmine release after a successfull release --> - <profile> - <id>redmine-release-profile</id> - <activation> - <property> - <name>performRedmineRelease</name> - <value>true</value> - </property> - </activation> - - <properties> - <!-- fails if redmine goals are not ok --> - <redmine.safe>true</redmine.safe> - - <dryRun>true</dryRun> - <redmine.dryRun>${dryRun}</redmine.dryRun> - </properties> - <build> - - <plugins> - - <!-- - - obtain redmine login - - send release email - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>validate</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - </configuration> - </execution> - <execution> - <id>send-release-email</id> - <goals> - <goal>send-email</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - <configuration> - - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - - <emailTitle>[ANN] - ${project.name} ${project.version} released</emailTitle> - <emailContentFile> - target/generated-sources/announcement/release-email-announcement.vm - </emailContentFile> - <mailSender> - <name>${platform} Release Notification</name> - <email>noreply@${platform}</email> - </mailSender> - <toAddresses> - <item>${listId}-users@list.${platform}</item> - <item>${listId}-devel@list.${platform}</item> - <item>announce-${platform}@list.${platform}</item> - </toAddresses> - <smtpHost>smtp</smtpHost> - <!-- fix bug #146 --> - <encoding>iso-8859-1</encoding> - - </configuration> - </execution> - </executions> - </plugin> - - <!-- - - update version in redmine - - publish the release news announcement in redmine - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-release</id> - <goals> - <goal>update-version</goal> - <goal>publish-news</goal> - </goals> - <phase>validate</phase> - </execution> - </executions> - <configuration> - - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - - <!-- udpate-version --> - <closeVersion>true</closeVersion> - - <!-- publish-news --> - <newsContentFile> - target/generated-sources/announcement/release-news-announcement.vm - </newsContentFile> - <newsSummary>${project.description}</newsSummary> - <newsTitle>${project.name} ${project.version} released</newsTitle> - - </configuration> - </plugin> - - </plugins> - - </build> - </profile> - - <!-- perform a redmine release after a successfull release --> - <profile> - <id>redmine-next-version-profile</id> - <activation> - <property> - <name>redmineNextVersion</name> - <value>true</value> - </property> - </activation> - - <properties> - - </properties> - <build> - - <defaultGoal>validate</defaultGoal> - - <plugins> - - <!-- - - obtain redmine login - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - </configuration> - </execution> - </executions> - </plugin> - - <!-- - create next version if necessary and transfert all opened issued from a previous version - if given - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-next-version</id> - <goals> - <goal>next-version</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - </execution> - </executions> - <configuration> - - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - - </configuration> - </plugin> - - </plugins> - - </build> - </profile> - - - </profiles> - -</project> Copied: trunk/mavenpom4redmine/pom.xml (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/pom.xml) =================================================================== --- trunk/mavenpom4redmine/pom.xml (rev 0) +++ trunk/mavenpom4redmine/pom.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,560 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> + + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom</artifactId> + <version>2.0-SNAPSHOT</version> + </parent> + + <artifactId>mavenpom4redmine</artifactId> + + <!-- add this in your pom + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom4redmine</artifactId> + <version>XXX</version> + </parent> + --> + + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> + + <name>Mavenpom4redmine</name> + + <description>Ancestor of all projects of Code Lutin based on a redmine developpment environnement</description> + + <inceptionYear>2010</inceptionYear> + + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> + + <!-- Build Environment : Environment Information --> + + <issueManagement> + <system>redmine</system> + <url>${redmine.url}/projects/${projectId}/issues</url> + </issueManagement> + + <!--Any mailing lists for the project--> + <mailingLists> + <mailingList> + <name>${listId}-commits</name> + <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits</subscribe> + <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits</unsubscribe> + <post>${listId}-commits@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-commits/</archive> + </mailingList> + + <mailingList> + <name>${listId}-devel</name> + <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel</subscribe> + <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel</unsubscribe> + <post>${listId}-devel@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-devel/</archive> + </mailingList> + + <mailingList> + <name>${listId}-users</name> + <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users</subscribe> + <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users</unsubscribe> + <post>${listId}-users@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-users/</archive> + </mailingList> + </mailingLists> + + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> + + <properties> + + <!-- the redmine plateform used (nuiton.org or chorem.org) --> + <platform>nuiton.org</platform> + + <!-- redmine configuration --> + <redmine.safe>false</redmine.safe> + <redmine.url>http://www.${platform}</redmine.url> + <redmine.projectId>${projectId}</redmine.projectId> + <redmine.xmlPath>${maven.gen.dir}/changes/changes.xml</redmine.xmlPath> + <redmine.collectedArtifacts>target/collect-artifacts.txt</redmine.collectedArtifacts> + <redmine.collectedAttachments>target/collect-attachments.txt</redmine.collectedAttachments> + <redmine.deploymentUrl>${repository.home.url}</redmine.deploymentUrl> + + <!-- extra files to include in release --> + <redmine.releaseFiles/> + + <!-- use this for a lib extra files --> + <redmine.libReleaseFiles> + target/${project.artifactId}-${project.version}-deps.zip, + target/${project.artifactId}-${project.version}-full.zip + </redmine.libReleaseFiles> + + </properties> + + <packaging>pom</packaging> + + <reporting> + <plugins> + + <plugin> + <groupId>org.codehaus.sonar-plugins</groupId> + <artifactId>maven-report</artifactId> + <version>0.1</version> + <configuration> + <sonar.host.url>http://hudson.${platform}/sonar</sonar.host.url> + </configuration> + </plugin> + </plugins> + </reporting> + + <!-- ************************************************************* --> + <!-- *** Maven Environment *************************************** --> + <!-- ************************************************************* --> + + <!--Distribution--> + <distributionManagement> + <site> + <id>nuiton</id> + <!-- l'héritage sur les poms donnera la bonne url pour tous les poms + qui héritent de ce pom (/artifactId est rajouté) mais cela ne + fonctionne pas pour mavenpom lui-même (voir profile internal) + --> + <url>scpexe://${platform}/var/lib/redmine-${platform}/project-site/</url> + </site> + </distributionManagement> + + <!-- Maven Environment : profiles --> + <profiles> + + <!-- perform only on a release stage when using the maven-release-plugin --> + <profile> + <id>redmine-build-release-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <properties> + <!-- fails if redmine goals are not ok --> + <redmine.safe>true</redmine.safe> + </properties> + + <reporting> + <plugins> + + <plugin> + <artifactId>maven-changes-plugin</artifactId> + <version>2.3</version> + <configuration> + <issueLinkTemplatePerSystem> + <redmine>${redmine.issueLinkTemplate}</redmine> + </issueLinkTemplatePerSystem> + <xmlPath>${redmine.xmlPath}</xmlPath> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> + + <!-- generate issues report --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <version>${jredmine.version}</version> + <configuration> + <columnNames> + key,summary,status,assignee,tracker,priority,version,category,createdOn + </columnNames> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>issues-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> + + </plugins> + </reporting> + <build> + + <plugins> + + <!-- + - obtain redmine login (for both default and site lifecycle) + - collect all artifacts attached to build for announcements + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-redmine-login</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>initialize</phase> + <configuration> + <serverId>redmine-${platform}</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> + </configuration> + </execution> + <!--execution> + <id>get-redmine-login-site</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>pre-site</phase> + <configuration> + <serverId>redmine-${platform}</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> + </configuration> + </execution--> + <execution> + <id>collect-build-artifacts</id> + <goals> + <goal>collect-files</goal> + </goals> + <phase>install</phase> + <configuration> + <descriptionFile>${redmine.collectedArtifacts}</descriptionFile> + <includeAttached>true</includeAttached> + </configuration> + </execution> + <execution> + <id>collect-build-attachements</id> + <goals> + <goal>collect-files</goal> + </goals> + <phase>install</phase> + <configuration> + <extraFiles>${redmine.releaseFiles}</extraFiles> + <descriptionFile>${redmine.collectedAttachments}</descriptionFile> + <includeAttached>false</includeAttached> + </configuration> + </execution> + </executions> + </plugin> + + <!-- + - generate changes.xml file from redmine + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-generate-changes</id> + <goals> + <goal>generate-changes</goal> + </goals> + <phase>process-classes</phase> + <configuration> + <generateOnce>true</generateOnce> + <actionMapping>fix:1, add:2</actionMapping> + <statusIds>3,4,5</statusIds> + </configuration> + </execution> + + </executions> + + </plugin> + + </plugins> + + </build> + </profile> + + <!-- launch this profile after a release:perform on target/checkout --> + <profile> + <id>redmine-pre-release-profile</id> + <activation> + <property> + <name>performRedminePreRelease</name> + <value>true</value> + </property> + </activation> + <properties> + <!-- fails if redmine goals are not ok --> + <redmine.safe>true</redmine.safe> + + <dryRun>true</dryRun> + <redmine.dryRun>${dryRun}</redmine.dryRun> + </properties> + + <build> + + <defaultGoal>validate</defaultGoal> + + <plugins> + + <!-- + - obtain redmine login + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-redmine-login</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>validate</phase> + <configuration> + <serverId>redmine-${platform}</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> + </configuration> + </execution> + + </executions> + </plugin> + + <!-- + - publish attachments + - generate release announcements + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-pre-release</id> + <goals> + <goal>publish-attachments</goal> + <goal>generate-news-announcement</goal> + <goal>generate-email-announcement</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + <configuration> + + <filesFromProperties>${redmine.collectedAttachments}</filesFromProperties> + + <urlDownload>${redmine.url}/projects/list_files/${projectId}</urlDownload> + <artifactsFile>${redmine.collectedArtifacts}</artifactsFile> + + </configuration> + </execution> + </executions> + + </plugin> + + </plugins> + + </build> + </profile> + + <!-- perform a redmine release after a successfull release --> + <profile> + <id>redmine-release-profile</id> + <activation> + <property> + <name>performRedmineRelease</name> + <value>true</value> + </property> + </activation> + + <properties> + <!-- fails if redmine goals are not ok --> + <redmine.safe>true</redmine.safe> + + <dryRun>true</dryRun> + <redmine.dryRun>${dryRun}</redmine.dryRun> + </properties> + <build> + + <plugins> + + <!-- + - obtain redmine login + - send release email + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-redmine-login</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>validate</phase> + <configuration> + <serverId>redmine-${platform}</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> + </configuration> + </execution> + <execution> + <id>send-release-email</id> + <goals> + <goal>send-email</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + <configuration> + + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> + + <emailTitle>[ANN] - ${project.name} ${project.version} released</emailTitle> + <emailContentFile> + target/generated-sources/announcement/release-email-announcement.vm + </emailContentFile> + <mailSender> + <name>${platform} Release Notification</name> + <email>noreply@${platform}</email> + </mailSender> + <toAddresses> + <item>${listId}-users@list.${platform}</item> + <item>${listId}-devel@list.${platform}</item> + <item>announce-${platform}@list.${platform}</item> + </toAddresses> + <smtpHost>smtp</smtpHost> + <!-- fix bug #146 --> + <encoding>iso-8859-1</encoding> + + </configuration> + </execution> + </executions> + </plugin> + + <!-- + - update version in redmine + - publish the release news announcement in redmine + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-release</id> + <goals> + <goal>update-version</goal> + <goal>publish-news</goal> + </goals> + <phase>validate</phase> + </execution> + </executions> + <configuration> + + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> + + <!-- udpate-version --> + <closeVersion>true</closeVersion> + + <!-- publish-news --> + <newsContentFile> + target/generated-sources/announcement/release-news-announcement.vm + </newsContentFile> + <newsSummary>${project.description}</newsSummary> + <newsTitle>${project.name} ${project.version} released</newsTitle> + + </configuration> + </plugin> + + </plugins> + + </build> + </profile> + + <!-- perform a redmine release after a successfull release --> + <profile> + <id>redmine-next-version-profile</id> + <activation> + <property> + <name>redmineNextVersion</name> + <value>true</value> + </property> + </activation> + + <properties> + + </properties> + <build> + + <defaultGoal>validate</defaultGoal> + + <plugins> + + <!-- + - obtain redmine login + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-redmine-login</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + <configuration> + <serverId>redmine-${platform}</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> + </configuration> + </execution> + </executions> + </plugin> + + <!-- + create next version if necessary and transfert all opened issued from a previous version + if given + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-next-version</id> + <goals> + <goal>next-version</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + </execution> + </executions> + <configuration> + + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> + + </configuration> + </plugin> + + </plugins> + + </build> + </profile> + + + </profiles> + +</project> Deleted: trunk/mavenpom4redmine/src/site/apt/Todo.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/apt/Todo.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/apt/Todo.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,17 +0,0 @@ ----- -TODO ----- ----- -2009-08-22 ----- - - -Création d'archetypes - - Il nous faudrait 2 archetypes pour la construction d'un nouveau projet : - - * un pour un projet no multi-modules - - * un pour les projets multi-modules - - \ No newline at end of file Copied: trunk/mavenpom4redmine/src/site/apt/Todo.apt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/apt/Todo.apt) =================================================================== --- trunk/mavenpom4redmine/src/site/apt/Todo.apt (rev 0) +++ trunk/mavenpom4redmine/src/site/apt/Todo.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,17 @@ +---- +TODO +---- +---- +2009-08-22 +---- + + +Création d'archetypes + + Il nous faudrait 2 archetypes pour la construction d'un nouveau projet : + + * un pour un projet no multi-modules + + * un pour les projets multi-modules + + \ No newline at end of file Deleted: trunk/mavenpom4redmine/src/site/apt/index.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/apt/index.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/apt/index.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,42 +0,0 @@ ------- -Maven nuiton pom ------- ------- -2009-08-22 ------- - -Présentation - - Le projet <mavenpom4redmine> est un pom de type <Corporate> dont héritent tous les - projets {{{http://www.nuiton.org}nuiton}} et {{{http://www.chorem.org}chorem}}. - - Il étend <<mavenpom>> et ajoute les profiles de release pour redmine. - - -Les propriétés - - Voir la page des {{{properties.html}propriétés}}. - -Vérification de conformité - - On effectue sur le pom des contrôles de conformités via le plugin maven-enforcer-plugin. - -* propriétés obligatoires - - Aucune a l'heure actuelle - -* Fichiers obligatoires - --------------------------------------------------------------------------------- -README.txt -changelog.txt -LICENSE.txt --------------------------------------------------------------------------------- - -Les profiles - - Voir la page des {{{profiles.html}profiles}}. - -Configuration des plugins - - Voir la page des {{{plugins.html}plugins}}. Copied: trunk/mavenpom4redmine/src/site/apt/index.apt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/apt/index.apt) =================================================================== --- trunk/mavenpom4redmine/src/site/apt/index.apt (rev 0) +++ trunk/mavenpom4redmine/src/site/apt/index.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,42 @@ +------ +Maven nuiton pom +------ +------ +2009-08-22 +------ + +Présentation + + Le projet <mavenpom4redmine> est un pom de type <Corporate> dont héritent tous les + projets {{{http://www.nuiton.org}nuiton}} et {{{http://www.chorem.org}chorem}}. + + Il étend <<mavenpom>> et ajoute les profiles de release pour redmine. + + +Les propriétés + + Voir la page des {{{properties.html}propriétés}}. + +Vérification de conformité + + On effectue sur le pom des contrôles de conformités via le plugin maven-enforcer-plugin. + +* propriétés obligatoires + + Aucune a l'heure actuelle + +* Fichiers obligatoires + +-------------------------------------------------------------------------------- +README.txt +changelog.txt +LICENSE.txt +-------------------------------------------------------------------------------- + +Les profiles + + Voir la page des {{{profiles.html}profiles}}. + +Configuration des plugins + + Voir la page des {{{plugins.html}plugins}}. Deleted: trunk/mavenpom4redmine/src/site/apt/profiles.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/apt/profiles.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/apt/profiles.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,97 +0,0 @@ ------- -Profiles disponibles dans mavenpom4redmine ------- ------- -2009-10-11 ------- - -Abstract - - Cette page décrit l'ensemble des profiles ajoutés (ou surchargés) dans - mavenpom4redmine et disponibles pour tous les projets qui héritent de - mavenpom. - - Reporter vous a cette page pour avoir la liste des profiles de - {{{http://maven-site.nuiton.org/mavenpom/profiles.html} mavenpom}}. - -Vue d'ensemble - -*----------------------------------+---------------------------+ -| <<property>> | <<Activation property>> | -*----------------------------------+---------------------------+ -| {{redmine-build-release-profile}}| <<performRelease>> | -*----------------------------------+---------------------------+ -| {{redmine-pre-release-profile}} | <<performRedminePreRelease>> | -*----------------------------------+---------------------------+ -| {{redmine-release-profile}} | <<performRedmineRelease>> | -*----------------------------------+---------------------------+ -| {{redmine-next-version-profile}} | <<redmineNextVersion>> | -*----------------------------------+---------------------------+ - -Détails - - -* {redmine-build-release-profile} - - Ce profile permet pendant la release classique de collecter les fichiers à publier et de générer le changelog. - Il est activable via la propriété <<performRelease>>. - -* {redmine-pre-release-profile} - - Ce profile permet suite à une release de publier la release sur redmine et est - activable via la propriété <<performRedminePreRelease>>. - - Il faut l'utiliser sur le projet releasé, cela déployera les fichiers attachés à la release sur redmine - et génèrera les contenus d'annonces ici : - --------------------------------------------------------------------------------- -target/generate-sources/announcement/release-news-announcement.vm -target/generate-sources/announcement/release-email-announcement.vm --------------------------------------------------------------------------------- - - Un paramètre supplémentaire <<-DdryRun=false>> est à passer pour confirmer l'exécution des commandes - sur le serveur redmine. - --------------------------------------------------------------------------------- -cd target/checkout; mvn validate -DperformRedminePreRelease --------------------------------------------------------------------------------- - - Une fois que tout à l'air ok : - --------------------------------------------------------------------------------- -cd target/checkout; mvn validate -DperformRedminePreRelease -DdryRun=false --------------------------------------------------------------------------------- - - -* {redmine-release-profile} - - Ce profile permet suite à une release de publier la release sur redmine et est - activable via la propriété <<performRedmineRelease>>. - - Il faut l'utiliser sur le projet releasé (et pas le projet en SNAPSHOT). - --------------------------------------------------------------------------------- -cd target/checkout; mvn validate -DperformRedmineRelease --------------------------------------------------------------------------------- - - Une fois que tout à l'air ok : - --------------------------------------------------------------------------------- -cd target/checkout; mvn validate -DperformRedmineRelease -DdryRun=false --------------------------------------------------------------------------------- - -* {redmine-next-version-profile} - - Ce profile permet de créer la version sur le serveur redmine correspondant à la - version (non snapshot) du pom, est activable par la propriété - <<redmineNextVersion>>. - --------------------------------------------------------------------------------- -mvn -Predmine-next-version-profile -DpreviousVersionName=XX --------------------------------------------------------------------------------- - - ou - --------------------------------------------------------------------------------- -mvn -DredmineNextVersion -DpreviousVersionName=XX --------------------------------------------------------------------------------- Copied: trunk/mavenpom4redmine/src/site/apt/profiles.apt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/apt/profiles.apt) =================================================================== --- trunk/mavenpom4redmine/src/site/apt/profiles.apt (rev 0) +++ trunk/mavenpom4redmine/src/site/apt/profiles.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,97 @@ +------ +Profiles disponibles dans mavenpom4redmine +------ +------ +2009-10-11 +------ + +Abstract + + Cette page décrit l'ensemble des profiles ajoutés (ou surchargés) dans + mavenpom4redmine et disponibles pour tous les projets qui héritent de + mavenpom. + + Reporter vous a cette page pour avoir la liste des profiles de + {{{http://maven-site.nuiton.org/mavenpom/profiles.html} mavenpom}}. + +Vue d'ensemble + +*----------------------------------+---------------------------+ +| <<property>> | <<Activation property>> | +*----------------------------------+---------------------------+ +| {{redmine-build-release-profile}}| <<performRelease>> | +*----------------------------------+---------------------------+ +| {{redmine-pre-release-profile}} | <<performRedminePreRelease>> | +*----------------------------------+---------------------------+ +| {{redmine-release-profile}} | <<performRedmineRelease>> | +*----------------------------------+---------------------------+ +| {{redmine-next-version-profile}} | <<redmineNextVersion>> | +*----------------------------------+---------------------------+ + +Détails + + +* {redmine-build-release-profile} + + Ce profile permet pendant la release classique de collecter les fichiers à publier et de générer le changelog. + Il est activable via la propriété <<performRelease>>. + +* {redmine-pre-release-profile} + + Ce profile permet suite à une release de publier la release sur redmine et est + activable via la propriété <<performRedminePreRelease>>. + + Il faut l'utiliser sur le projet releasé, cela déployera les fichiers attachés à la release sur redmine + et génèrera les contenus d'annonces ici : + +-------------------------------------------------------------------------------- +target/generate-sources/announcement/release-news-announcement.vm +target/generate-sources/announcement/release-email-announcement.vm +-------------------------------------------------------------------------------- + + Un paramètre supplémentaire <<-DdryRun=false>> est à passer pour confirmer l'exécution des commandes + sur le serveur redmine. + +-------------------------------------------------------------------------------- +cd target/checkout; mvn validate -DperformRedminePreRelease +-------------------------------------------------------------------------------- + + Une fois que tout à l'air ok : + +-------------------------------------------------------------------------------- +cd target/checkout; mvn validate -DperformRedminePreRelease -DdryRun=false +-------------------------------------------------------------------------------- + + +* {redmine-release-profile} + + Ce profile permet suite à une release de publier la release sur redmine et est + activable via la propriété <<performRedmineRelease>>. + + Il faut l'utiliser sur le projet releasé (et pas le projet en SNAPSHOT). + +-------------------------------------------------------------------------------- +cd target/checkout; mvn validate -DperformRedmineRelease +-------------------------------------------------------------------------------- + + Une fois que tout à l'air ok : + +-------------------------------------------------------------------------------- +cd target/checkout; mvn validate -DperformRedmineRelease -DdryRun=false +-------------------------------------------------------------------------------- + +* {redmine-next-version-profile} + + Ce profile permet de créer la version sur le serveur redmine correspondant à la + version (non snapshot) du pom, est activable par la propriété + <<redmineNextVersion>>. + +-------------------------------------------------------------------------------- +mvn -Predmine-next-version-profile -DpreviousVersionName=XX +-------------------------------------------------------------------------------- + + ou + +-------------------------------------------------------------------------------- +mvn -DredmineNextVersion -DpreviousVersionName=XX +-------------------------------------------------------------------------------- Deleted: trunk/mavenpom4redmine/src/site/apt/properties.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/apt/properties.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/apt/properties.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,147 +0,0 @@ ------- -Propriétés disponibles dans mavenpom4redmine ------- ------- -2009-10-11 ------- - -Abstract - - Cette décrit l'ensemble des propriétés ajoutés dans mavenpom et disponibles - pour tous les projets qui héritent de <mavenpom4redmine>. - -Vue d'ensemble - -*----------------------------------------------+--------------------------------------------------------+ -| <<property>> | <<Default- value>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{platform}} | <<nuiton.org>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.url}} | <<http://www.${platform}>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.serverId}} | <<redmine-${platform}>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.projectId}} | <<${projectId}>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.xmlPath}} | <<${maven.gen.dir}/changes/changes.xml>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.issueLinkTemplate}} | <<${redmine.url}/issues/show/%ISSUE%>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.versionLinkTemplate}} | <<${redmine.url}/versions/show/%VERSION%>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.attachmentLinkTemplate}} | <<${redmine.url}/attachments/download/%FILE%>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.collectedAttachments}} | <<target/collect-attachments.txt>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.collectedArtifacts}} | <<target/collect-artifacts.txt>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.releaseFiles}} | - | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.libReleaseFiles}} | - | -*----------------------------------------------+--------------------------------------------------------+ - -Détails - -* {platform} - - La plateforme redmine utilisée parmi : - --------------------------------------------------------------------------------- -nuiton.org -chorem.org --------------------------------------------------------------------------------- - -* {redmine.url} - - L'url du serveur redmine. - --------------------------------------------------------------------------------- -http://www.${platform} --------------------------------------------------------------------------------- - -* {redmine.serverId} - - L'id du serveur (dans votre setting) pour se logguer sur redmine. - --------------------------------------------------------------------------------- -redmine-${platform} --------------------------------------------------------------------------------- - -* {redmine.projectId} - - L'id du projet redmine. - --------------------------------------------------------------------------------- -${projectId} --------------------------------------------------------------------------------- - -* {redmine.xmlPath} - - Le chemin du fichier des issues généré (et utilisé dans les différents rapports). - --------------------------------------------------------------------------------- -${maven.gen.dir}/changes/changes.xml --------------------------------------------------------------------------------- - -* {redmine.issueLinkTemplate} - - L'url des issues sur le serveur redmine. Le pattern <<%ISSUE%>> sera remplacé - dans les rapports par l'id de l'issue. - --------------------------------------------------------------------------------- -${redmine.url}/issues/show/%ISSUE% --------------------------------------------------------------------------------- - -* {redmine.versionLinkTemplate} - - L'url des version sur le serveur redmine. Le pattern <<%VERSION%>> sera - remplacé dans les rapport par l'id de la version. - --------------------------------------------------------------------------------- -${redmine.url}/versions/show/%VERSION% --------------------------------------------------------------------------------- - -* {redmine.attachmentLinkTemplate} - - L'url des fichiers sur le serveur redmine. Le pattern <<%FILE%>> sera - remplacé dans les rapport par l'id du fichier. - --------------------------------------------------------------------------------- -${redmine.url}/attachments/download/%FILE% --------------------------------------------------------------------------------- - -* {redmine.collectedAttachments} - - Le fichier qui contient la liste des fichiers à envoyer sur redmine lors d'une - nouvelle release. - --------------------------------------------------------------------------------- -target/collect-attachments.txt --------------------------------------------------------------------------------- - - -* {redmine.collectedArtifacts} - - Le fichier qui contient la liste des fichiers à deployer sur le dépôt maven. - --------------------------------------------------------------------------------- -target/collect-artifacts.txt --------------------------------------------------------------------------------- - -* {redmine.releaseFiles} - - Une liste de fichiers supplémentaires à envoyer sur redmine lors d'une - nouvelle release (séparés par des virgules). - - Par défaut, vide. - -* {redmine.libReleaseFiles} - - La définition des fichiers à ajouter à une release pour un module de type - <<jar>> qui générè les deux zip deps et full. - - On utilise dans la propriété <<redmine.releaseFiles>> : - --------------------------------------------------------------------------------- -<redmine.releaseFiles>${redmine.libReleaseFiles}</redmine.releaseFiles> --------------------------------------------------------------------------------- Copied: trunk/mavenpom4redmine/src/site/apt/properties.apt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/apt/properties.apt) =================================================================== --- trunk/mavenpom4redmine/src/site/apt/properties.apt (rev 0) +++ trunk/mavenpom4redmine/src/site/apt/properties.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,147 @@ +------ +Propriétés disponibles dans mavenpom4redmine +------ +------ +2009-10-11 +------ + +Abstract + + Cette décrit l'ensemble des propriétés ajoutés dans mavenpom et disponibles + pour tous les projets qui héritent de <mavenpom4redmine>. + +Vue d'ensemble + +*----------------------------------------------+--------------------------------------------------------+ +| <<property>> | <<Default- value>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{platform}} | <<nuiton.org>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.url}} | <<http://www.${platform}>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.serverId}} | <<redmine-${platform}>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.projectId}} | <<${projectId}>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.xmlPath}} | <<${maven.gen.dir}/changes/changes.xml>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.issueLinkTemplate}} | <<${redmine.url}/issues/show/%ISSUE%>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.versionLinkTemplate}} | <<${redmine.url}/versions/show/%VERSION%>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.attachmentLinkTemplate}} | <<${redmine.url}/attachments/download/%FILE%>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.collectedAttachments}} | <<target/collect-attachments.txt>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.collectedArtifacts}} | <<target/collect-artifacts.txt>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.releaseFiles}} | - | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.libReleaseFiles}} | - | +*----------------------------------------------+--------------------------------------------------------+ + +Détails + +* {platform} + + La plateforme redmine utilisée parmi : + +-------------------------------------------------------------------------------- +nuiton.org +chorem.org +-------------------------------------------------------------------------------- + +* {redmine.url} + + L'url du serveur redmine. + +-------------------------------------------------------------------------------- +http://www.${platform} +-------------------------------------------------------------------------------- + +* {redmine.serverId} + + L'id du serveur (dans votre setting) pour se logguer sur redmine. + +-------------------------------------------------------------------------------- +redmine-${platform} +-------------------------------------------------------------------------------- + +* {redmine.projectId} + + L'id du projet redmine. + +-------------------------------------------------------------------------------- +${projectId} +-------------------------------------------------------------------------------- + +* {redmine.xmlPath} + + Le chemin du fichier des issues généré (et utilisé dans les différents rapports). + +-------------------------------------------------------------------------------- +${maven.gen.dir}/changes/changes.xml +-------------------------------------------------------------------------------- + +* {redmine.issueLinkTemplate} + + L'url des issues sur le serveur redmine. Le pattern <<%ISSUE%>> sera remplacé + dans les rapports par l'id de l'issue. + +-------------------------------------------------------------------------------- +${redmine.url}/issues/show/%ISSUE% +-------------------------------------------------------------------------------- + +* {redmine.versionLinkTemplate} + + L'url des version sur le serveur redmine. Le pattern <<%VERSION%>> sera + remplacé dans les rapport par l'id de la version. + +-------------------------------------------------------------------------------- +${redmine.url}/versions/show/%VERSION% +-------------------------------------------------------------------------------- + +* {redmine.attachmentLinkTemplate} + + L'url des fichiers sur le serveur redmine. Le pattern <<%FILE%>> sera + remplacé dans les rapport par l'id du fichier. + +-------------------------------------------------------------------------------- +${redmine.url}/attachments/download/%FILE% +-------------------------------------------------------------------------------- + +* {redmine.collectedAttachments} + + Le fichier qui contient la liste des fichiers à envoyer sur redmine lors d'une + nouvelle release. + +-------------------------------------------------------------------------------- +target/collect-attachments.txt +-------------------------------------------------------------------------------- + + +* {redmine.collectedArtifacts} + + Le fichier qui contient la liste des fichiers à deployer sur le dépôt maven. + +-------------------------------------------------------------------------------- +target/collect-artifacts.txt +-------------------------------------------------------------------------------- + +* {redmine.releaseFiles} + + Une liste de fichiers supplémentaires à envoyer sur redmine lors d'une + nouvelle release (séparés par des virgules). + + Par défaut, vide. + +* {redmine.libReleaseFiles} + + La définition des fichiers à ajouter à une release pour un module de type + <<jar>> qui générè les deux zip deps et full. + + On utilise dans la propriété <<redmine.releaseFiles>> : + +-------------------------------------------------------------------------------- +<redmine.releaseFiles>${redmine.libReleaseFiles}</redmine.releaseFiles> +-------------------------------------------------------------------------------- Deleted: trunk/mavenpom4redmine/src/site/apt/release.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/apt/release.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/apt/release.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,95 +0,0 @@ ------- -Effectuer une release ------- ------- -2010-01-10 ------- - -Abstract - - Cette page décrit la méthode pour effectuer une release d'un projet héritant de <<mavenpom4redmine>>. - - L'opération se déroule en 4 étapes. - -Etape 1 - - Effectuer une release normal - --------------------------------------------------------------------------------- -mvn release:prepare -mvn release:perform --------------------------------------------------------------------------------- - -Etape 2 - - Dans cette phase, on va : - - * Deployement des fichiers vers redmine - - * Créer les announces de release - - [] - - On travaille sur la version utilisée pour faire la release. - --------------------------------------------------------------------------------- -cd target/checkout --------------------------------------------------------------------------------- - - La commande suivante simule (sans rien déployer) - --------------------------------------------------------------------------------- -mvn -DperformRedminePreRelease --------------------------------------------------------------------------------- - - Si aucune erreur lors de l'execution, on lance la commande suivante - --------------------------------------------------------------------------------- -mvn -DperformRedminePreRelease -DdryRun=false --------------------------------------------------------------------------------- - - A ce stade, les annonces ont été créées ici - --------------------------------------------------------------------------------- -target/generated-sources/announcement/release-news-announcement.vm -target/generated-sources/announcement/release-email-announcement.vm --------------------------------------------------------------------------------- - -Etape 3 - - On finalise la release après avoir finaliser les annonces (si nécessaire) : - - * Mise à jour de la version sur redmine (on la clôture) - - * Envoie de l'email d'annonce de release - - * Publication de l'annonce de release sur redmine - - [] - - La commande suivante simule (sans rien publier) : - --------------------------------------------------------------------------------- -mvn -DperformRedmineRelease --------------------------------------------------------------------------------- - - Si aucune erreur, on peut lancer la commande réelle - --------------------------------------------------------------------------------- -mvn -DperformRedmineRelease -DdryRun=false --------------------------------------------------------------------------------- - - -Etape 4 - - On revient sur le projet du trunk - --------------------------------------------------------------------------------- -cd ../../ --------------------------------------------------------------------------------- - - On crée la nouvelle version sur redmine - --------------------------------------------------------------------------------- -mvn -DredmineNextVersion --------------------------------------------------------------------------------- Copied: trunk/mavenpom4redmine/src/site/apt/release.apt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/apt/release.apt) =================================================================== --- trunk/mavenpom4redmine/src/site/apt/release.apt (rev 0) +++ trunk/mavenpom4redmine/src/site/apt/release.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,95 @@ +------ +Effectuer une release +------ +------ +2010-01-10 +------ + +Abstract + + Cette page décrit la méthode pour effectuer une release d'un projet héritant de <<mavenpom4redmine>>. + + L'opération se déroule en 4 étapes. + +Etape 1 + + Effectuer une release normal + +-------------------------------------------------------------------------------- +mvn release:prepare +mvn release:perform +-------------------------------------------------------------------------------- + +Etape 2 + + Dans cette phase, on va : + + * Deployement des fichiers vers redmine + + * Créer les announces de release + + [] + + On travaille sur la version utilisée pour faire la release. + +-------------------------------------------------------------------------------- +cd target/checkout +-------------------------------------------------------------------------------- + + La commande suivante simule (sans rien déployer) + +-------------------------------------------------------------------------------- +mvn -DperformRedminePreRelease +-------------------------------------------------------------------------------- + + Si aucune erreur lors de l'execution, on lance la commande suivante + +-------------------------------------------------------------------------------- +mvn -DperformRedminePreRelease -DdryRun=false +-------------------------------------------------------------------------------- + + A ce stade, les annonces ont été créées ici + +-------------------------------------------------------------------------------- +target/generated-sources/announcement/release-news-announcement.vm +target/generated-sources/announcement/release-email-announcement.vm +-------------------------------------------------------------------------------- + +Etape 3 + + On finalise la release après avoir finaliser les annonces (si nécessaire) : + + * Mise à jour de la version sur redmine (on la clôture) + + * Envoie de l'email d'annonce de release + + * Publication de l'annonce de release sur redmine + + [] + + La commande suivante simule (sans rien publier) : + +-------------------------------------------------------------------------------- +mvn -DperformRedmineRelease +-------------------------------------------------------------------------------- + + Si aucune erreur, on peut lancer la commande réelle + +-------------------------------------------------------------------------------- +mvn -DperformRedmineRelease -DdryRun=false +-------------------------------------------------------------------------------- + + +Etape 4 + + On revient sur le projet du trunk + +-------------------------------------------------------------------------------- +cd ../../ +-------------------------------------------------------------------------------- + + On crée la nouvelle version sur redmine + +-------------------------------------------------------------------------------- +mvn -DredmineNextVersion +-------------------------------------------------------------------------------- Deleted: trunk/mavenpom4redmine/src/site/en/apt/Todo.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/en/apt/Todo.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/en/apt/Todo.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,17 +0,0 @@ ----- -TODO ----- ----- -2009-08-22 ----- - - -Création d'archetypes - - Il nous faudrait 2 archetypes pour la construction d'un nouveau projet : - - * un pour un projet no multi-modules - - * un pour les projets multi-modules - - \ No newline at end of file Copied: trunk/mavenpom4redmine/src/site/en/apt/Todo.apt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/en/apt/Todo.apt) =================================================================== --- trunk/mavenpom4redmine/src/site/en/apt/Todo.apt (rev 0) +++ trunk/mavenpom4redmine/src/site/en/apt/Todo.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,17 @@ +---- +TODO +---- +---- +2009-08-22 +---- + + +Création d'archetypes + + Il nous faudrait 2 archetypes pour la construction d'un nouveau projet : + + * un pour un projet no multi-modules + + * un pour les projets multi-modules + + \ No newline at end of file Deleted: trunk/mavenpom4redmine/src/site/en/apt/index.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/en/apt/index.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/en/apt/index.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,41 +0,0 @@ ------- -Maven nuiton pom ------- ------- -2009-09-01 ------- - -Abstract - - Corporate pom of all {{{http://www.nuiton.org}nuiton}} and - {{{http://www.chorem.org}chorem}} projects. - - the pom heritates from <<mavenpom>> and add full support to make release on redmine server. - -Available properties - - See the {{{properties.html}properties}} page. - -Conformity checks - - Some conformity checks are done to make sure we have all necessary files. - -* mandatory properties - - None actually - -* mandatories files - --------------------------------------------------------------------------------- -README.txt -changelog.txt -LICENSE.txt --------------------------------------------------------------------------------- - -Available profiles - - See the {{{profiles.html}profiles}} page. - -Plugins configuration - - See the {{{plugins.html}plugins}} page. Copied: trunk/mavenpom4redmine/src/site/en/apt/index.apt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/en/apt/index.apt) =================================================================== --- trunk/mavenpom4redmine/src/site/en/apt/index.apt (rev 0) +++ trunk/mavenpom4redmine/src/site/en/apt/index.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,41 @@ +------ +Maven nuiton pom +------ +------ +2009-09-01 +------ + +Abstract + + Corporate pom of all {{{http://www.nuiton.org}nuiton}} and + {{{http://www.chorem.org}chorem}} projects. + + the pom heritates from <<mavenpom>> and add full support to make release on redmine server. + +Available properties + + See the {{{properties.html}properties}} page. + +Conformity checks + + Some conformity checks are done to make sure we have all necessary files. + +* mandatory properties + + None actually + +* mandatories files + +-------------------------------------------------------------------------------- +README.txt +changelog.txt +LICENSE.txt +-------------------------------------------------------------------------------- + +Available profiles + + See the {{{profiles.html}profiles}} page. + +Plugins configuration + + See the {{{plugins.html}plugins}} page. Deleted: trunk/mavenpom4redmine/src/site/en/apt/profiles.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/en/apt/profiles.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/en/apt/profiles.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,27 +0,0 @@ ------- -Available profiles in mavenpom4redmine ------- ------- -2009-10-11 ------- - -Abstract - - - <TODO Translate me... from fr version> - -Overview - -*----------------------------------+---------------------------+ -| <<property>> | <<Activation property>> | -*----------------------------------+---------------------------+ -| {{redmine-build-release-profile}}| <<performRelease>> | -*----------------------------------+---------------------------+ -| {{redmine-pre-release-profile}} | <<performRedminePreRelease>> | -*----------------------------------+---------------------------+ -| {{redmine-release-profile}} | <<performRedmineRelease>> | -*----------------------------------+---------------------------+ -| {{redmine-next-version-profile}} | <<redmineNextVersion>> | -*----------------------------------+---------------------------+ - -Details Copied: trunk/mavenpom4redmine/src/site/en/apt/profiles.apt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/en/apt/profiles.apt) =================================================================== --- trunk/mavenpom4redmine/src/site/en/apt/profiles.apt (rev 0) +++ trunk/mavenpom4redmine/src/site/en/apt/profiles.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,27 @@ +------ +Available profiles in mavenpom4redmine +------ +------ +2009-10-11 +------ + +Abstract + + + <TODO Translate me... from fr version> + +Overview + +*----------------------------------+---------------------------+ +| <<property>> | <<Activation property>> | +*----------------------------------+---------------------------+ +| {{redmine-build-release-profile}}| <<performRelease>> | +*----------------------------------+---------------------------+ +| {{redmine-pre-release-profile}} | <<performRedminePreRelease>> | +*----------------------------------+---------------------------+ +| {{redmine-release-profile}} | <<performRedmineRelease>> | +*----------------------------------+---------------------------+ +| {{redmine-next-version-profile}} | <<redmineNextVersion>> | +*----------------------------------+---------------------------+ + +Details Deleted: trunk/mavenpom4redmine/src/site/en/apt/properties.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/en/apt/properties.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/en/apt/properties.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,147 +0,0 @@ ------- -Available properties in mavenpom4redmine ------- ------- -2009-10-11 ------- - -Abstract - - This page describe all properties defined in <mavenpom4redmine>. - -Overview - -*----------------------------------------------+--------------------------------------------------------+ -| <<property>> | <<Default- value>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{platform}} | <<nuiton.org>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.url}} | <<http://www.${platform}>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.serverId}} | <<redmine-${platform}>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.projectId}} | <<${projectId}>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.xmlPath}} | <<${maven.gen.dir}/changes/changes.xml>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.issueLinkTemplate}} | <<${redmine.url}/issues/show/%ISSUE%>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.versionLinkTemplate}} | <<${redmine.url}/versions/show/%VERSION%>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.attachmentLinkTemplate}} | <<${redmine.url}/attachments/download/%FILE%>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.collectedAttachments}} | <<target/collect-attachements.txt>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.collectedArtifacts}} | <<target/collect-artifacts.txt>> | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.releaseFiles}} | - | -*----------------------------------------------+--------------------------------------------------------+ -| {{redmine.libReleaseFiles}} | - | -*----------------------------------------------+--------------------------------------------------------+ - -Details - -* {platform} - - Redmine's platform in - --------------------------------------------------------------------------------- -nuiton.org -chorem.org --------------------------------------------------------------------------------- - -* {redmine.url} - --------------------------------------------------------------------------------- -http://www.${platform} --------------------------------------------------------------------------------- - - Url of the redmine server. - -* {redmine.serverId} - --------------------------------------------------------------------------------- -redmine-${platform} --------------------------------------------------------------------------------- - -* {redmine.projectId} - - Id of the redmine's project. - --------------------------------------------------------------------------------- -${projectId} --------------------------------------------------------------------------------- - -* {redmine.xmlPath} - - Path of the generated issues from redmine and used in reports generation. - --------------------------------------------------------------------------------- -${maven.gen.dir}/changes/changes.xml --------------------------------------------------------------------------------- - -* {redmine.issueLinkTemplate} - - Url of an issue on redmine. The <<%ISSUE%>> pattern will be replaced in reports - by the issue's id. - --------------------------------------------------------------------------------- -${redmine.url}/issues/show/%ISSUE% --------------------------------------------------------------------------------- - -* {redmine.versionLinkTemplate} - - Url of a version on redmine. The <<%VERSION%>> pattern will be replaced in - reports by the version's id. - --------------------------------------------------------------------------------- -${redmine.url}/versions/show/%VERSION% --------------------------------------------------------------------------------- - -* {redmine.attachmentLinkTemplate} - - Url of a attachment on redmine. The <<%FILE%>> pattern will be replaced in - reports by the attachment's id. - --------------------------------------------------------------------------------- -${redmine.url}/attachments/download/%FILE% --------------------------------------------------------------------------------- - -* {redmine.collectedAttachments} - - Path of the file containing the list of files to send to redmine when a new - release is done. - --------------------------------------------------------------------------------- -target/collect-attachements.txt --------------------------------------------------------------------------------- - -* {redmine.collectedArtifacts} - - Path of the file containing the list of collected artifact files to deploy to - maven repository. - --------------------------------------------------------------------------------- -target/collect-artifacts.txt --------------------------------------------------------------------------------- - - -* {redmine.releaseFiles} - - Extra files to send to redmine when a new release is done (separated by comma). - - By default, None. - -* {redmine.libReleaseFiles} - - A convinient property for a <<jar>> module which builds the deps and full zip. - - Use this property in <<redmine.releaseFiles>> : - --------------------------------------------------------------------------------- -<redmine.releaseFiles>${redmine.libReleaseFiles}</redmine.releaseFiles> --------------------------------------------------------------------------------- - -* {redmine.includeAttached} - - To publish in redmine release attached files of the build (pom.xml, jars,...) Copied: trunk/mavenpom4redmine/src/site/en/apt/properties.apt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/en/apt/properties.apt) =================================================================== --- trunk/mavenpom4redmine/src/site/en/apt/properties.apt (rev 0) +++ trunk/mavenpom4redmine/src/site/en/apt/properties.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,147 @@ +------ +Available properties in mavenpom4redmine +------ +------ +2009-10-11 +------ + +Abstract + + This page describe all properties defined in <mavenpom4redmine>. + +Overview + +*----------------------------------------------+--------------------------------------------------------+ +| <<property>> | <<Default- value>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{platform}} | <<nuiton.org>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.url}} | <<http://www.${platform}>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.serverId}} | <<redmine-${platform}>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.projectId}} | <<${projectId}>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.xmlPath}} | <<${maven.gen.dir}/changes/changes.xml>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.issueLinkTemplate}} | <<${redmine.url}/issues/show/%ISSUE%>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.versionLinkTemplate}} | <<${redmine.url}/versions/show/%VERSION%>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.attachmentLinkTemplate}} | <<${redmine.url}/attachments/download/%FILE%>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.collectedAttachments}} | <<target/collect-attachements.txt>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.collectedArtifacts}} | <<target/collect-artifacts.txt>> | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.releaseFiles}} | - | +*----------------------------------------------+--------------------------------------------------------+ +| {{redmine.libReleaseFiles}} | - | +*----------------------------------------------+--------------------------------------------------------+ + +Details + +* {platform} + + Redmine's platform in + +-------------------------------------------------------------------------------- +nuiton.org +chorem.org +-------------------------------------------------------------------------------- + +* {redmine.url} + +-------------------------------------------------------------------------------- +http://www.${platform} +-------------------------------------------------------------------------------- + + Url of the redmine server. + +* {redmine.serverId} + +-------------------------------------------------------------------------------- +redmine-${platform} +-------------------------------------------------------------------------------- + +* {redmine.projectId} + + Id of the redmine's project. + +-------------------------------------------------------------------------------- +${projectId} +-------------------------------------------------------------------------------- + +* {redmine.xmlPath} + + Path of the generated issues from redmine and used in reports generation. + +-------------------------------------------------------------------------------- +${maven.gen.dir}/changes/changes.xml +-------------------------------------------------------------------------------- + +* {redmine.issueLinkTemplate} + + Url of an issue on redmine. The <<%ISSUE%>> pattern will be replaced in reports + by the issue's id. + +-------------------------------------------------------------------------------- +${redmine.url}/issues/show/%ISSUE% +-------------------------------------------------------------------------------- + +* {redmine.versionLinkTemplate} + + Url of a version on redmine. The <<%VERSION%>> pattern will be replaced in + reports by the version's id. + +-------------------------------------------------------------------------------- +${redmine.url}/versions/show/%VERSION% +-------------------------------------------------------------------------------- + +* {redmine.attachmentLinkTemplate} + + Url of a attachment on redmine. The <<%FILE%>> pattern will be replaced in + reports by the attachment's id. + +-------------------------------------------------------------------------------- +${redmine.url}/attachments/download/%FILE% +-------------------------------------------------------------------------------- + +* {redmine.collectedAttachments} + + Path of the file containing the list of files to send to redmine when a new + release is done. + +-------------------------------------------------------------------------------- +target/collect-attachements.txt +-------------------------------------------------------------------------------- + +* {redmine.collectedArtifacts} + + Path of the file containing the list of collected artifact files to deploy to + maven repository. + +-------------------------------------------------------------------------------- +target/collect-artifacts.txt +-------------------------------------------------------------------------------- + + +* {redmine.releaseFiles} + + Extra files to send to redmine when a new release is done (separated by comma). + + By default, None. + +* {redmine.libReleaseFiles} + + A convinient property for a <<jar>> module which builds the deps and full zip. + + Use this property in <<redmine.releaseFiles>> : + +-------------------------------------------------------------------------------- +<redmine.releaseFiles>${redmine.libReleaseFiles}</redmine.releaseFiles> +-------------------------------------------------------------------------------- + +* {redmine.includeAttached} + + To publish in redmine release attached files of the build (pom.xml, jars,...) Deleted: trunk/mavenpom4redmine/src/site/en/apt/release.apt =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/en/apt/release.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/en/apt/release.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -1,96 +0,0 @@ ------- -Make a release from mavenpom4redmine ------- ------- -2010-01-10 ------- - -Abstract - - This page describe how to make a release of a project which use <<mavenpom4redmine>>. - - the release takes four stages. - -stage 1 - - Do a normal release - --------------------------------------------------------------------------------- -mvn release:prepare -mvn release:perform --------------------------------------------------------------------------------- - -Stage 2 - - In this stage, we will : - - * Deploy redmine release attachments - - * Create release announcements - - [] - - Go to the release project. - --------------------------------------------------------------------------------- -cd target/checkout --------------------------------------------------------------------------------- - - To try this stage launch this command : - --------------------------------------------------------------------------------- -mvn -DperformRedminePreRelease --------------------------------------------------------------------------------- - - If no error occurs here, launch the following command : - --------------------------------------------------------------------------------- -mvn -DperformRedminePreRelease -DdryRun=false --------------------------------------------------------------------------------- - - At this point, attachements are published and announcements are created here : - --------------------------------------------------------------------------------- -target/generated-sources/announcement/release-news-announcement.vm -target/generated-sources/announcement/release-email-announcement.vm --------------------------------------------------------------------------------- - - You can customize these announcements. - -Stage 3 - - Finalize the release, after customized announcements (if necessary). - - * Update redmine project version. - - * Send the release announcement email - - * Publish the release announcement on redmine - - [] - - Try the stage by this command : - --------------------------------------------------------------------------------- -mvn -DperformRedmineRelease --------------------------------------------------------------------------------- - - If no error occurs, launch the release command : - --------------------------------------------------------------------------------- -mvn -DperformRedmineRelease -DdryRun=false --------------------------------------------------------------------------------- - -Stage 4 - - Back to the trunk project - --------------------------------------------------------------------------------- -cd ../../ --------------------------------------------------------------------------------- - - Create the next version of redmine - --------------------------------------------------------------------------------- -mvn -DredmineNextVersion --------------------------------------------------------------------------------- Copied: trunk/mavenpom4redmine/src/site/en/apt/release.apt (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/en/apt/release.apt) =================================================================== --- trunk/mavenpom4redmine/src/site/en/apt/release.apt (rev 0) +++ trunk/mavenpom4redmine/src/site/en/apt/release.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,96 @@ +------ +Make a release from mavenpom4redmine +------ +------ +2010-01-10 +------ + +Abstract + + This page describe how to make a release of a project which use <<mavenpom4redmine>>. + + the release takes four stages. + +stage 1 + + Do a normal release + +-------------------------------------------------------------------------------- +mvn release:prepare +mvn release:perform +-------------------------------------------------------------------------------- + +Stage 2 + + In this stage, we will : + + * Deploy redmine release attachments + + * Create release announcements + + [] + + Go to the release project. + +-------------------------------------------------------------------------------- +cd target/checkout +-------------------------------------------------------------------------------- + + To try this stage launch this command : + +-------------------------------------------------------------------------------- +mvn -DperformRedminePreRelease +-------------------------------------------------------------------------------- + + If no error occurs here, launch the following command : + +-------------------------------------------------------------------------------- +mvn -DperformRedminePreRelease -DdryRun=false +-------------------------------------------------------------------------------- + + At this point, attachements are published and announcements are created here : + +-------------------------------------------------------------------------------- +target/generated-sources/announcement/release-news-announcement.vm +target/generated-sources/announcement/release-email-announcement.vm +-------------------------------------------------------------------------------- + + You can customize these announcements. + +Stage 3 + + Finalize the release, after customized announcements (if necessary). + + * Update redmine project version. + + * Send the release announcement email + + * Publish the release announcement on redmine + + [] + + Try the stage by this command : + +-------------------------------------------------------------------------------- +mvn -DperformRedmineRelease +-------------------------------------------------------------------------------- + + If no error occurs, launch the release command : + +-------------------------------------------------------------------------------- +mvn -DperformRedmineRelease -DdryRun=false +-------------------------------------------------------------------------------- + +Stage 4 + + Back to the trunk project + +-------------------------------------------------------------------------------- +cd ../../ +-------------------------------------------------------------------------------- + + Create the next version of redmine + +-------------------------------------------------------------------------------- +mvn -DredmineNextVersion +-------------------------------------------------------------------------------- Deleted: trunk/mavenpom4redmine/src/site/site_en.xml =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/site_en.xml 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/site_en.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project name="${project.name}"> - - <bannerLeft> - <name>${project.name}</name> - <href>index.html</href> - </bannerLeft> - - <body> - - <breadcrumbs> - <item name="${project.name}" href="index.html"/> - </breadcrumbs> - - <menu ref="parent"/> - - <menu name="Inside mavenpom4redmine"> - <item name="Home" href="/index.html"/> - <item name="Properties" href="properties.html"/> - <item name="Profiles" href="profiles.html"/> - </menu> - - <menu name="Dev"> - <item name="Make a release" href="release.html"/> - <item name="Todo" href="Todo.html"/> - </menu> - - <menu name="Links"> - <item name="mavenpom4redmine (french)" href="../index.html"/> - <item name="maven-nuiton-skin" href="http://maven-site.nuiton.org/maven-nuiton-skin"/> - <item name="maven-helper-plugin" href="http://maven-site.nuiton.org/maven-helper-plugin"/> - <item name="maven-jredmine-plugin" href="http://maven-site.nuiton.org/jredmine/maven-jredmine-plugin"/> - <item name="maven-license-plugin" href="http://maven-site.nuiton.org/maven-license-plugin"/> - </menu> - - <menu ref="reports"/> - - </body> -</project> Copied: trunk/mavenpom4redmine/src/site/site_en.xml (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/site_en.xml) =================================================================== --- trunk/mavenpom4redmine/src/site/site_en.xml (rev 0) +++ trunk/mavenpom4redmine/src/site/site_en.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="${project.name}"> + + <bannerLeft> + <name>${project.name}</name> + <href>index.html</href> + </bannerLeft> + + <body> + + <breadcrumbs> + <item name="${project.name}" href="index.html"/> + </breadcrumbs> + + <menu ref="parent"/> + + <menu name="Inside mavenpom4redmine"> + <item name="Home" href="/index.html"/> + <item name="Properties" href="properties.html"/> + <item name="Profiles" href="profiles.html"/> + </menu> + + <menu name="Dev"> + <item name="Make a release" href="release.html"/> + <item name="Todo" href="Todo.html"/> + </menu> + + <menu name="Links"> + <item name="mavenpom4redmine (french)" href="../index.html"/> + <item name="maven-nuiton-skin" href="http://maven-site.nuiton.org/maven-nuiton-skin"/> + <item name="maven-helper-plugin" href="http://maven-site.nuiton.org/maven-helper-plugin"/> + <item name="maven-jredmine-plugin" href="http://maven-site.nuiton.org/jredmine/maven-jredmine-plugin"/> + <item name="maven-license-plugin" href="http://maven-site.nuiton.org/maven-license-plugin"/> + </menu> + + <menu ref="reports"/> + + </body> +</project> Deleted: trunk/mavenpom4redmine/src/site/site_fr.xml =================================================================== --- branches/mavenpom-2.x/mavenpom4redmine/src/site/site_fr.xml 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/mavenpom4redmine/src/site/site_fr.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project name="${project.name}"> - - <bannerLeft> - <name>${project.name}</name> - <href>index.html</href> - </bannerLeft> - - <body> - - <breadcrumbs> - <item name="${project.name}" href="index.html"/> - </breadcrumbs> - - <menu ref="parent"/> - - <menu name="Inside mavenpom4redmine"> - <item name="Accueil" href="index.html"/> - <item name="Propriétés" href="properties.html"/> - <item name="Profiles" href="profiles.html"/> - </menu> - - <menu name="Développeur"> - <item name="Faire une release" href="release.html"/> - <item name="A faire" href="Todo.html"/> - </menu> - - <menu name="Liens"> - <item name="mavenpom4redmine (english)" href="/en/index.html"/> - <item name="maven-nuiton-skin" href="http://maven-site.nuiton.org/maven-nuiton-skin"/> - <item name="maven-helper-plugin" href="http://maven-site.nuiton.org/maven-helper-plugin"/> - <item name="maven-jredmine-plugin" href="http://maven-site.nuiton.org/jredmine/maven-jredmine-plugin"/> - <item name="maven-license-plugin" href="http://maven-site.nuiton.org/maven-license-plugin"/> - </menu> - - <menu ref="reports"/> - - </body> -</project> Copied: trunk/mavenpom4redmine/src/site/site_fr.xml (from rev 751, branches/mavenpom-2.x/mavenpom4redmine/src/site/site_fr.xml) =================================================================== --- trunk/mavenpom4redmine/src/site/site_fr.xml (rev 0) +++ trunk/mavenpom4redmine/src/site/site_fr.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="${project.name}"> + + <bannerLeft> + <name>${project.name}</name> + <href>index.html</href> + </bannerLeft> + + <body> + + <breadcrumbs> + <item name="${project.name}" href="index.html"/> + </breadcrumbs> + + <menu ref="parent"/> + + <menu name="Inside mavenpom4redmine"> + <item name="Accueil" href="index.html"/> + <item name="Propriétés" href="properties.html"/> + <item name="Profiles" href="profiles.html"/> + </menu> + + <menu name="Développeur"> + <item name="Faire une release" href="release.html"/> + <item name="A faire" href="Todo.html"/> + </menu> + + <menu name="Liens"> + <item name="mavenpom4redmine (english)" href="/en/index.html"/> + <item name="maven-nuiton-skin" href="http://maven-site.nuiton.org/maven-nuiton-skin"/> + <item name="maven-helper-plugin" href="http://maven-site.nuiton.org/maven-helper-plugin"/> + <item name="maven-jredmine-plugin" href="http://maven-site.nuiton.org/jredmine/maven-jredmine-plugin"/> + <item name="maven-license-plugin" href="http://maven-site.nuiton.org/maven-license-plugin"/> + </menu> + + <menu ref="reports"/> + + </body> +</project> Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/pom.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<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/xsd/maven-4.0.0.xsd"> +<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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> @@ -7,30 +9,24 @@ <!-- *** POM Relationships *************************************** --> <!-- ************************************************************* --> - <!-- POM Relationships : Coordinates --> <groupId>org.nuiton</groupId> <artifactId>mavenpom</artifactId> - <version>1.1.5-SNAPSHOT</version> + <version>2.0-SNAPSHOT</version> - <!-- POM Relationships : Inheritance --> + <modules> + <module>mavenpom4redmine</module> + <module>mavenpom4labs</module> + </modules> - <!-- add this in your pom - <parent> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom</artifactId> - <version>XXX</version> - </parent> - --> - <!-- ************************************************************* --> <!-- *** Project Information ************************************* --> <!-- ************************************************************* --> - <name>Nuiton ancestor pom</name> + <name>Mavenpom</name> - <description>Ancestor of all nuiton's project.</description> + <description>Ancestor of all projects of Code Lutin</description> - <url>http://maven-site.${platform}/mavenpom</url> + <url>http://maven-site.nuiton.org/${projectId}</url> <inceptionYear>2009</inceptionYear> @@ -171,7 +167,7 @@ <url>http://www.codelutin.com/</url> </organization> - <!-- ************************************************************* --> + <!-- ************************************************************* --> <!-- *** Build Environment ************************************** --> <!-- ************************************************************* --> @@ -179,68 +175,60 @@ <issueManagement> <system>redmine</system> - <url>${redmine.url}/projects/${projectId}/issues</url> + <url>http://nuiton.org/projects/${projectId}/issues</url> </issueManagement> <ciManagement> <system>hudson</system> - <url>http://hudson.${platform}/hudson/job/${projectId}</url> + <url>http://hudson.nuiton.org/hudson/job/${projectId}</url> </ciManagement> <!--Any mailing lists for the project--> <mailingLists> <mailingList> <name>${listId}-commits</name> - <subscribe> - http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits - </subscribe> - <unsubscribe> - http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits - </unsubscribe> + <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits</subscribe> + <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits</unsubscribe> <post>${listId}-commits@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-commits/ - </archive> + <archive>http://list.${platform}/pipermail/${listId}-commits/</archive> </mailingList> <mailingList> <name>${listId}-devel</name> - <subscribe> - http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel - </subscribe> - <unsubscribe> - http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel - </unsubscribe> + <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel</subscribe> + <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel</unsubscribe> <post>${listId}-devel@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-devel/ - </archive> + <archive>http://list.${platform}/pipermail/${listId}-devel/</archive> </mailingList> <mailingList> <name>${listId}-users</name> - <subscribe> - http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users - </subscribe> - <unsubscribe> - http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users - </unsubscribe> + <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users</subscribe> + <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users</unsubscribe> <post>${listId}-users@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-users/ - </archive> + <archive>http://list.${platform}/pipermail/${listId}-users/</archive> </mailingList> </mailingLists> <!-- Source control management. --> <scm> + <connection>scm:svn:http://svn.nuiton.org/svn/mavenpom/branches/mavenpom-2.x</connection> + <developerConnection>scm:svn:http://svn.nuiton.org/svn/mavenpom/branches/mavenpom-2.x</developerConnection> + <url>http://www.nuiton.org/repositories/browse/mavenpom/branches/mavenpom-2.x</url> + </scm> + + <!--scm> <connection>scm:svn:http://svn.nuiton.org/svn/mavenpom/trunk</connection> <developerConnection>scm:svn:http://svn.nuiton.org/svn/mavenpom/trunk</developerConnection> <url>http://www.nuiton.org/repositories/browse/mavenpom/trunk</url> - </scm> + </scm--> <!-- ************************************************************* --> <!-- *** Build Settings ****************************************** --> <!-- ************************************************************* --> <properties> + <!-- the redmine plateform used (nuiton.org or chorem.org) --> <platform>nuiton.org</platform> @@ -253,25 +241,25 @@ <!-- a property to define list id --> <listId>${projectId}</listId> + <!-- default license to use --> + <license.licenseName>lgpl_v3</license.licenseName> + <!-- java level is 1.6 --> <maven.compile.source>1.6</maven.compile.source> <maven.compile.target>1.6</maven.compile.target> <!-- default encoding --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8 - </project.reporting.outputEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- by default, use maven 2 source base dir --> <maven.src.dir>${basedir}/src</maven.src.dir> <!-- where to generate sources --> - <maven.gen.dir>${project.build.directory}/generated-sources - </maven.gen.dir> + <maven.gen.dir>${project.build.directory}/generated-sources</maven.gen.dir> <!-- where to generate test sources --> - <maven.test.gen.dir>${project.build.directory}/generated-test-sources - </maven.test.gen.dir> + <maven.test.gen.dir>${project.build.directory}/generated-test-sources</maven.test.gen.dir> <!-- locales for the site generation, by default only french --> <maven.site.locales>fr</maven.site.locales> @@ -283,9 +271,7 @@ <defaultLocale>fr</defaultLocale> <!-- scmwebeditor url --> - <scmwebeditorUrl> - http://scmwebeditor.nuiton.org/nuiton-scmwebeditor/scmwebeditor - </scmwebeditorUrl> + <scmwebeditorUrl>http://scmwebeditor.nuiton.org/nuiton-scmwebeditor/scmwebeditor</scmwebeditorUrl> <!-- le fichier de license du projet --> <maven.license.file>${project.basedir}/LICENSE.txt</maven.license.file> @@ -303,12 +289,10 @@ <maven.reports.generate>true</maven.reports.generate> <!-- to activate or not the generation of detail dependencies in site --> - <maven.reports.dependencyDetailsEnabled>true - </maven.reports.dependencyDetailsEnabled> + <maven.reports.dependencyDetailsEnabled>true</maven.reports.dependencyDetailsEnabled> <!-- to activate or not the generation of location detail of dependencies in site --> - <maven.reports.dependencyLocationsEnabled>true - </maven.reports.dependencyLocationsEnabled> + <maven.reports.dependencyLocationsEnabled>true</maven.reports.dependencyLocationsEnabled> <!-- pb with 2.6 + doxia-jrst-module + maven-helper-plugin --> <javadoc.version>2.5</javadoc.version> @@ -320,49 +304,26 @@ <maven.javadoc.quiet>true</maven.javadoc.quiet> <maven.version>2.2.1</maven.version> - <helper.version>1.2.0</helper.version> - <jredmine.version>1.1</jredmine.version> + + <maven-plugin-tools-javadoc.version>2.5.1</maven-plugin-tools-javadoc.version> + <plexus-component-javadoc.version>1.3.0</plexus-component-javadoc.version> + + <helper.version>1.2.1</helper.version> + <jredmine.version>1.1.1</jredmine.version> <license.version>2.0.0</license.version> <jrst.version>1.0.0</jrst.version> <skin.version>1.0.1</skin.version> - <!-- default license to use --> - <license.licenseName>lgpl_v3</license.licenseName> - <!-- release repository url (to be used in site.xml) --> - <repository.home.url>http://maven.${platform}/release - </repository.home.url> - - <!-- redmine configuration --> - <redmine.safe>false</redmine.safe> - <redmine.url>http://www.${platform}</redmine.url> - <redmine.projectId>${projectId}</redmine.projectId> - <redmine.xmlPath>${maven.gen.dir}/changes/changes.xml</redmine.xmlPath> - <redmine.issueLinkTemplate>${redmine.url}/issues/show/%ISSUE% - </redmine.issueLinkTemplate> - <redmine.versionLinkTemplate>${redmine.url}/versions/show/%VERSION% - </redmine.versionLinkTemplate> - <redmine.collectedFiles>target/collect.properties - </redmine.collectedFiles> - - <!-- extra files to include in release --> - <redmine.releaseFiles /> - - <!-- to include (or not) attached files to redmine file to publish --> - <redmine.includeAttached>false</redmine.includeAttached> - <!-- use this for a lib extra files --> - <redmine.libReleaseFiles> - target/${project.artifactId}-${project.version}-deps.zip, - target/${project.artifactId}-${project.version}-full.zip - </redmine.libReleaseFiles> - + <repository.home.url>http://maven.nuiton.org/release</repository.home.url> </properties> <packaging>pom</packaging> <build> - <defaultGoal>install</defaultGoal> + <!--<defaultGoal>install</defaultGoal>--> + <!--Ressources--> <resources> <resource> @@ -445,25 +406,9 @@ </configuration> </plugin> - <!-- TODO remove the execution from pluginManagment --> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>2.1</version> - <!--executions> - <execution> - <id>copy-dependencies</id> - <phase>package</phase> - <goals> - <goal>copy-dependencies</goal> - </goals> - <configuration> - <overWriteReleases>false</overWriteReleases> - <overWriteSnapshots>false</overWriteSnapshots> - <overWriteIfNewer>true</overWriteIfNewer> - <outputDirectory>${project.build.directory}/lib</outputDirectory> - </configuration> - </execution> - </executions--> </plugin> <plugin> @@ -510,20 +455,19 @@ <charset>${project.reporting.outputEncoding}</charset> <quiet>${maven.javadoc.quiet}</quiet> <skip>${maven.javadoc.skip}</skip> - <excludePackageNames> - ${maven.javadoc.excludePackageNames} - </excludePackageNames> + <links> + <link>http://java.sun.com/javase/6/docs/api/</link> + </links> + <excludePackageNames>${maven.javadoc.excludePackageNames}</excludePackageNames> <taglets> <taglet> <tagletClass> org.apache.maven.tools.plugin.javadoc.MojoAggregatorTypeTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -531,11 +475,9 @@ org.apache.maven.tools.plugin.javadoc.MojoComponentFieldTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -543,23 +485,17 @@ org.apache.maven.tools.plugin.javadoc.MojoConfiguratorTypeTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoExecuteTypeTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoExecuteTypeTaglet</tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -567,23 +503,17 @@ org.apache.maven.tools.plugin.javadoc.MojoExecutionStrategyTypeTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoGoalTypeTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoGoalTypeTaglet</tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -591,11 +521,9 @@ org.apache.maven.tools.plugin.javadoc.MojoInheritByDefaultTypeTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -603,11 +531,9 @@ org.apache.maven.tools.plugin.javadoc.MojoInstantiationStrategyTypeTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -615,11 +541,9 @@ org.apache.maven.tools.plugin.javadoc.MojoParameterFieldTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -627,35 +551,25 @@ org.apache.maven.tools.plugin.javadoc.MojoPhaseTypeTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoReadOnlyFieldTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoReadOnlyFieldTaglet</tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoRequiredFieldTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoRequiredFieldTaglet</tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -663,11 +577,9 @@ org.apache.maven.tools.plugin.javadoc.MojoRequiresDependencyResolutionTypeTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -675,23 +587,18 @@ org.apache.maven.tools.plugin.javadoc.MojoRequiresDirectInvocationTypeTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoRequiresOnLineTypeTaglet + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoRequiresOnLineTypeTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -699,57 +606,43 @@ org.apache.maven.tools.plugin.javadoc.MojoRequiresProjectTypeTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoRequiresReportsTypeTaglet + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoRequiresReportsTypeTaglet </tagletClass> <tagletArtifact> - <groupId>org.apache.maven.plugin-tools - </groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.codehaus.plexus.javadoc.PlexusComponentTaglet - </tagletClass> + <tagletClass>org.codehaus.plexus.javadoc.PlexusComponentTaglet</tagletClass> <tagletArtifact> <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-javadoc - </artifactId> - <version>1.3.0</version> + <artifactId>plexus-component-javadoc</artifactId> + <version>${plexus-component-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.codehaus.plexus.javadoc.PlexusConfigurationTaglet - </tagletClass> + <tagletClass>org.codehaus.plexus.javadoc.PlexusConfigurationTaglet</tagletClass> <tagletArtifact> <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-javadoc - </artifactId> - <version>1.3.0</version> + <artifactId>plexus-component-javadoc</artifactId> + <version>${plexus-component-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.codehaus.plexus.javadoc.PlexusRequirementTaglet - </tagletClass> + <tagletClass>org.codehaus.plexus.javadoc.PlexusRequirementTaglet</tagletClass> <tagletArtifact> <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-javadoc - </artifactId> - <version>1.3.0</version> + <artifactId>plexus-component-javadoc</artifactId> + <version>${plexus-component-javadoc.version}</version> </tagletArtifact> </taglet> </taglets> @@ -761,12 +654,9 @@ <!--<version>2.1</version>--> <version>2.0.1</version> <configuration> - <inputEncoding>${project.reporting.outputEncoding} - </inputEncoding> - <outputEncoding>${project.reporting.outputEncoding} - </outputEncoding> - <generateReports>${maven.reports.generate} - </generateReports> + <inputEncoding>${project.reporting.outputEncoding}</inputEncoding> + <outputEncoding>${project.reporting.outputEncoding}</outputEncoding> + <generateReports>${maven.reports.generate}</generateReports> <locales>${maven.site.locales}</locales> </configuration> <dependencies> @@ -798,39 +688,13 @@ <version>${helper.version}</version> </dependency> </dependencies> - <executions> - <!-- - Pour construire les bundles d'une lib. - - Il suffit d'ajouter dans le profile release-profile : - - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <executions> - <execution> - <phase>verify</phase> - <goals> - <goal>single</goal> - </goals> - </execution> - </executions> - <configuration> - <attach>false</attach> - <descriptorRefs> - <descriptorRef>deps</descriptorRef> - <descriptorRef>full</descriptorRef> - </descriptorRefs> - </configuration> - </plugin> - --> - <!--execution> - <id>attach-assemblies-libs</id> - - </execution--> - </executions> </plugin> + + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.3</version> + </plugin> - <plugin> <groupId>org.nuiton.thirdparty</groupId> <artifactId>webstart-maven-plugin</artifactId> @@ -846,27 +710,6 @@ <allPermissions>true</allPermissions> <offlineAllowed>true</offlineAllowed> </jnlp> - - <!-- Add some extensions for the already signed libs --> - <!--jnlpExtensions> - <jnlpExtension> - <name>sun</name> - <title>Sun MicroSystems</title> - <vendor>Sun MicroSystems, Inc.</vendor> - <includes> - <include>javax.help:javahelp</include> - </includes> - </jnlpExtension> - <jnlpExtension> - <name>jxlayer</name> - <title>Swing labs JXLayer </title> - <vendor>Swing Labs</vendor> - <includes> - <include>org.swinglabs:jxlayer</include> - </includes> - </jnlpExtension> - </jnlpExtensions--> - <sign> <keystore>${keystorepath}</keystore> <storepass>${keystorepass}</storepass> @@ -889,9 +732,16 @@ </plugin> <plugin> - <artifactId>maven-invoker-plugin</artifactId> - <version>1.5</version> + <groupId>org.codehaus.mojo</groupId> + <artifactId>buildnumber-maven-plugin</artifactId> + <version>1.0-beta-3</version> </plugin> + + <plugin> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-metadata</artifactId> + <version>1.2.0</version> + </plugin> <plugin> <groupId>org.nuiton</groupId> @@ -928,12 +778,8 @@ <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.1.2</version> <configuration> - <dependencyDetailsEnabled> - ${maven.reports.dependencyDetailsEnabled} - </dependencyDetailsEnabled> - <dependencyLocationsEnabled> - ${maven.reports.dependencyLocationsEnabled} - </dependencyLocationsEnabled> + <dependencyDetailsEnabled>${maven.reports.dependencyDetailsEnabled}</dependencyDetailsEnabled> + <dependencyLocationsEnabled>${maven.reports.dependencyLocationsEnabled}</dependencyLocationsEnabled> </configuration> <reportSets> <reportSet> @@ -964,73 +810,58 @@ <charset>${project.reporting.outputEncoding}</charset> <quiet>${maven.javadoc.quiet}</quiet> <skip>${maven.javadoc.skip}</skip> - <excludePackageNames>${maven.javadoc.excludePackageNames} - </excludePackageNames> + <links> + <link>http://java.sun.com/javase/6/docs/api/</link> + </links> + <excludePackageNames>${maven.javadoc.excludePackageNames}</excludePackageNames> <taglets> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoAggregatorTypeTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoAggregatorTypeTaglet</tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoComponentFieldTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoComponentFieldTaglet</tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoConfiguratorTypeTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoConfiguratorTypeTaglet</tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoExecuteTypeTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoExecuteTypeTaglet</tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoExecutionStrategyTypeTaglet + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoExecutionStrategyTypeTaglet </tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoGoalTypeTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoGoalTypeTaglet</tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -1039,9 +870,8 @@ </tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -1050,53 +880,40 @@ </tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoParameterFieldTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoParameterFieldTaglet</tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoPhaseTypeTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoPhaseTypeTaglet</tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoReadOnlyFieldTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoReadOnlyFieldTaglet</tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.apache.maven.tools.plugin.javadoc.MojoRequiredFieldTaglet - </tagletClass> + <tagletClass>org.apache.maven.tools.plugin.javadoc.MojoRequiredFieldTaglet</tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -1105,9 +922,8 @@ </tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -1116,9 +932,8 @@ </tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -1127,9 +942,8 @@ </tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -1138,9 +952,8 @@ </tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> @@ -1149,43 +962,33 @@ </tagletClass> <tagletArtifact> <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc - </artifactId> - <version>2.5.1</version> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.codehaus.plexus.javadoc.PlexusComponentTaglet - </tagletClass> + <tagletClass>org.codehaus.plexus.javadoc.PlexusComponentTaglet</tagletClass> <tagletArtifact> <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-javadoc - </artifactId> - <version>1.3.0</version> + <artifactId>plexus-component-javadoc</artifactId> + <version>${plexus-component-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.codehaus.plexus.javadoc.PlexusConfigurationTaglet - </tagletClass> + <tagletClass>org.codehaus.plexus.javadoc.PlexusConfigurationTaglet</tagletClass> <tagletArtifact> <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-javadoc - </artifactId> - <version>1.3.0</version> + <artifactId>plexus-component-javadoc</artifactId> + <version>${plexus-component-javadoc.version}</version> </tagletArtifact> </taglet> <taglet> - <tagletClass> - org.codehaus.plexus.javadoc.PlexusRequirementTaglet - </tagletClass> + <tagletClass>org.codehaus.plexus.javadoc.PlexusRequirementTaglet</tagletClass> <tagletArtifact> <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-javadoc - </artifactId> - <version>1.3.0</version> + <artifactId>plexus-component-javadoc</artifactId> + <version>${plexus-component-javadoc.version}</version> </tagletArtifact> </taglet> </taglets> @@ -1214,7 +1017,7 @@ </plugin> <!-- Implicit add of reportSet to not generate jira reports --> - <plugin> + <!--plugin> <artifactId>maven-changes-plugin</artifactId> <version>2.3</version> <configuration> @@ -1230,7 +1033,7 @@ </reports> </reportSet> </reportSets> - </plugin> + </plugin--> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> @@ -1245,8 +1048,7 @@ <version>2.4</version> <configuration> <linkXRef>true</linkXRef> - <sourceEncoding>${project.reporting.outputEncoding} - </sourceEncoding> + <sourceEncoding>${project.reporting.outputEncoding}</sourceEncoding> <minimumTokens>100</minimumTokens> <targetJdk>${maven.compile.target}</targetJdk> </configuration> @@ -1263,22 +1065,6 @@ <version>2.4.3</version> </plugin> - <!--plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <version>${jredmine.version}</version> - <configuration> - <columnNames>key,summary,status,assignee,tracker,priority,version,category,createdOn</columnNames> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>issues-report</report> - </reports> - </reportSet> - </reportSets> - </plugin--> - <!-- a voir si on le garde car hudson le fait aussi ? --> <!--plugin> <groupId>org.codehaus.mojo</groupId> @@ -1310,11 +1096,11 @@ <distributionManagement> <repository> <id>nuiton</id> - <url>scpexe://${platform}/var/lib/maven/release</url> + <url>scpexe://nuiton.org/var/lib/maven/release</url> </repository> <snapshotRepository> <id>nuiton</id> - <url>scpexe://${platform}/var/lib/maven/snapshot</url> + <url>scpexe://nuiton.org/var/lib/maven/snapshot</url> </snapshotRepository> <site> <id>nuiton</id> @@ -1322,7 +1108,7 @@ qui héritent de ce pom (/artifactId est rajouté) mais cela ne fonctionne pas pour mavenpom lui-même (voir profile internal) --> - <url>scpexe://${platform}/var/lib/redmine-${platform}/project-site</url> + <url>scpexe://nuiton.org/var/lib/redmine-${platform}/project-site/${projectId}</url> </site> </distributionManagement> @@ -1357,8 +1143,7 @@ <activeByDefault>false</activeByDefault> </activation> <properties> - <maven.reports.dependencyDetailsEnabled>false - </maven.reports.dependencyDetailsEnabled> + <maven.reports.dependencyDetailsEnabled>false</maven.reports.dependencyDetailsEnabled> </properties> </profile> <!-- do not build locations of dependencies in maven-project-info-report (speedup site generation in dev) --> @@ -1368,8 +1153,7 @@ <activeByDefault>false</activeByDefault> </activation> <properties> - <maven.reports.dependencyLocationsEnabled>false - </maven.reports.dependencyLocationsEnabled> + <maven.reports.dependencyLocationsEnabled>false</maven.reports.dependencyLocationsEnabled> </properties> </profile> @@ -1426,329 +1210,155 @@ </execution> </executions> </plugin> + </plugins> </build> </profile> - <!-- perform only on a release stage when using the maven-release-plugin --> + <!-- use this plugin to run the main class --> <profile> - <id>redmine-pre-release-profile</id> + <id>run</id> <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> + <activeByDefault>false</activeByDefault> </activation> - <properties> - <redmine.safe>true</redmine.safe> - </properties> - - <reporting> - <plugins> - - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <version>${jredmine.version}</version> - <configuration> - <columnNames> - key,summary,status,assignee,tracker,priority,version,category,createdOn - </columnNames> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>issues-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> - - </plugins> - </reporting> <build> - + <defaultGoal>package</defaultGoal> <plugins> - - <!-- - - obtain redmine login - - collect files for jredmine release - --> <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> + <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> - <id>get-redmine-login</id> + <id>check-run</id> <goals> - <goal>share-server-secret</goal> + <goal>enforce</goal> </goals> <phase>initialize</phase> <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> + <rules> + <requireProperty> + <property>maven.jar.main.class</property> + <message>Could not find the "maven.jar.main.class" required property, use + -Dmaven.jar.main.class=your.main.class.fqn + </message> + </requireProperty> + </rules> + <ignoreCache>true</ignoreCache> + <failFast>true</failFast> + <fail>true</fail> + </configuration> </execution> - <execution> - <id>get-redmine-login-site</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>pre-site</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - </configuration> - </execution> - <execution> - <id>collect-files</id> - <goals> - <goal>collect-files</goal> - </goals> - <phase>install</phase> - <configuration> - <extraFiles>${redmine.releaseFiles} - </extraFiles> - <descriptionFile>${redmine.collectedFiles} - </descriptionFile> - <includeAttached>${redmine.includeAttached} - </includeAttached> - <!--<copyFiles>false</copyFiles>--> - </configuration> - </execution> </executions> </plugin> - <!-- generate the changes.xml from redmine --> <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> <executions> <execution> - <id>jredmine-generate</id> + <id>run</id> <goals> - <goal>generate-changes</goal> - <goal>generate-news-announcement</goal> - <goal>generate-email-announcement</goal> + <goal>java</goal> </goals> - <phase>process-classes</phase> + <phase>compile</phase> + <configuration> + <mainClass>${maven.jar.main.class}</mainClass> + <classpathScope>runtime</classpathScope> + </configuration> </execution> </executions> - <configuration> - - <!-- generate-changes --> - <generateOnce>true</generateOnce> - <actionMapping>fix:1, add:2</actionMapping> - <statusIds>3,4,5</statusIds> - - <!-- generate announcements --> - <urlDownload> - ${redmine.url}/projects/list_files/${projectId} - </urlDownload> - - <!--<changesTitle>Release note of Maven pom project</changesTitle>--> - <!--<releaseDescription>Description of first release</releaseDescription>--> - <!--<verbose>true</verbose>--> - </configuration> </plugin> </plugins> - </build> + <properties> + <exec.mainClass>${maven.jar.main.class}</exec.mainClass> + <exec.classpathScope>runtime</exec.classpathScope> + </properties> </profile> - <!-- perform a redmine release after a successfull release --> + <!-- ce plugin permet de deployer un site en local --> <profile> - <id>redmine-release-profile</id> + <id>staging-site-profile</id> <activation> <property> - <name>performRedmineRelease</name> + <name>stagingSite</name> <value>true</value> </property> </activation> - <properties> - <dryRun>true</dryRun> - <redmine.dryRun>${dryRun}</redmine.dryRun> + <stagingUrl>scpexe://localhost/var/www/maven-staging-site</stagingUrl> </properties> - <build> + <distributionManagement> + <site> + <id>staging-site</id> + <url>${stagingUrl}</url> + </site> + </distributionManagement> + </profile> + <!-- ce profile permet de generer les entetes de licenses pour les + fichiers java --> + <profile> + <id>update-java-header</id> + <activation> + <property> + <name>updateJavaHeader</name> + <value>true</value> + </property> + </activation> + <build> + <defaultGoal>process-resources</defaultGoal> <plugins> - - <!-- - - obtain redmine login - - send release email - --> <plugin> <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> + <artifactId>maven-license-plugin</artifactId> <executions> <execution> - <id>get-redmine-login</id> + <id>update-java-header</id> <goals> - <goal>share-server-secret</goal> + <goal>update-header</goal> </goals> - <phase>validate</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - </configuration> + <phase>process-resources</phase> </execution> - <execution> - <id>send-release-email</id> - <goals> - <goal>send-email</goal> - </goals> - <phase>validate</phase> - </execution> </executions> - <configuration> - - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - - <emailTitle>[ANN] - ${project.name} ${project.version} released - </emailTitle> - <emailContentFile> - target/generated-sources/announcement/release-email-announcement.vm - </emailContentFile> - <mailSender> - <name>${platform} Release Notification</name> - <email>noreply@${platform}</email> - </mailSender> - <toAddresses> - <item>${listId}-users@list.${platform}</item> - <item>${listId}-devel@list.${platform}</item> - <item>announce-${platform}@list.${platform}</item> - </toAddresses> - <smtpHost>smtp</smtpHost> - <!-- fix bug #146 --> - <encoding>iso-8859-1</encoding> - </configuration> </plugin> - - <!-- - - update version in redmine - - publish release files to redmine - - publish a release news in redmine - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-release</id> - <goals> - <goal>update-version</goal> - <goal>publish-attachments</goal> - <goal>publish-news</goal> - </goals> - <phase>validate</phase> - </execution> - </executions> - <configuration> - - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - - <!-- update-version --> - <closeVersion>true</closeVersion> - - <!-- publish-attachments --> - <filesFromProperties>${redmine.collectedFiles} - </filesFromProperties> - - <!-- publish-news --> - <newsContentFile> - target/generated-sources/announcement/release-news-announcement.vm - </newsContentFile> - <newsSummary>${project.description}</newsSummary> - <newsTitle>${project.name} ${project.version} released</newsTitle> - - </configuration> - </plugin> - </plugins> - </build> </profile> - <!-- perform a redmine release after a successfull release --> + <!-- ce profile permet de generer les entetes de licenses pour les + fichiers JAXX --> <profile> - <id>redmine-next-version-profile</id> + <id>update-jaxx-header</id> <activation> <property> - <name>redmineNextVersion</name> + <name>updateJaxxHeader</name> <value>true</value> </property> </activation> - - <properties> - - </properties> <build> - - <defaultGoal>validate</defaultGoal> - + <defaultGoal>process-resources</defaultGoal> <plugins> - - <!-- - - obtain redmine login - --> <plugin> <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> + <artifactId>maven-license-plugin</artifactId> <executions> <execution> - <id>get-redmine-login</id> + <id>update-jaxx-header</id> <goals> - <goal>share-server-secret</goal> + <goal>update-header</goal> </goals> - <phase>validate</phase> + <phase>process-resources</phase> <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> + <generatorName>license-xml</generatorName> + <includes>**/*.jaxx</includes> </configuration> </execution> </executions> - <configuration> - - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - </configuration> </plugin> - - <!-- - create next version if necessary and transfert all opened issued from a previous version - if given - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-next-version</id> - <goals> - <goal>next-version</goal> - </goals> - <phase>validate</phase> - </execution> - </executions> - <configuration> - - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - - </configuration> - </plugin> - </plugins> - </build> </profile> @@ -1813,8 +1423,7 @@ </property> </activation> <properties> - <jnlp.codebase>file://${project.build.directory}/jnlp - </jnlp.codebase> + <jnlp.codebase>file://${project.build.directory}/jnlp</jnlp.codebase> </properties> <build> <plugins> @@ -1858,294 +1467,350 @@ </build> </profile> - <!-- use this plugin to run the main class --> + <!-- ce profile est dedie uniquement a mavenpom pour faire des releases + pour corriger les url de deployements qui marcheront pour tous les + poms héritant de mavenpom, mais pas pour mavenpom lui-même... + + Lors d'une release, il faut donc faire : + + mvn release:perform -Dinternal + + ou + + mvn release:perform -Pinternal + --> <profile> - <id>run</id> + <id>internal</id> <activation> - <activeByDefault>false</activeByDefault> + <property> + <name>internal</name> + <value>true</value> + </property> </activation> + <!--distributionManagement> + <site> + <id>nuiton</id> + <url> + scpexe:/nuiton.org/var/lib/redmine-nuiton/project-site/mavenpom + </url> + </site> + </distributionManagement--> + <properties> + + <projectId>mavenpom</projectId> + <maven.site.locales>fr,en</maven.site.locales> + <siteSourcesType>apt</siteSourcesType> + + <!-- must fail if redmine actions failed --> + <redmine.safe>true</redmine.safe> + + <!-- redmine configuration --> + <redmine.url>http://www.${platform}</redmine.url> + <redmine.projectId>${projectId}</redmine.projectId> + <redmine.xmlPath>${maven.gen.dir}/changes/changes.xml</redmine.xmlPath> + <redmine.collectedArtifacts>target/collect-artifacts.txt</redmine.collectedArtifacts> + <redmine.deploymentUrl>${repository.home.url}</redmine.deploymentUrl> + <!-- extra files to include in release --> + <redmine.releaseFiles/> + + <!-- always force user to add -DdryRun to perform redmine actions --> + <dryRun>true</dryRun> + <redmine.dryRun>${dryRun}</redmine.dryRun> + + </properties> + <build> - <defaultGoal>package</defaultGoal> + <pluginManagement> + <plugins> + + <plugin> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <!-- activate this profile while doing release:prepare --> + <prepareVerifyArgs>-Dinternal</prepareVerifyArgs> + <autoVersionSubmodules>true</autoVersionSubmodules> + <!-- activate this profile while doing release:perform --> + <releaseProfiles>internal</releaseProfiles> + </configuration> + </plugin> + + </plugins> + </pluginManagement> + <plugins> + + <!-- + - obtain redmine login (for both cycle default and site) + - collect artifacts files + - collect attachments files + --> <plugin> - <artifactId>maven-enforcer-plugin</artifactId> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> <executions> <execution> - <id>check-run</id> + <id>get-redmine-login</id> <goals> - <goal>enforce</goal> + <goal>share-server-secret</goal> </goals> <phase>initialize</phase> + <inherited>false</inherited> <configuration> - <rules> - <requireProperty> - <property>maven.jar.main.class</property> - <message>Could not find the "maven.jar.main.class" required property, use -Dmaven.jar.main.class=your.main.class.fqn - </message> - </requireProperty> - </rules> - <ignoreCache>true</ignoreCache> - <failFast>true</failFast> - <fail>true</fail> - + <serverId>redmine-nuiton.org</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> </configuration> </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <executions> + <!--execution> + <id>get-redmine-login-site</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>pre-site</phase> + <configuration> + <serverId>redmine-${platform}</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> + </configuration> + </execution--> <execution> - <id>run</id> + <id>collect-build-artifacts</id> <goals> - <goal>java</goal> + <goal>collect-files</goal> </goals> - <phase>compile</phase> + <phase>install</phase> <configuration> - <mainClass>${maven.jar.main.class} - </mainClass> - <classpathScope>runtime</classpathScope> + <descriptionFile>${redmine.collectedArtifacts}</descriptionFile> + <includeAttached>true</includeAttached> + <copyFiles>true</copyFiles> </configuration> </execution> </executions> </plugin> - </plugins> - </build> - <properties> - <exec.mainClass>${maven.jar.main.class}</exec.mainClass> - <exec.classpathScope>runtime</exec.classpathScope> - </properties> - </profile> - - <!-- ce profile permet de generer les entetes de licenses pour les - fichiers java --> - <profile> - <id>update-java-header</id> - <activation> - <property> - <name>updateJavaHeader</name> - <value>true</value> - </property> - </activation> - <build> - <defaultGoal>process-resources</defaultGoal> - <plugins> + <!-- generate the changes.xml from redmine --> <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-license-plugin</artifactId> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> <executions> <execution> - <id>update-java-header</id> + <id>jredmine-generate-changes</id> <goals> - <goal>update-header</goal> + <goal>generate-changes</goal> </goals> - <phase>process-resources</phase> + <!-- use this phase to avoid multi-invocations --> + <phase>process-classes</phase> </execution> </executions> + <configuration> + + <generateOnce>true</generateOnce> + <actionMapping>fix:1, add:2</actionMapping> + <statusIds>3,4,5</statusIds> + + </configuration> </plugin> + </plugins> </build> + + <reporting> + <plugins> + + <plugin> + <artifactId>maven-changes-plugin</artifactId> + <version>2.3</version> + <configuration> + <issueLinkTemplatePerSystem> + <redmine>${redmine.issueLinkTemplate}</redmine> + </issueLinkTemplatePerSystem> + <xmlPath>${redmine.xmlPath}</xmlPath> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> + + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <version>${jredmine.version}</version> + <configuration> + <columnNames> + key,summary,status,assignee,tracker,priority,version,category,createdOn + </columnNames> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>issues-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> + + </plugins> + </reporting> + </profile> - <!-- ce profile permet de generer les entetes de licenses pour les - fichiers JAXX --> + <!-- + + --> <profile> - <id>update-jaxx-header</id> + <id>internalRedminePreRelease</id> <activation> <property> - <name>updateJaxxHeader</name> + <name>internalRedminePreRelease</name> <value>true</value> </property> </activation> + <build> - <defaultGoal>process-resources</defaultGoal> + + <defaultGoal>generate-sources</defaultGoal> + <plugins> + + <!-- + - upload attachments + - generate the changes.xml from redmine + --> <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-license-plugin</artifactId> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> <executions> <execution> - <id>update-jaxx-header</id> + <id>jredmine-pre-release</id> <goals> - <goal>update-header</goal> + <goal>publish-attachments</goal> + <goal>generate-news-announcement</goal> + <goal>generate-email-announcement</goal> </goals> - <phase>process-resources</phase> + <phase>generate-sources</phase> + <inherited>false</inherited> <configuration> - <generatorName>license-xml</generatorName> - <includes>**/*.jaxx</includes> + + <!-- publish-attachments --> + <filesFromProperties>${redmine.collectedAttachments}</filesFromProperties> + + <!-- generate announcements --> + <urlDownload>${redmine.url}/projects/list_files/${projectId}</urlDownload> + <artifactsFile>${redmine.collectedArtifacts}</artifactsFile> + </configuration> </execution> </executions> + </plugin> + </plugins> </build> + </profile> - <!-- ce profile est dedie uniquement a mavenpom pour faire des releases - pour corriger les url de deployements qui marcheront pour tous les - poms héritant de mavenpom, mais pas pour mavenpom lui-même... - - TC-20100107 try to avoid this by using directly the internal profile : - - mvn release:perform -Pinternal - - Lors d'une release, il faut donc faire : - - mvn release:perform -DreleaseProfiles=internal - --> + <!-- perform a redmine release after a successfull release --> <profile> - <id>internal</id> - <distributionManagement> - <site> - <id>nuiton</id> - <url> - scpexe://${platform}/var/lib/redmine-nuiton/project-site/mavenpom - </url> - </site> - </distributionManagement> - <properties> - <maven.site.locales>fr,en</maven.site.locales> - <siteSourcesType>apt</siteSourcesType> - <redmine.releaseFiles>pom.xml,src/site/site_fr.xml,src/site/site_en.xml</redmine.releaseFiles> - </properties> - - <build> - <pluginManagement> - <plugins> - <plugin> - <artifactId>maven-release-plugin</artifactId> - <configuration> - <prepareVerifyArgs>-Pinternal</prepareVerifyArgs> - <releaseProfiles>internal</releaseProfiles> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - </profile> - - <!-- ce plugin permet de deployer un site en local --> - <profile> - <id>staging-site-profile</id> + <id>internalRedmineRelease</id> <activation> <property> - <name>stagingSite</name> + <name>internalRedmineRelease</name> <value>true</value> </property> </activation> - <properties> - <stagingUrl>scpexe://localhost/var/www/maven-staging-site - </stagingUrl> - </properties> - <distributionManagement> - <site> - <id>staging-site</id> - <url>${stagingUrl}</url> - </site> - </distributionManagement> - </profile> - <!--<profile> - <id>reporting</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> + <build> - <reporting> + <defaultGoal>generate-sources</defaultGoal> + <plugins> + <!-- + - obtain redmine login + - send release email + --> <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <version>${javadoc.version}</version> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>send-release-email</id> + <goals> + <goal>send-email</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + </execution> + </executions> <configuration> - <docencoding>${project.build.sourceEncoding}</docencoding> - <encoding>${project.build.sourceEncoding}</encoding> - <charset>${project.reporting.outputEncoding}</charset> - <quiet>${maven.javadoc.quiet}</quiet> - <skip>${maven.javadoc.skip}</skip> - <excludePackageNames>${maven.javadoc.excludePackageNames}</excludePackageNames> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>javadoc</report> - <report>test-javadoc</report> - </reports> - </reportSet> - </reportSets> - </plugin> - changelog:changelog - changelog:dev-activity - changelog:file-activity - FIXME : TC-20090816 : there is a bug with fileactivity - in report, trunk url are prefix with tag/xxx-releaseNumber ! - <plugin> - <artifactId>maven-changelog-plugin</artifactId> - <version>2.1</version> - configuration> - <displayFileDetailUrl>http://svn.${platform}/svn/${projectId}%FILE%</displayFileDetailUrl> - </configuration </plugin> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> - Implicit add of reportSet to not generate jira reports - <plugin> - <artifactId>maven-changes-plugin</artifactId> - <version>2.1</version> - <configuration> - <issueLinkTemplatePerSystem> - <redmine>${redmine.issueLinkTemplate}</redmine> - </issueLinkTemplatePerSystem> - <xmlPath>${redmine.xmlPath}</xmlPath> + <emailTitle>[ANN] - ${project.name} ${project.version} released</emailTitle> + <emailContentFile> + target/generated-sources/announcement/release-email-announcement.vm + </emailContentFile> + <mailSender> + <name>${platform} Release Notification</name> + <email>noreply@${platform}</email> + </mailSender> + <toAddresses> + <item>${listId}-users@list.${platform}</item> + <item>${listId}-devel@list.${platform}</item> + <item>announce-${platform}@list.${platform}</item> + </toAddresses> + <smtpHost>smtp</smtpHost> + <!-- fix bug #146 --> + <encoding>iso-8859-1</encoding> </configuration> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - </reports> - </reportSet> - </reportSets> </plugin> + <!-- + - update version in redmine + - publish a release news in redmine + --> <plugin> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.3</version> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-release</id> + <goals> + <goal>update-version</goal> + <goal>publish-news</goal> + </goals> + <phase>generate-sources</phase> + <inherited>false</inherited> + </execution> + </executions> <configuration> - <encoding>${project.reporting.outputEncoding}</encoding> - </configuration> - </plugin> - <plugin> - <artifactId>maven-pmd-plugin</artifactId> - <version>2.4</version> - <configuration> - <linkXRef>true</linkXRef> - <sourceEncoding>${project.reporting.outputEncoding}</sourceEncoding> - <minimumTokens>100</minimumTokens> - <targetJdk>${maven.compile.target}</targetJdk> - </configuration> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> - </plugin> + <!-- update-version --> + <closeVersion>true</closeVersion> - <plugin> - <artifactId>maven-jxr-plugin</artifactId> - <version>2.1</version> - </plugin> + <!-- publish-news --> + <newsContentFile> + target/generated-sources/announcement/release-news-announcement.vm + </newsContentFile> + <newsSummary>${project.description}</newsSummary> + <newsTitle>${project.name} ${project.version} released</newsTitle> - <plugin> - <artifactId>maven-surefire-report-plugin</artifactId> - <version>2.4.3</version> + </configuration> </plugin> + </plugins> - </reporting> - </profile>--> + </build> + </profile> + </profiles> </project> Property changes on: trunk/src/site/apt/MavenProjectBestPratices.apt ___________________________________________________________________ Deleted: svn:mergeinfo - Property changes on: trunk/src/site/apt/Todo.apt ___________________________________________________________________ Deleted: svn:mergeinfo - Modified: trunk/src/site/apt/index.apt =================================================================== --- trunk/src/site/apt/index.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/src/site/apt/index.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -8,8 +8,7 @@ Présentation Le projet <mavenpom> est un pom de type <Corporate> dont héritent tous les - projets {{{http://www.nuiton.org}nuiton}} et {{{http://www.chorem.org}chorem}} - (execpté les plugins utilisés dans mavenpom). + projets {{{http://www.codelutin.com}code Lutin}}. Les propriétés @@ -21,7 +20,7 @@ * propriétés obligatoires - Aucune a l'heure actuelle + Aucune à l'heure actuelle * Fichiers obligatoires Property changes on: trunk/src/site/apt/index.apt ___________________________________________________________________ Deleted: svn:mergeinfo - Property changes on: trunk/src/site/apt/plugins-detail.apt ___________________________________________________________________ Deleted: svn:mergeinfo - Copied: trunk/src/site/apt/release.apt (from rev 751, branches/mavenpom-2.x/src/site/apt/release.apt) =================================================================== --- trunk/src/site/apt/release.apt (rev 0) +++ trunk/src/site/apt/release.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,82 @@ +------ +Effectuer une release +------ +------ +2010-01-10 +------ + +Abstract + + Cette page décrit la méthode pour effectuer une release de mavenpom. Mavenpom devant être neutre + par rapport à un quelconque environnement, on utilise des profiles uniquement réservés à <<mavenpom>>. + + + L'opération se déroule en 3 étapes. + +Etape 1 + + Effectuer une release normal + +-------------------------------------------------------------------------------- +mvn release:prepare -Dinternal +mvn release:perform -Dinternal +-------------------------------------------------------------------------------- + +Etape 2 + + Dans cette phase, on va : + + * Deployement des fichiers vers redmine + + * Créer les announces de release + + [] + + On travaille sur la version utilisée pour faire la release. + +-------------------------------------------------------------------------------- +cd target/checkout +-------------------------------------------------------------------------------- + + La commande suivante simule (sans rien déployer) + +-------------------------------------------------------------------------------- +mvn -Dinternal -DinternalRedminePreRelease +-------------------------------------------------------------------------------- + + Si aucune erreur lors de l'execution, on lance la commande suivante + +-------------------------------------------------------------------------------- +mvn -Dinternal -DinternalRedminePreRelease -DdryRun=false +-------------------------------------------------------------------------------- + + A ce stade, les annonces ont été créées ici + +-------------------------------------------------------------------------------- +target/generated-sources/announcement/release-news-announcement.vm +target/generated-sources/announcement/release-email-announcement.vm +-------------------------------------------------------------------------------- + +Etape 3 + + On finalise la release après avoir finaliser les annonces (si nécessaire) : + + * Mise à jour de la version sur redmine (on la clôture) + + * Envoie de l'email d'annonce de release + + * Publication de l'annonce de release sur redmine + + [] + + La commande suivante simule (sans rien publier) : + +-------------------------------------------------------------------------------- +mvn -Dinternal -DinternalRedmineRelease +-------------------------------------------------------------------------------- + + Si aucune erreur, on peut lancer la commande réelle + +-------------------------------------------------------------------------------- +mvn -Dinternal -DinternalRedmineRelease -DdryRun=false +-------------------------------------------------------------------------------- Modified: trunk/src/site/en/apt/index.apt =================================================================== --- trunk/src/site/en/apt/index.apt 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/src/site/en/apt/index.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -7,8 +7,7 @@ Abstract - Corporate pom of all {{{http://www.nuiton.org}nuiton}} and - {{{http://www.chorem.org}chorem}} projects. + Corporate pom of all {{{http://www.codelutin.com}Code Lutin}} projects. Available properties Property changes on: trunk/src/site/en/apt/plugins-detail.apt ___________________________________________________________________ Deleted: svn:mergeinfo - Copied: trunk/src/site/en/apt/release.apt (from rev 751, branches/mavenpom-2.x/src/site/en/apt/release.apt) =================================================================== --- trunk/src/site/en/apt/release.apt (rev 0) +++ trunk/src/site/en/apt/release.apt 2010-01-15 00:11:41 UTC (rev 752) @@ -0,0 +1,81 @@ +------ +Make a release from mavenpom4redmine +------ +------ +2010-01-10 +------ + +Abstract + + This page describe how to make a release of <<mavenpom>>. Since <<mavenpom>> is neutral from any environnement, + we use dedicated profiles (ony for maven pom). + + The release takes three stages. + +stage 1 + + Do a normal release + +-------------------------------------------------------------------------------- +mvn release:prepare -Dinternal +mvn release:perform -Dinternal +-------------------------------------------------------------------------------- + +Stage 2 + + In this stage, we will : + + * Deploy redmine release attachments + + * Create release announcements + + [] + + Go to the released project. + +-------------------------------------------------------------------------------- +cd target/checkout +-------------------------------------------------------------------------------- + + To try this stage launch this command : + +-------------------------------------------------------------------------------- +mvn -Dinternal -DinternalRedminePreRelease +-------------------------------------------------------------------------------- + + If no error occurs here, launch the following command : + +-------------------------------------------------------------------------------- +mvn -Dinternal -DinternalRedminePreRelease -DdryRun=false +-------------------------------------------------------------------------------- + + At this point, attachements are published and announcements are created here : + +-------------------------------------------------------------------------------- +target/generated-sources/announcement/release-news-announcement.vm +target/generated-sources/announcement/release-email-announcement.vm +-------------------------------------------------------------------------------- + + You can customize these announcements. + +Stage 3 + + Finalize the release, after customized announcements (if necessary). + + * Update redmine project version. + + * Send the release announcement email + + * Publish the release announcement on redmine + + [] + +-------------------------------------------------------------------------------- +mvn -Dinternal -DinternalRedmineRelease +-------------------------------------------------------------------------------- + + If no error occurs, launch the release command : + +-------------------------------------------------------------------------------- +mvn -Dinternal -DinternalRedmineRelease -DdryRun=false +-------------------------------------------------------------------------------- Modified: trunk/src/site/site_en.xml =================================================================== --- trunk/src/site/site_en.xml 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/src/site/site_en.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -32,6 +32,8 @@ <item name="${project.name}" href="index.html"/> </breadcrumbs> + <menu ref="modules"/> + <menu name="Inside mavenpom"> <item name="Home" href="/index.html"/> <item name="Properties" href="properties.html"/> @@ -40,6 +42,7 @@ </menu> <menu name="Dev"> + <item name="Make a mavenpom release" href="release.html"/> <item name="Maven best pratices" href="MavenProjectBestPratices.html"/> <item name="Todo" href="Todo.html"/> </menu> Modified: trunk/src/site/site_fr.xml =================================================================== --- trunk/src/site/site_fr.xml 2010-01-14 23:56:21 UTC (rev 751) +++ trunk/src/site/site_fr.xml 2010-01-15 00:11:41 UTC (rev 752) @@ -32,6 +32,8 @@ <item name="${project.name}" href="index.html"/> </breadcrumbs> + <menu ref="modules"/> + <menu name="Inside mavenpom"> <item name="Accueil" href="index.html"/> <item name="Propriétés" href="properties.html"/> @@ -40,6 +42,7 @@ </menu> <menu name="Développeur"> + <item name="Faire une release de mavenpom" href="release.html"/> <item name="Maven best pratices" href="MavenProjectBestPratices.html"/> <item name="A faire" href="Todo.html"/> </menu>
participants (1)
-
tchemit@users.nuiton.org