r2590 - branches tags trunk trunk/nuiton-utils-maven-report-plugin/src trunk/nuiton-utils-maven-report-plugin/src/license trunk/nuiton-utils-maven-report-plugin/src/site/apt trunk/src trunk/src/license trunk/src/main/java/org/nuiton trunk/src/main/java/org/nuiton/config trunk/src/site/apt
Author: tchemit Date: 2013-07-21 11:06:47 +0200 (Sun, 21 Jul 2013) New Revision: 2590 Url: http://nuiton.org/projects/nuiton-maven-report-plugin/repository/revisions/2... Log: transform from nuiton-utils project Added: trunk/src/license/ trunk/src/license/THIRD-PARTY.properties trunk/src/main/ trunk/src/main/java/org/nuiton/config/ trunk/src/site/apt/usage.apt.vm Removed: branches/0.29-SNAPSHOT/ branches/codelutin/ branches/lutinutil-sans-vcs/ tags/0.21/ tags/0.22/ tags/0.25/ tags/0.26/ tags/0.27/ tags/0.30/ tags/1.0/ tags/isis-ver-2-2-3/ tags/isis-ver-2-2-4/ tags/lutinutil-1.0.5/ tags/lutinutil_before_lutinproject:2.4/ tags/nuiton-csv-2.6.12.1/ tags/nuiton-utils-1.1.0-rc-1/ tags/nuiton-utils-1.1.0-rc-2/ tags/nuiton-utils-1.1.0-rc-3/ tags/nuiton-utils-1.1.0-rc-4/ tags/nuiton-utils-1.1.0-rc-5/ tags/nuiton-utils-1.1.0-rc-6/ tags/nuiton-utils-1.1.0-rc-7/ tags/nuiton-utils-1.1.0-rc-8/ tags/nuiton-utils-1.2.1/ tags/nuiton-utils-1.2.2/ tags/nuiton-utils-1.4.1/ tags/nuiton-utils-1.4.2/ tags/nuiton-utils-2.4.1/ tags/nuiton-utils-2.4.2/ tags/nuiton-utils-2.4.3/ tags/nuiton-utils-2.4.4/ tags/nuiton-utils-2.4.5/ tags/nuiton-utils-2.4.6/ tags/nuiton-utils-2.4.7/ tags/nuiton-utils-2.6.1/ tags/nuiton-utils-2.6.2/ tags/nuiton-utils-2.6.3/ tags/nuiton-utils-2.6.4/ tags/nuiton-utils-2.6.5/ tags/nuiton-utils-2.6.6/ tags/start/ tags/ver-isis-2-0-11/ trunk/changelog.txt trunk/nuiton-config/ trunk/nuiton-csv/ trunk/nuiton-updater/ trunk/nuiton-utils-maven-report-plugin/src/license/THIRD-PARTY.properties trunk/nuiton-utils-maven-report-plugin/src/main/ trunk/nuiton-utils-maven-report-plugin/src/site/apt/usage.apt.vm trunk/nuiton-utils/ trunk/nuiton-validator/ trunk/src/main/java/org/nuiton/util/ Modified: trunk/pom.xml trunk/src/main/java/org/nuiton/config/AbstractApplicationConfigReport.java trunk/src/main/java/org/nuiton/config/AggregateApplicationConfigReport.java trunk/src/main/java/org/nuiton/config/ApplicationConfigReport.java trunk/src/main/java/org/nuiton/config/ApplicationConfigReportRenderer.java trunk/src/site/apt/index.apt Deleted: trunk/changelog.txt =================================================================== Deleted: trunk/nuiton-utils-maven-report-plugin/src/license/THIRD-PARTY.properties =================================================================== --- trunk/nuiton-utils-maven-report-plugin/src/license/THIRD-PARTY.properties 2013-07-20 15:21:33 UTC (rev 2589) +++ trunk/nuiton-utils-maven-report-plugin/src/license/THIRD-PARTY.properties 2013-07-21 09:06:47 UTC (rev 2590) @@ -1,31 +0,0 @@ -# Generated by org.codehaus.mojo.license.AddThirdPartyMojo -#------------------------------------------------------------------------------- -# Already used licenses in project : -# - Apache License -# - Apache Software License, Version 1.1 -# - BSD License -# - COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 -# - Common Public License Version 1.0 -# - Indiana University Extreme! Lab Software License, vesion 1.1.1 -# - Lesser General Public License (LGPL) v 3.0 -# - Lesser General Public License (LPGL) -# - Lesser General Public License (LPGL) v 2.1 -# - MIT License -# - New BSD License -# - Public Domain -# - The Apache Software License, Version 2.0 -# - http://classworlds.codehaus.org/license.html -#------------------------------------------------------------------------------- -# Please fill the missing licenses for dependencies : -# -# -#Fri Feb 01 00:49:58 CET 2013 -antlr--antlr--2.7.2=BSD License -classworlds--classworlds--1.1-alpha-2=http\://classworlds.codehaus.org/license.html -commons-digester--commons-digester--1.6=The Apache Software License, Version 2.0 -commons-primitives--commons-primitives--1.0=The Apache Software License, Version 2.0 -dom4j--dom4j--1.1=BSD License -org.codehaus.plexus--plexus-container-default--1.0-alpha-9-stable-1=The Apache Software License, Version 2.0 -org.codehaus.plexus--plexus-i18n--1.0-beta-10=The Apache Software License, Version 2.0 -org.codehaus.plexus--plexus-velocity--1.1.7=The Apache Software License, Version 2.0 -oro--oro--2.0.8=The Apache Software License, Version 2.0 Deleted: trunk/nuiton-utils-maven-report-plugin/src/site/apt/usage.apt.vm =================================================================== --- trunk/nuiton-utils-maven-report-plugin/src/site/apt/usage.apt.vm 2013-07-20 15:21:33 UTC (rev 2589) +++ trunk/nuiton-utils-maven-report-plugin/src/site/apt/usage.apt.vm 2013-07-21 09:06:47 UTC (rev 2590) @@ -1,119 +0,0 @@ -~~~ -~~ #%L -~~ Nuiton Utils :: Nuiton Maven Report Plugin -~~ -~~ $Id$ -~~ $HeadURL$ -~~ %% -~~ Copyright (C) 2012 CodeLutin, Tony Chemit -~~ %% -~~ 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% -~~~ - ------ - Usage - ------ - ------ - 2012-05-01 - ------ - -Utilisation - -* Générer un rapport pour l'utilisation d'ApplicationConfig - - Ajouter le rapport dans la section <reporting> du module. - -------------------------------------------------------------------------------- - <reporting> - <plugins> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>nuiton-util-maven-report-plugin</artifactId> - <version>${project.version}</version> - <reportSets> - <reportSet> - <reports> - <report>application-config-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> - </plugins> - </reporting> -------------------------------------------------------------------------------- - - Si votre application utilise le mode bundle d'i18n, il est alors possible de - préciser le nom du bundle i18n où sont regroupées toutes les traductions. - - A noter que dans ce cas, le fichier de bundle doit être généré, il faut donc - toujours avoir effectué une compilation avant de générer le site. - - Pour plus de détail sur ce report : {{{./application-config-report-mojo.html}documentation du plugin}}. - -------------------------------------------------------------------------------- - <reporting> - <plugins> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>nuiton-util-maven-report-plugin</artifactId> - <version>${project.version}</version> - <reportSets> - <reportSet> - <reports> - <report>application-config-report</report> - </reports> - </reportSet> - </reportSets> - <configuration> - <i18nBundleName>nomDeMonBundle</i18nBundleName> - </configuration> - </plugin> - </plugins> - </reporting> -------------------------------------------------------------------------------- - -* Générer un rapport pour l'utilisation d'ApplicationConfig en mode aggregate - - Pour une application multi-module, il peut-être intéressant de générer le - rapport au niveau du super-pom du projet. Pour cela on utilise un - report <aggregate> comme dans l'example suivant : - -------------------------------------------------------------------------------- - <reporting> - <plugins> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>nuiton-util-maven-report-plugin</artifactId> - <version>${project.version}</version> - <reportSets> - <reportSet> - <reports> - <report>aggregate-application-config-report</report> - </reports> - </reportSet> - </reportSets> - <configuration> - <i18nBundleName>nomDeMonBundle</i18nBundleName> - </configuration> - </plugin> - </plugins> - </reporting> -------------------------------------------------------------------------------- - - Il faut alors comme pour le report précédent qu'au moins le module - contenant l'implantation d'application config soit construit. - - Pour plus de détail sur ce report : {{{./aggregate-application-config-report-mojo.html}documentation du plugin}}. - Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2013-07-20 15:21:33 UTC (rev 2589) +++ trunk/pom.xml 2013-07-21 09:06:47 UTC (rev 2590) @@ -1,104 +1,26 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- - #%L - Nuiton Utils - %% - Copyright (C) 2004 - 2012 CodeLutin, Tony Chemit - %% - 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"> +<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> <parent> <groupId>org.nuiton</groupId> <artifactId>mavenpom4redmineAndCentral</artifactId> - <version>3.4.11</version> + <version>3.4.13</version> </parent> - <artifactId>nuiton-utils-parent</artifactId> - <version>2.7-SNAPSHOT</version> - <packaging>pom</packaging> + <artifactId>nuiton-maven-report-plugin</artifactId> + <version>3.0-SNAPSHOT</version> - <name>Nuiton Utils</name> - <description>Parent of nuiton utils projects.</description> - <url>http://maven-site.nuiton.org/nuiton-utils</url> - <inceptionYear>2011</inceptionYear> + <name>Nuiton Maven reports plugin</name> + <description>Maven reports for Nuiton libraries</description> + <url>http://maven-site.nuiton.org/nuiton-maven-report-plugin</url> + <inceptionYear>2013</inceptionYear> <developers> <developer> - <name>Brendan Le Ny</name> - <id>bleny</id> - <email>bleny@codelutin.com</email> - <organization>CodeLutin</organization> - <organizationUrl>http://www.codelutin.com/</organizationUrl> - <timezone>Europe/Paris</timezone> - <roles> - <role>developer</role> - </roles> - </developer> - - <developer> - <name>Benjamin Poussin</name> - <id>bpoussin</id> - <email>poussin@codelutin.com</email> - <organization>CodeLutin</organization> - <organizationUrl>http://www.codelutin.com/</organizationUrl> - <timezone>Europe/Paris</timezone> - <roles> - <role>developer</role> - <role>Debian packager</role> - </roles> - </developer> - - <developer> - <name>Éric Chatellier</name> - <id>echatellier</id> - <email>chatellier@codelutin.com</email> - <organization>CodeLutin</organization> - <organizationUrl>http://www.codelutin.com/</organizationUrl> - <timezone>Europe/Paris</timezone> - <roles> - <role>developer</role> - </roles> - </developer> - - <developer> - <name>Florian Desbois</name> - <id>fdesbois</id> - <timezone>Europe/Paris</timezone> - <roles> - <role>developer</role> - </roles> - </developer> - - <developer> - <name>Sylvain Letellier</name> - <id>sletellier</id> - <email>letellier@codelutin.com</email> - <organization>CodeLutin</organization> - <organizationUrl>http://www.codelutin.com/</organizationUrl> - <timezone>Europe/Paris</timezone> - <roles> - <role>developer</role> - </roles> - </developer> - - <developer> <name>Tony Chemit</name> <id>tchemit</id> <email>chemit at codelutin dot com</email> @@ -112,23 +34,16 @@ </developers> - <modules> - <module>nuiton-utils</module> - <module>nuiton-config</module> - <module>nuiton-updater</module> - <module>nuiton-csv</module> - <module>nuiton-validator</module> - <module>nuiton-utils-maven-report-plugin</module> - </modules> - <scm> <connection> - scm:svn:http://svn.nuiton.org/svn/nuiton-utils/trunk + scm:svn:http://svn.nuiton.org/svn/nuiton-maven-report-plugin/trunk </connection> <developerConnection> - scm:svn:http://svn.nuiton.org/svn/nuiton-utils/trunk + scm:svn:http://svn.nuiton.org/svn/nuiton-maven-report-plugin/trunk </developerConnection> - <url>http://nuiton.org/projects/nuiton-utils/repository/show/trunk</url> + <url> + http://nuiton.org/projects/nuiton-maven-report-plugin/repository/show/trunk + </url> </scm> <distributionManagement> <site> @@ -139,210 +54,205 @@ <properties> - <projectId>nuiton-utils</projectId> + <projectId>nuiton-maven-report-plugin</projectId> - <nuitonI18nVersion>2.5</nuitonI18nVersion> - <xworkVersion>2.3.7</xworkVersion> <doxiaVersion>1.3</doxiaVersion> - <!-- i18n configuration --> - <i18n.bundles>fr_FR,en_GB,es_ES</i18n.bundles> - <!-- Documentation is in apt format --> <siteSourcesType>apt</siteSourcesType> </properties> - <dependencyManagement> + <dependencies> - <dependencies> + <dependency> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-config</artifactId> + <version>3.0-SNAPSHOT</version> + </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-vfs2</artifactId> - <version>2.0</version> - <exclusions> - <exclusion> - <groupId>org.apache.maven.scm</groupId> - <artifactId>maven-scm-api</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.maven.scm</groupId> - <artifactId>maven-scm-provider-svnexe</artifactId> - </exclusion> - </exclusions> - </dependency> + <dependency> + <groupId>org.nuiton.i18n</groupId> + <artifactId>nuiton-i18n</artifactId> + <version>2.5.2</version> + </dependency> - <dependency> - <groupId>org.nuiton.i18n</groupId> - <artifactId>nuiton-i18n</artifactId> - <version>${nuitonI18nVersion}</version> - </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-project</artifactId> + <version>${mavenVersion}</version> + <scope>provided</scope> + </dependency> - <dependency> - <groupId>net.sourceforge.javacsv</groupId> - <artifactId>javacsv</artifactId> - <version>2.0</version> - </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <version>${mavenVersion}</version> + <scope>provided</scope> + </dependency> - <!-- xworks dependencies --> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-settings</artifactId> + <version>${mavenVersion}</version> + <scope>provided</scope> + </dependency> - <dependency> - <groupId>org.apache.struts.xwork</groupId> - <artifactId>xwork-core</artifactId> - <version>${xworkVersion}</version> - </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-model</artifactId> + <version>${mavenVersion}</version> + <scope>provided</scope> + </dependency> - <dependency> - <groupId>javassist</groupId> - <artifactId>javassist</artifactId> - <version>3.12.1.GA</version> - <scope>runtime</scope> - </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-artifact</artifactId> + <version>${mavenVersion}</version> + <scope>provided</scope> + </dependency> - <!-- maven dependencies for report plugin module --> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-project</artifactId> - <version>${mavenVersion}</version> - <scope>provided</scope> - </dependency> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <version>${pluginPluginVersion}</version> + <scope>provided</scope> + </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <version>${mavenVersion}</version> - <scope>provided</scope> - </dependency> + <dependency> + <groupId>org.apache.maven.reporting</groupId> + <artifactId>maven-reporting-api</artifactId> + <version>2.2.1</version> + </dependency> + <dependency> + <groupId>org.apache.maven.reporting</groupId> + <artifactId>maven-reporting-impl</artifactId> + <version>2.2</version> + </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-settings</artifactId> - <version>${mavenVersion}</version> - <scope>provided</scope> - </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-i18n</artifactId> + <version>1.0-beta-10</version> + <exclusions> + <exclusion> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-api</artifactId> + </exclusion> + </exclusions> + </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-model</artifactId> - <version>${mavenVersion}</version> - <scope>provided</scope> - </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + <version>3.0.10</version> + <exclusions> + <exclusion> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-api</artifactId> + </exclusion> + </exclusions> + </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-artifact</artifactId> - <version>${mavenVersion}</version> - <scope>provided</scope> - </dependency> + <!-- doxia --> - <dependency> - <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-annotations</artifactId> - <version>${pluginPluginVersion}</version> - <scope>provided</scope> - </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-core</artifactId> + <version>${doxiaVersion}</version> + <exclusions> + <exclusion> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-container-default</artifactId> + </exclusion> + </exclusions> + </dependency> - <dependency> - <groupId>org.apache.maven.reporting</groupId> - <artifactId>maven-reporting-api</artifactId> - <version>2.2.1</version> - </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-site-renderer</artifactId> + <version>${doxiaVersion}</version> + <exclusions> + <exclusion> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-container-default</artifactId> + </exclusion> + <exclusion> + <groupId>velocity</groupId> + <artifactId>velocity</artifactId> + </exclusion> + </exclusions> + </dependency> - <dependency> - <groupId>org.apache.maven.reporting</groupId> - <artifactId>maven-reporting-impl</artifactId> - <version>2.2</version> - </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-sink-api</artifactId> + <version>${doxiaVersion}</version> + </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-i18n</artifactId> - <version>1.0-beta-10</version> - <exclusions> - <exclusion> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-api</artifactId> - </exclusion> - </exclusions> - </dependency> + <dependency> + <groupId>xml-apis</groupId> + <artifactId>xml-apis</artifactId> + <version>1.3.04</version> + <scope>provided</scope> + </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>3.0.10</version> - <exclusions> - <exclusion> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-api</artifactId> - </exclusion> - </exclusions> - </dependency> + <dependency> + <groupId>commons-collections</groupId> + <artifactId>commons-collections</artifactId> + </dependency> - <!-- doxia --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </dependency> - <dependency> - <groupId>org.apache.maven.doxia</groupId> - <artifactId>doxia-core</artifactId> - <version>${doxiaVersion}</version> - <exclusions> - <exclusion> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-container-default</artifactId> - </exclusion> - </exclusions> - </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <scope>provided</scope> + </dependency> - <dependency> - <groupId>org.apache.maven.doxia</groupId> - <artifactId>doxia-site-renderer</artifactId> - <version>${doxiaVersion}</version> - <exclusions> - <exclusion> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-container-default</artifactId> - </exclusion> - <exclusion> - <groupId>velocity</groupId> - <artifactId>velocity</artifactId> - </exclusion> - </exclusions> - </dependency> + </dependencies> - <dependency> - <groupId>org.apache.maven.doxia</groupId> - <artifactId>doxia-decoration-model</artifactId> - <version>${doxiaVersion}</version> - </dependency> - - <dependency> - <groupId>org.apache.maven.doxia</groupId> - <artifactId>doxia-sink-api</artifactId> - <version>${doxiaVersion}</version> - </dependency> - - <dependency> - <groupId>xml-apis</groupId> - <artifactId>xml-apis</artifactId> - <version>1.3.04</version> - </dependency> - - </dependencies> - </dependencyManagement> - <build> <pluginManagement> <plugins> - - <!-- plugin i18n --> <plugin> - <groupId>org.nuiton.i18n</groupId> - <artifactId>i18n-maven-plugin</artifactId> - <version>${nuitonI18nVersion}</version> + <artifactId>maven-plugin-plugin</artifactId> + <configuration> + <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> + </configuration> + <executions> + <execution> + <goals> + <goal>helpmojo</goal> + <goal>descriptor</goal> + </goals> + </execution> + </executions> </plugin> - </plugins> </pluginManagement> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>l10n-maven-plugin</artifactId> + <configuration> + <locales> + <locale>fr</locale> + </locales> + </configuration> + <executions> + <execution> + <goals> + <goal>pseudo</goal> + </goals> + </execution> + </executions> + </plugin> + + </plugins> </build> <profiles> @@ -383,10 +293,74 @@ </reportSets> </plugin> + <plugin> + <artifactId>maven-plugin-plugin</artifactId> + <version>${pluginPluginVersion}</version> + </plugin> + + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <quiet>true</quiet> + <links> + <link>http://java.sun.com/javase/6/docs/api/</link> + </links> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>l10n-maven-plugin</artifactId> + <version>${l10nPluginVersion}</version> + <configuration> + <locales> + <locale>fr</locale> + </locales> + </configuration> + </plugin> + </plugins> </reporting> </profile> + <!-- create assemblies at release time --> + <profile> + <id>assembly-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <defaultGoal>package</defaultGoal> + <plugins> + + <!-- launch in a release the assembly automaticly --> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <id>create-assemblies</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + <configuration> + <attach>false</attach> + <descriptorRefs> + <descriptorRef>deps</descriptorRef> + <descriptorRef>full</descriptorRef> + </descriptorRefs> + </configuration> + </plugin> + + </plugins> + + </build> + </profile> + </profiles> </project> Copied: trunk/src/license/THIRD-PARTY.properties (from rev 2589, trunk/nuiton-utils-maven-report-plugin/src/license/THIRD-PARTY.properties) =================================================================== --- trunk/src/license/THIRD-PARTY.properties (rev 0) +++ trunk/src/license/THIRD-PARTY.properties 2013-07-21 09:06:47 UTC (rev 2590) @@ -0,0 +1,31 @@ +# Generated by org.codehaus.mojo.license.AddThirdPartyMojo +#------------------------------------------------------------------------------- +# Already used licenses in project : +# - Apache License +# - Apache Software License, Version 1.1 +# - BSD License +# - COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 +# - Common Public License Version 1.0 +# - Indiana University Extreme! Lab Software License, vesion 1.1.1 +# - Lesser General Public License (LGPL) v 3.0 +# - Lesser General Public License (LPGL) +# - Lesser General Public License (LPGL) v 2.1 +# - MIT License +# - New BSD License +# - Public Domain +# - The Apache Software License, Version 2.0 +# - http://classworlds.codehaus.org/license.html +#------------------------------------------------------------------------------- +# Please fill the missing licenses for dependencies : +# +# +#Fri Feb 01 00:49:58 CET 2013 +antlr--antlr--2.7.2=BSD License +classworlds--classworlds--1.1-alpha-2=http\://classworlds.codehaus.org/license.html +commons-digester--commons-digester--1.6=The Apache Software License, Version 2.0 +commons-primitives--commons-primitives--1.0=The Apache Software License, Version 2.0 +dom4j--dom4j--1.1=BSD License +org.codehaus.plexus--plexus-container-default--1.0-alpha-9-stable-1=The Apache Software License, Version 2.0 +org.codehaus.plexus--plexus-i18n--1.0-beta-10=The Apache Software License, Version 2.0 +org.codehaus.plexus--plexus-velocity--1.1.7=The Apache Software License, Version 2.0 +oro--oro--2.0.8=The Apache Software License, Version 2.0 Modified: trunk/src/main/java/org/nuiton/config/AbstractApplicationConfigReport.java =================================================================== --- trunk/nuiton-utils-maven-report-plugin/src/main/java/org/nuiton/util/config/AbstractApplicationConfigReport.java 2013-07-20 15:21:33 UTC (rev 2589) +++ trunk/src/main/java/org/nuiton/config/AbstractApplicationConfigReport.java 2013-07-21 09:06:47 UTC (rev 2590) @@ -1,4 +1,4 @@ -package org.nuiton.util.config; +package org.nuiton.config; /* * #%L Modified: trunk/src/main/java/org/nuiton/config/AggregateApplicationConfigReport.java =================================================================== --- trunk/nuiton-utils-maven-report-plugin/src/main/java/org/nuiton/util/config/AggregateApplicationConfigReport.java 2013-07-20 15:21:33 UTC (rev 2589) +++ trunk/src/main/java/org/nuiton/config/AggregateApplicationConfigReport.java 2013-07-21 09:06:47 UTC (rev 2590) @@ -1,4 +1,4 @@ -package org.nuiton.util.config; +package org.nuiton.config; /* * #%L Modified: trunk/src/main/java/org/nuiton/config/ApplicationConfigReport.java =================================================================== --- trunk/nuiton-utils-maven-report-plugin/src/main/java/org/nuiton/util/config/ApplicationConfigReport.java 2013-07-20 15:21:33 UTC (rev 2589) +++ trunk/src/main/java/org/nuiton/config/ApplicationConfigReport.java 2013-07-21 09:06:47 UTC (rev 2590) @@ -1,4 +1,4 @@ -package org.nuiton.util.config; +package org.nuiton.config; /* * #%L Modified: trunk/src/main/java/org/nuiton/config/ApplicationConfigReportRenderer.java =================================================================== --- trunk/nuiton-utils-maven-report-plugin/src/main/java/org/nuiton/util/config/ApplicationConfigReportRenderer.java 2013-07-20 15:21:33 UTC (rev 2589) +++ trunk/src/main/java/org/nuiton/config/ApplicationConfigReportRenderer.java 2013-07-21 09:06:47 UTC (rev 2590) @@ -1,4 +1,4 @@ -package org.nuiton.util.config; +package org.nuiton.config; /* * #%L Modified: trunk/src/site/apt/index.apt =================================================================== --- trunk/src/site/apt/index.apt 2013-07-20 15:21:33 UTC (rev 2589) +++ trunk/src/site/apt/index.apt 2013-07-21 09:06:47 UTC (rev 2590) @@ -1,11 +1,11 @@ ~~~ ~~ #%L -~~ Nuiton Utils +~~ Nuiton Utils :: Nuiton Maven Report Plugin ~~ ~~ $Id$ ~~ $HeadURL$ ~~ %% -~~ Copyright (C) 2004 - 2010 CodeLutin +~~ Copyright (C) 2012 CodeLutin, Tony Chemit ~~ %% ~~ This program is free software: you can redistribute it and/or modify ~~ it under the terms of the GNU Lesser General Public License as @@ -22,71 +22,24 @@ ~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. ~~ #L% ~~~ - ---- - Nuiton utils - ---- - ---- - 2009-08-23 - ---- + ------ + Nuiton-utils-maven-report-plugin + ------ + ------ + 2012-05-01 + ------ - Présentation - Ensemble de projets utilitaires. + Module qui contient des rapports liés au projet nuiton-utils. -Librairie Nuiton-utils +Application config rapport - Librairie regroupant les utilitaires classiques sur les fichiers, les tableaux, - les collections, les maps, les chaînes de caractères, ... De plus elle intègre - un parser des arguments et des options pour les lignes de commande (ApplicationConfig). + Ce rapport génère une page d'aide sur les options utilisables via + ApplicationConfig dans une application finale. - {{{./nuiton-utils}Plus d'infos}} + Cela permet facilement de savoir quelles sont les options disponibles pour + l'utilisateur finale + comment bien configurer ApplicationConfig. -Librairie Nuiton-validator + {{{./usage.html}Plus d'infos}} - <<Ce module a été déplacé en version 2.7 vers http://maven-site.nuiton.org/nuiton-validator>>. - - <<Le module sera supprimé en version 3.0.>> - - Cette librairie propose une Api de validation plus complète que la JSR-303, - permettant nottament de préciser des scopes (info, erreur, warning, ...) - - {{{./nuiton-validator}Plus d'infos}} - -Librairie Nuiton-csv - - <<Ce module a été déplacé en version 2.7 vers http://maven-site.nuiton.org/nuiton-csv>>. - - <<Le module sera supprimé en version 3.0.>> - - Cette librairie propose une Api simple d'import export au format csv. - - {{{./nuiton-csv}Plus d'infos}} - -Librairie Nuiton-config - - <<Ce module a été déplacé en version 2.7 vers http://maven-site.nuiton.org/nuiton-config>>. - - <<Le module sera supprimé en version 3.0.>> - - Cette librairie propose une Api simple de configuration d'application. - - {{{./nuiton-config}Plus d'infos}} - -Librairie Nuiton-updater - - <<Ce module a été déplacé en version 2.7 vers http://maven-site.nuiton.org/nuiton-updater>>. - - <<Le module sera supprimé en version 3.0.>> - - Cette librairie propose une Api simple de mise à jour d'application. - - {{{./nuiton-updater}Plus d'infos}} - -Rapports Maven - - <<Ajouté en version 2.4.8>>, ce module permet la génération de rapports - Maven liés aux outils offerts par les librairies de ce projet - (ApplicationConfig,...). - - {{{./nuiton-utils-maven-report-plugin}Plus d'infos}} Copied: trunk/src/site/apt/usage.apt.vm (from rev 2589, trunk/nuiton-utils-maven-report-plugin/src/site/apt/usage.apt.vm) =================================================================== --- trunk/src/site/apt/usage.apt.vm (rev 0) +++ trunk/src/site/apt/usage.apt.vm 2013-07-21 09:06:47 UTC (rev 2590) @@ -0,0 +1,119 @@ +~~~ +~~ #%L +~~ Nuiton Utils :: Nuiton Maven Report Plugin +~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2012 CodeLutin, Tony Chemit +~~ %% +~~ 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% +~~~ + ------ + Usage + ------ + ------ + 2012-05-01 + ------ + +Utilisation + +* Générer un rapport pour l'utilisation d'ApplicationConfig + + Ajouter le rapport dans la section <reporting> du module. + +------------------------------------------------------------------------------- + <reporting> + <plugins> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-util-maven-report-plugin</artifactId> + <version>${project.version}</version> + <reportSets> + <reportSet> + <reports> + <report>application-config-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </plugins> + </reporting> +------------------------------------------------------------------------------- + + Si votre application utilise le mode bundle d'i18n, il est alors possible de + préciser le nom du bundle i18n où sont regroupées toutes les traductions. + + A noter que dans ce cas, le fichier de bundle doit être généré, il faut donc + toujours avoir effectué une compilation avant de générer le site. + + Pour plus de détail sur ce report : {{{./application-config-report-mojo.html}documentation du plugin}}. + +------------------------------------------------------------------------------- + <reporting> + <plugins> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-util-maven-report-plugin</artifactId> + <version>${project.version}</version> + <reportSets> + <reportSet> + <reports> + <report>application-config-report</report> + </reports> + </reportSet> + </reportSets> + <configuration> + <i18nBundleName>nomDeMonBundle</i18nBundleName> + </configuration> + </plugin> + </plugins> + </reporting> +------------------------------------------------------------------------------- + +* Générer un rapport pour l'utilisation d'ApplicationConfig en mode aggregate + + Pour une application multi-module, il peut-être intéressant de générer le + rapport au niveau du super-pom du projet. Pour cela on utilise un + report <aggregate> comme dans l'example suivant : + +------------------------------------------------------------------------------- + <reporting> + <plugins> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-util-maven-report-plugin</artifactId> + <version>${project.version}</version> + <reportSets> + <reportSet> + <reports> + <report>aggregate-application-config-report</report> + </reports> + </reportSet> + </reportSets> + <configuration> + <i18nBundleName>nomDeMonBundle</i18nBundleName> + </configuration> + </plugin> + </plugins> + </reporting> +------------------------------------------------------------------------------- + + Il faut alors comme pour le report précédent qu'au moins le module + contenant l'implantation d'application config soit construit. + + Pour plus de détail sur ce report : {{{./aggregate-application-config-report-mojo.html}documentation du plugin}}. +
participants (1)
-
tchemit@users.nuiton.org