Commit Graph

197 Commits (9b547b3d23b0d897b93957ca8efe971c4fa9d9b9)

Author SHA1 Message Date
Olivier Lamy a6adf83696 [maven-release-plugin] prepare release maven-plugin-tools-3.0
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343200 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 10:48:47 +00:00
Herve Boutemy 1e7bbd5bc6 [MPLUGIN-204] added support for some Maven objects injected as components: session, project, mojo, plugin and settings
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343086 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 20:21:15 +00:00
Herve Boutemy 014281f0e5 improved documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338454 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 22:10:36 +00:00
Herve Boutemy cb0fda1300 continue refactoring: split generation utils from PluginUtils to GeneratorUtils
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337854 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 12:09:13 +00:00
Herve Boutemy bac8a5305b code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337852 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 11:28:59 +00:00
Herve Boutemy a9aca6f75c refactoring: split generators part of maven-plugin-tools-api to its own maven-plugin-tools-generators module
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337845 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 11:09:17 +00:00
Herve Boutemy e62732ebe9 [MPLUGIN-195] link to Maven Phases reference from mojo generated documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337819 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 09:19:07 +00:00
Herve Boutemy 169cb9dcc2 [MPLUGIN-194] support expression="a property" in addition to expression="${a property}"
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337816 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 09:04:24 +00:00
Herve Boutemy fb6cee3d5c use generics
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337814 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 08:52:32 +00:00
Olivier Lamy b606a755c8 take care to close stream in finally block
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337729 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 23:15:53 +00:00
Olivier Lamy 218d09253e use Integer.valueOf rather than new Integer
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337728 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 23:15:38 +00:00
Herve Boutemy e42b381a7f removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337712 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 22:41:56 +00:00
Herve Boutemy e5756b0911 extracted method to PluginUtils instead of 2 copy/paste
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337699 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:52:23 +00:00
Herve Boutemy 98cebd50b7 removed unused import
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337614 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 19:17:25 +00:00
Herve Boutemy b7d3437c2a use generics
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337613 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 19:17:00 +00:00
Olivier Lamy 6b38de8036 fix help content generation from <pre> tag
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337408 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 23:06:56 +00:00
Olivier Lamy a9bb0f6571 restore javadoc comment on the generated help mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337406 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 22:56:12 +00:00
Olivier Lamy 69afeb1a56 fix mvn 2 compatibility
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337351 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 20:02:08 +00:00
Olivier Lamy 34ebb1721b use generics
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337280 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:46:48 +00:00
Olivier Lamy 2f6eee2513 [MPLUGIN-189] if helpPackageName is not configured change the package of the generic class name to have a similar package as before annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337279 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:46:34 +00:00
Olivier Lamy 643c8de61c fix package name parameter for help generation
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337278 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:46:13 +00:00
Olivier Lamy 2eef7a412b don't test help generation in all it, use doclet for help generation to not force users to add annotations artifact as a dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337275 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:45:45 +00:00
Olivier Lamy 0aa8ad9c05 missed to add files
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337274 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:45:16 +00:00
Olivier Lamy 4ec2eaf3a5 [MPLUGIN-189] push some stuff on help for annotations
the goal is to have a generic class which will read the descriptor.
Copy of the descriptor with cleaning html for description fields (copy in a path META-INF/maven/${groupId}/${artifactId}/plugin-description.xml

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1337273 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 16:44:59 +00:00
Olivier Lamy d85b22ec88 [MPLUGIN-189] scan sources from dependencies if sources classifier found to get @since,@deprecated and text
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1336291 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 16:45:26 +00:00
Olivier Lamy 18e8cb4178 use artifacts for scanning for future use
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335764 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:00:44 +00:00
Olivier Lamy 5da55eb1be add an it test.
add a flag to prevent error when using only annotations: no descriptors found
extraction is bind to generate-sources in maven core for maven-plugin packaging so at this stage no classes available for scanning annotations

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333847 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:03:54 +00:00
Olivier Lamy a396a42d68 bump version to 3.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1331709 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 08:35:48 +00:00
Herve Boutemy f1d00798bf more Java 5 use
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1212908 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 22:38:37 +00:00
Herve Boutemy c61b94ee17 more Java 5 use
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1212905 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 22:31:48 +00:00
Herve Boutemy 9f2696c98a close stream
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1200898 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 14:26:56 +00:00
Herve Boutemy 6daae712b5 removed unused import
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1178583 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 21:22:09 +00:00
Herve Boutemy 0de9ffa666 added direct javadoc and jxr entries in Overview menu
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164702 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 20:44:25 +00:00
Herve Boutemy 9d5fe284c6 o updated maven-reporting-impl version to match Doxia update
o removed configuration already inherited from parent
o simplified poms

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164686 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 20:16:28 +00:00
Herve Boutemy b4717f0c9a improved french translation
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164677 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 19:51:10 +00:00
Benson Margulies 98556bd4e8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164612 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 16:24:38 +00:00
Benson Margulies efca52a3ea [maven-release-plugin] prepare release maven-plugin-tools-2.9
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164610 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 16:24:26 +00:00
Benson Margulies 2a9baa7354 [MPLUGIN-124]: The generated documentation for a Mojo should show if it is a build plugin or a reporting plugin
o adjust wording after reading Vincent's remarks more carefully.


git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164547 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:21:50 +00:00
Benson Margulies a1f9697b64 [MPLUGIN-124] The generated documentation for a Mojo should show if it is a build plugin or a reporting plugin
o This renders text corresponding to @requiresReport. There is no metadata that I can find
that answers the question 'Can this be invoked as a reporting plugin'


git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1164545 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:19:21 +00:00
Stephen Connolly f8e21c5bf7 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1133745 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 09:29:28 +00:00
Stephen Connolly a07e6b6adc [maven-release-plugin] prepare release maven-plugin-tools-2.8
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1133742 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 09:28:05 +00:00
Stephen Connolly f188051c3a update some plugin versions which were specified explicitly and fix relativePath for m-p-p
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1133739 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 09:26:31 +00:00
Stephen Connolly 065a85cc28 [MPLUGIN-184] Upgrade to JDK5
Submitted by: Robert Scholte

o Applied with one change (upgraded surefire version from 2.4.3 to 2.8.1)

o All integration tests still passing on my machine

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1133707 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 08:28:59 +00:00
Stephen Connolly 6c63ab9110 [MPLUGIN-173] Start using net.sf.jtidy artifact with correct I/O encoding
Submitted by: Stanislav Ochotnicky

o Applied without change

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1133705 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 08:21:03 +00:00
Dennis Lundberg 3c5911b8a9 [MPLUGIN-183] When setting useJava5 to true the generated code has warnings for Java 5 features
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1098364 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 16:07:11 +00:00
Dennis Lundberg ce8ec2ee7e [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1067548 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 23:06:16 +00:00
Dennis Lundberg f60b137608 [maven-release-plugin] prepare release maven-plugin-tools-2.7
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1067546 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 23:05:12 +00:00
Dennis Lundberg 7f32cbc96f o Fix errors reported by Checkstyle.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1067539 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 22:11:34 +00:00
Dennis Lundberg 4e5f561c73 o Add missing license headers.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1067538 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 22:10:52 +00:00
Dennis Lundberg 269ca6f328 [MPLUGIN-165] Upgrading to Maven Site 2.1 messes up plugin site generation
Submitted by: Robert Scholte
Reviewed by: Dennis Lundberg

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1057355 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 20:58:09 +00:00