r987 - in trunk/mavenpom4redmine: . mavenpom4redmineAndCentral mavenpom4redmineAndCentral/src mavenpom4redmineAndCentral/src/site mavenpom4redmineAndCentral/src/site/apt mavenpom4redmineAndCentral/src/site/en mavenpom4redmineAndCentral/src/site/en/apt
Author: tchemit Date: 2010-10-03 13:18:57 +0200 (Sun, 03 Oct 2010) New Revision: 987 Url: http://nuiton.org/repositories/revision/mavenpom/987 Log: Evolution #907: Introduce mavenpom4redmineAndCentral Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/LICENSE.txt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/README.txt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/changelog.txt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/index.apt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/minimalpom.apt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/profiles.apt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/properties.apt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/release.apt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/index.apt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/minimalpom.apt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/profiles.apt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/properties.apt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/release.apt trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/site_en.xml trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/site_fr.xml Modified: trunk/mavenpom4redmine/pom.xml Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral ___________________________________________________________________ Added: svn:ignore + target *.ipr *.iml *.iws .project .classpath Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/LICENSE.txt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/LICENSE.txt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/LICENSE.txt 2010-10-03 11:18:57 UTC (rev 987) @@ -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. + Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/LICENSE.txt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/README.txt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/README.txt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/README.txt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,2 @@ +To deploy new version of pom: mvn deploy +To install localy: mvn install Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/README.txt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/changelog.txt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/changelog.txt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/changelog.txt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,113 @@ +Changelog is not any longer maintained, please refer to the release note : + http://maven-site.nuiton.org/mavenpom/changes-report.html + +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 Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/changelog.txt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + Mavenpom + + $Id$ + $HeadURL$ + %% + Copyright (C) 2009 - 2010 CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% +--> +<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>mavenpom4redmine</artifactId> + <version>2.2.7-SNAPSHOT</version> + </parent> + + <artifactId>mavenpom4redmineAndCentral</artifactId> + + <!-- add this in your pom + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom4redmineAndCentral</artifactId> + <version>XXX</version> + </parent> + --> + + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> + + <name>Mavenpom4redmineAndCentral</name> + + <description>Ancestor of all projects of Code Lutin based on a redmine + developpment environnement and which are synchronized to Maven central + </description> + + <inceptionYear>2010</inceptionYear> + + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> + + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> + + <properties> + + <!-- pour casser l'héritage depuis mavenpom --> + <site.repository>${our.site.repository}</site.repository> + + <!-- activate this profile while doing release:prepare --> + <arguments>-DperformRelease -Pcentral-safe</arguments> + + <!-- activate this profile while doing release:perform --> + <releaseProfiles>central-safe</releaseProfiles> + + <!-- deploy releases on central-releases repository --> + <release.repository>${central.release.repository}</release.repository> + + </properties> + + <packaging>pom</packaging> + + <!-- ************************************************************* --> + <!-- *** Maven Environment *************************************** --> + <!-- ************************************************************* --> + + <!--Distribution--> + <distributionManagement> + <site> + <id>${site.server}</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>${site.repository}</url> + </site> + </distributionManagement> + + <!-- Maven Environment : profiles --> + <profiles> + + <profile> + <id>internal</id> + <activation> + <property> + <name>internal</name> + <value>true</value> + </property> + </activation> + <properties> + <!-- force to use correct site location --> + <site.repository> + ${our.site.repository}/mavenpom/mavenpom4redmineAndCentral + </site.repository> + </properties> + </profile> + + + </profiles> + +</project> Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/index.apt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/index.apt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/index.apt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,113 @@ +~~~ +~~ #%L +~~ Mavenpom4redmine +~~ ~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + +------ +Mavenpom4redmine +------ +------ +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. + +* Ce qui est géré par mavenpom4redmine + + Ce pom définit tout ce qui concerne l'environnement, il vous est donc + inutile de les définir dans vos poms, à savoir : + + * intégration continue (hudson) + + * environnement de distribution (deploiement des artifacts et site) + + * gestion des 'issues' (sur redmine) + + * les profiles de release + + * la license LGPL v3 + + * les listes de diffusion <commits>, <devel> et <users> + + * les version des plugins externes + + * la configuration des rapports du site + +* Ce que vous devez définir dans votre pom + + * l'url de votre projet + + * la définition du dépôt svn (section <<scm>>). + + * les dépendances de votre projet + + * le build + +* Le pom minimal + + Un exemple de pom minimal est donnée à la + {{{./minimalpom.html}page suivante}}, en vous basant dessus, tout devrait + bien se dérouler. + +Les propriétés + + Voir la page des {{{./properties.html}propriétés}} du pom. + + Voir la page des {{{../properties.html}propriétés}} du <mavenpom>. + +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 + + Pour connaître la liste des plugins gérés par <mavenpom4redmine>, veuillez + vous rendre sur la page de + {{{./plugin-management.html}configuration des plugins}}. + + Pour mieux comprendre comment utiliser les plugins (et gérer les versions des + plugins) une explication est donnée dans <mavenpom> sur la + {{{../index.html#Configuration des plugins}page suivante}}. Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/index.apt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/minimalpom.apt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/minimalpom.apt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/minimalpom.apt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,142 @@ +~~~ +~~ #%L +~~ Mavenpom4redmine +~~ ~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + +------ +Mavenpom4redmine usage +------ +------ +2010-01-22 +------ + +Préambule + + Cette page décrit un pom minimal qui utilise correctement <<mavenpom4redmine>>. + +Le pom + +-------------------------------------------------------------------------------- + +<?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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> + + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom4redmine</artifactId> + <version>2.0.2</version> + </parent> + + <artifactId>myProject</artifactId> + <version>0.1-SNAPSHOT</version> + + <dependencies> + + <!-- your dependencies --> + + </dependencies> + + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> + <name>Maven License Plugin</name> + + <description>myProject description</description> + <inceptionYear>2010</inceptionYear> + <url>projectUrl</url> + + <developers> + + <!-- project developpers --> + + </developers> + + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> + + <!-- Source control management. --> + <scm> + <connection>scm:svn:http://svn.nuiton.org/svn/myProject/trunk</connection> + <developerConnection>scm:svn:http://svn.nuiton.org/svn/myProject/trunk</developerConnection> + <url>http://www.nuiton.org/repositories/browse/myProject/trunk</url> + </scm> + + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> + + <packaging>your packaging (pom, jar, war, ear, plugin, ...)</packaging> + + <properties> + + <!-- use this on a multi-module --> + <projectId>myProject</projectId> + + <!-- if documentation is not in french, oveerides it --> + <siteLocales>fr,en</siteLocales> + + <!-- if documentation is not in rst format, overrides it --> + <siteSourcesType>apt</siteSourcesType> + </properties> + + <build> + + <plugins> + + <!-- extra build plugins --> + + </plugins> + + <pluginManagement> + <plugins> + + <!-- extra plugins --> + <plugin> + <!-- use this conf for documentation in rst --> + <artifactId>maven-site-plugin</artifactId> + <dependencies> + <dependency> + <groupId>org.nuiton.jrst</groupId> + <artifactId>doxia-module-jrst</artifactId> + <version>${jrst.version}</version> + </dependency> + </dependencies> + </plugin> + + </plugins> + </pluginManagement> + + </build> + +</project> + +-------------------------------------------------------------------------------- Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/minimalpom.apt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/profiles.apt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/profiles.apt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/profiles.apt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,137 @@ +~~~ +~~ #%L +~~ Mavenpom4redmine +~~ ~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + +------ +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. + + Reportez vous a cette page pour avoir la liste des profiles de + {{{../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>>. + + Dans ce profile, on lance la collecte des artifacts qui seront déployés + sur le dépôt maven. La liste de ces artifacts sont conservés dans le fichier + défini par la propriété <<redmine.collectedArtifacts>>. + + A noter, que dans le cadre des projets multi-modules, on ne conserve qu'un + seul fichier situé dans le module du pom. + + Dans ce profile, on lance la collecte des fichiers qui seront déployés sur + le serveur redmine. La liste de ces fichiers sont conservés dans le fichier + défini par la propriété <<redmine.collectedAttachments>>. + + A noter, que dans le cadre des projets multi-modules, on ne conserve qu'un + seul fichier situé dans le module du pom. + +* {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 -DperformRedminePreRelease -N +-------------------------------------------------------------------------------- + + Une fois que tout à l'air ok : + +-------------------------------------------------------------------------------- +cd target/checkout; mvn -DperformRedminePreRelease -N -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 -DperformRedmineRelease -N +-------------------------------------------------------------------------------- + + Une fois que tout à l'air ok : + +-------------------------------------------------------------------------------- +cd target/checkout; mvn -DperformRedmineRelease -N -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 -N -Dredmine.previousVersionName=XX +-------------------------------------------------------------------------------- + + ou + +-------------------------------------------------------------------------------- +mvn -DredmineNextVersion -N -Dredmine.previousVersionName=XX +-------------------------------------------------------------------------------- Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/profiles.apt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/properties.apt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/properties.apt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/properties.apt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,217 @@ +~~~ +~~ #%L +~~ Mavenpom4redmine +~~ ~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + +------ +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>. + + Les propriétés définies dans <mavenpom> sont accéssibles {{{../properties.html}ici}} + +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}} | target/${project.artifactId}-${project.version}-deps.zip,target/${project.artifactId}-${project.version}-full.zip| +*----------------------------------------------+--------------------------------------------------------+ + +Détails + +* {platform} + + La plateforme redmine utilisée parmi : + +-------------------------------------------------------------------------------- +nuiton.org +chorem.org +-------------------------------------------------------------------------------- + +* {redmine.url} + + L'url du serveur redmine. + +-------------------------------------------------------------------------------- +http://www.${platform} +-------------------------------------------------------------------------------- + + <Note:> en théorie, cette propriété ne doit pas être modifiée. + +* {redmine.serverId} + + L'id du serveur (dans votre <<settings.xml>>) pour se logguer sur redmine. + +-------------------------------------------------------------------------------- +redmine-${platform} +-------------------------------------------------------------------------------- + + Vous devez donc avoir deux serveurs définis : + +-------------------------------------------------------------------------------- +redmine-nuiton.org +redmine-chorem.org +-------------------------------------------------------------------------------- + + afin de pouvoir faire des releases sur <<nuiton.org>> et <<chorem.org>>. + + <Note:> en théorie, cette propriété ne doit pas être modifiée. + +* {redmine.projectId} + + L'id du projet redmine. Par défaut, il s'agit de la propriété <<projectId>>. + +-------------------------------------------------------------------------------- +${projectId} +-------------------------------------------------------------------------------- + + <Note:> en théorie, cette propriété ne doit pas être modifiée. + +* {redmine.xmlPath} + + Le chemin du fichier des 'issues' généré. + +-------------------------------------------------------------------------------- +${maven.gen.dir}/changes/changes.xml +-------------------------------------------------------------------------------- + + Le contenu de ce fichier xml, sera utilisé par le plugin + <<maven-change-plugin>> pour générer le rapport des changements. + + <Note:> en théorie, cette propriété ne doit pas être modifiée. + +* {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% +-------------------------------------------------------------------------------- + + <Note:> en théorie, cette propriété ne doit pas être modifiée. + +* {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% +-------------------------------------------------------------------------------- + + <Note:> en théorie, cette propriété ne doit pas être modifiée. + +* {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% +-------------------------------------------------------------------------------- + + <Note:> en théorie, cette propriété ne doit pas être modifiée. + +* {redmine.collectedAttachments} + + Le fichier qui contient la liste des fichiers à envoyer sur redmine lors d'une + nouvelle release. + +-------------------------------------------------------------------------------- +target/collect-attachments.txt +-------------------------------------------------------------------------------- + + Le contenu de ce fichier contient une ligne par fichier et est rempli pendant + la réalisation de la release (<mvn release:perform>) et ceci grâce au profile + <redmine-build-release-profile>. + + <Note:> en théorie, cette propriété ne doit pas être modifiée. + +* {redmine.collectedArtifacts} + + Le fichier qui contient la liste des fichiers à deployer sur le dépôt maven. + +-------------------------------------------------------------------------------- +target/collect-artifacts.txt +-------------------------------------------------------------------------------- + + Le contenu de ce fichier contient une ligne par fichier et est rempli pendant + la réalisation de la release (<mvn release:perform>) et ceci grâce au profile + <redmine-build-release-profile>. + + <Note:> en théorie, cette propriété ne doit pas être modifiée. + +* {redmine.releaseFiles} + + La liste des fichiers à envoyer sur redmine lors d'une nouvelle release + (séparés par des virgules). + + Mettez dans cette propriété la liste des fichiers que vous voulez déployer + sur redmine lors d'une release. + + Par défaut, vide (i.e rien à deployer sur redmine pour le module courant). + +* {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 remplit dans ce cas la propriété <<redmine.releaseFiles>> avec cette + propriété : + +-------------------------------------------------------------------------------- +<redmine.releaseFiles>${redmine.libReleaseFiles}</redmine.releaseFiles> +-------------------------------------------------------------------------------- + + <Note:> en théorie, cette propriété ne doit pas être modifiée. Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/properties.apt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/release.apt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/release.apt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/release.apt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,124 @@ +~~~ +~~ #%L +~~ Mavenpom4redmine +~~ ~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + +------ +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 annonces 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 -N [-Pcentral-safe] +-------------------------------------------------------------------------------- + + Si aucune erreur lors de l'execution, on lance la commande suivante + +-------------------------------------------------------------------------------- +mvn -DperformRedminePreRelease -DdryRun=false -N [-Pcentral-safe] +-------------------------------------------------------------------------------- + + 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 +-------------------------------------------------------------------------------- + + Pour les projets central safe, on doit ajouter le <<-Pcentral-safe>>. + +Etape 3 + + On finalise la release après avoir modifié 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 -N +-------------------------------------------------------------------------------- + + Si aucune erreur, on peut lancer la commande réelle + +-------------------------------------------------------------------------------- +mvn -DperformRedmineRelease -DdryRun=false -N +-------------------------------------------------------------------------------- + +Etape 4 + + On revient sur le projet du trunk + +-------------------------------------------------------------------------------- +cd ../../ +-------------------------------------------------------------------------------- + + On crée la nouvelle version sur redmine (où <XXX> est la version qui vient + d'être releasée) et on déplace les demandes non fermées vers la nouvelle + version. + +-------------------------------------------------------------------------------- +mvn -DredmineNextVersion -Dredmine.previousVersionName=XXX -N +-------------------------------------------------------------------------------- Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/apt/release.apt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/index.apt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/index.apt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/index.apt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,66 @@ +~~~ +~~ #%L +~~ Mavenpom4redmine +~~ ~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + +------ +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. Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/index.apt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/minimalpom.apt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/minimalpom.apt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/minimalpom.apt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,143 @@ +~~~ +~~ #%L +~~ Mavenpom4redmine +~~ ~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + +------ +Mavenpom4redmine usage +------ +------ +2010-01-22 +------ + +Abstract + + This page describe a mimimal (but fully functionnal) pom using correctly + <<mavenpom4redmine>>. + +The pom + +-------------------------------------------------------------------------------- + +<?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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> + + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom4redmine</artifactId> + <version>2.0.2</version> + </parent> + + <artifactId>myProject</artifactId> + <version>0.1-SNAPSHOT</version> + + <dependencies> + + <!-- your dependencies --> + + </dependencies> + + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> + <name>Maven License Plugin</name> + + <description>myProject description</description> + <inceptionYear>2010</inceptionYear> + <url>projectUrl</url> + + <developers> + + <!-- project developpers --> + + </developers> + + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> + + <!-- Source control management. --> + <scm> + <connection>scm:svn:http://svn.nuiton.org/svn/myProject/trunk</connection> + <developerConnection>scm:svn:http://svn.nuiton.org/svn/myProject/trunk</developerConnection> + <url>http://www.nuiton.org/repositories/browse/myProject/trunk</url> + </scm> + + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> + + <packaging>your packaging (pom, jar, war, ear, plugin, ...)</packaging> + + <properties> + + <!-- use this on a multi-module --> + <projectId>myProject</projectId> + + <!-- if not documentation is in french, use this --> + <siteLocales>fr,en</siteLocales> + + <!-- if not documentation in rst format, use this --> + <siteSourcesType>apt</siteSourcesType> + </properties> + + <build> + + <plugins> + + <!-- extra build plugins --> + + </plugins> + + <pluginManagement> + <plugins> + + <!-- extra plugins --> + <plugin> + <!-- use this conf for documentation in rst --> + <artifactId>maven-site-plugin</artifactId> + <dependencies> + <dependency> + <groupId>org.nuiton.jrst</groupId> + <artifactId>doxia-module-jrst</artifactId> + <version>${jrst.version}</version> + </dependency> + </dependencies> + </plugin> + + </plugins> + </pluginManagement> + + </build> + +</project> + +-------------------------------------------------------------------------------- Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/minimalpom.apt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/profiles.apt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/profiles.apt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/profiles.apt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,52 @@ +~~~ +~~ #%L +~~ Mavenpom4redmine +~~ ~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + +------ +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 Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/profiles.apt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/properties.apt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/properties.apt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/properties.apt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,172 @@ +~~~ +~~ #%L +~~ Mavenpom4redmine +~~ ~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + +------ +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,...) Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/properties.apt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/release.apt =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/release.apt (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/release.apt 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,121 @@ +~~~ +~~ #%L +~~ Mavenpom4redmine +~~ ~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + +------ +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 -N +-------------------------------------------------------------------------------- + + If no error occurs here, launch the following command : + +-------------------------------------------------------------------------------- +mvn -DperformRedminePreRelease -DdryRun=false -N +-------------------------------------------------------------------------------- + + 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 -N +-------------------------------------------------------------------------------- + + If no error occurs, launch the release command : + +-------------------------------------------------------------------------------- +mvn -DperformRedmineRelease -DdryRun=false -N +-------------------------------------------------------------------------------- + +Stage 4 + + Back to the trunk project + +-------------------------------------------------------------------------------- +cd ../../ +-------------------------------------------------------------------------------- + + Create the next version of redmine (where XX is the released version) + +-------------------------------------------------------------------------------- +mvn -DredmineNextVersion -Dredmine.previousVersionName=XXX -N +-------------------------------------------------------------------------------- Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/en/apt/release.apt ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/site_en.xml =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/site_en.xml (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/site_en.xml 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + Mavenpom4redmine + + $Id$ + $HeadURL$ + %% + Copyright (C) 2010 CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<project name="${project.name}"> + + <bannerLeft> + <name>${project.name}</name> + <href>index.html</href> + </bannerLeft> + + <body> + + <breadcrumbs> + <item name="${project.name}" + href="http://maven-site.nuiton.org/mavenpom/mavenpom4redmine/index.html"/> + </breadcrumbs> + + <!-- TC-20100117 : ne fonctionne pas sur une langue non principale --> + <!--<menu ref="parent"/>--> + <menu name="Parent Projet"> + <item name="Mavenpom" href="../../en/index.html"/> + </menu> + + <menu name="Language"> + <item name="Version française" href="/../index.html"/> + </menu> + + <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="Using mavenpom4redmine"> + <item name="Minimal pom" href="minimalpom.html"/> + <item name="Make a release" href="release.html"/> + </menu> + + <menu name="Divers"> + <item name="Version française" href="/../index.html"/> + </menu> + + <menu ref="reports"/> + + </body> +</project> Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/site_en.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/site_fr.xml =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/site_fr.xml (rev 0) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/site_fr.xml 2010-10-03 11:18:57 UTC (rev 987) @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + Mavenpom4redmine + + $Id$ + $HeadURL$ + %% + Copyright (C) 2010 CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% +--> +<project name="${project.name}"> + + <bannerLeft> + <name>${project.name}</name> + <href>index.html</href> + </bannerLeft> + + <body> + + <breadcrumbs> + <item name="${project.name}" + href="http://maven-site.nuiton.org/mavenpom/mavenpom4redmine/index.html"/> + </breadcrumbs> + + <menu ref="parent"/> + + <menu name="Dissection de mavenpom4redmine"> + <item name="Accueil" href="index.html"/> + <item name="Propriétés" href="properties.html"/> + <item name="Profiles" href="profiles.html"/> + </menu> + + <menu name="Utiliser mavenpom4redmine"> + <item name="Pom minimal" href="minimalpom.html"/> + <item name="Faire une release" href="release.html"/> + </menu> + + <!--menu name="Divers"> + <item name="English version" href="/en/index.html"/> + </menu--> + + <menu ref="reports"/> + + </body> +</project> Property changes on: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/src/site/site_fr.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Modified: trunk/mavenpom4redmine/pom.xml =================================================================== --- trunk/mavenpom4redmine/pom.xml 2010-09-29 08:11:01 UTC (rev 986) +++ trunk/mavenpom4redmine/pom.xml 2010-10-03 11:18:57 UTC (rev 987) @@ -47,6 +47,10 @@ </parent> --> + <modules> + <module>mavenpom4redmineAndCentral</module> + </modules> + <!-- ************************************************************* --> <!-- *** Project Information ************************************* --> <!-- ************************************************************* -->
participants (1)
-
tchemit@users.nuiton.org