Commit Graph

662 Commits (6a2c0dfce7558354f4979020e4970cfdaf2b0044)

Author SHA1 Message Date
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 ba66d8def7 add warning if artifact with sources classifier not found
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1336293 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 16:45:49 +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 ccc68be0c6 @Execute can come from parent classes hierarchy
order parameters/components on fieldName order to ensure stability of tests.

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1336290 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 16:43:54 +00:00
Olivier Lamy d1e2e09ba8 add the directory only if exists
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1336288 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 16:43:10 +00:00
Olivier Lamy 9badbe7f68 [MPLUGIN-189] scan sources from reactors project to get @since,@deprecated and text
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335767 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:01:42 +00:00
Olivier Lamy 261a3cf86a exclude @Mojo annotation when coming from classes from dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335766 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:01:28 +00:00
Olivier Lamy 3dd6a922a9 store the origin artifact of the annotation for later use
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335765 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:01:10 +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 77a87b0236 [MPLUGIN-189] support inheritence from classes available in dependencies: it with annotations in parent class available in reactors
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335763 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:00:16 +00:00
Olivier Lamy 2373bae319 [MPLUGIN-189] support components field inheritance without role defined
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335092 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 16:15:35 +00:00
Olivier Lamy e008c8012c [MPLUGIN-189] support components field inheritance
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335091 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 16:15:12 +00:00
Olivier Lamy 1a12b44178 private field
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335071 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 15:40:34 +00:00
Olivier Lamy a4ba9593bb improve it
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335070 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 15:40:20 +00:00
Olivier Lamy ccc0c36afe [MPLUGIN-189] support parameter field inheritance
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1335069 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 15:39:56 +00:00
Herve Boutemy c86e344131 added svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1334809 13f79535-47bb-0310-9956-ffa450edef68
2012-05-06 22:32:37 +00:00
Olivier Lamy 32975142d5 comment test for help generation with annotations due to chicken and eggs trouble
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333851 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:05:28 +00:00
Olivier Lamy 28a6f54643 revert back phase change help generation with doclet must continue to work
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333850 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:05:16 +00:00
Olivier Lamy ddebc219e5 support @since @deprecated and description at class level
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333849 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:04:31 +00:00
Olivier Lamy 06470fdc2a move to a Map with className as key to merge with javadoc scan
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333848 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:04:16 +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 5e3bc49bf1 add TODO for scanning dependencies and sources too for javadoc @since, @deprecated and comments
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333846 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:03:05 +00:00
Olivier Lamy ceb02db5b8 missing ASF license header
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333845 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:02:49 +00:00
Olivier Lamy 581a5da641 move annotations to an other artifacts: users only need annotations and the whole content of the scan tooling
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333844 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:02:40 +00:00
Olivier Lamy bd7823e539 [MPLUGIN-189] datamodel to MojoDescriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333843 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:01:52 +00:00
Olivier Lamy 193f03e404 expose datamodel classes for Mojo and Execute annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333842 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:01:39 +00:00
Olivier Lamy 58fd600871 missing license header in pom
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333841 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:01:23 +00:00
Olivier Lamy ef09ac0dcb add missing @since 3.0
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333840 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:01:14 +00:00
Olivier Lamy e2512e1859 [MPLUGIN-189] add a datamodel parent class with description,since and deprecated which need to parse with qdox
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333839 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:00:53 +00:00
Olivier Lamy 7575a48961 test we have className and parentClassName after scanning
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333837 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:00:32 +00:00
Olivier Lamy dfec22a65e [MPLUGIN-189] cleanup with moving some classes to separate packages
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333836 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:00:19 +00:00
Olivier Lamy 7e10f5b09f [MPLUGIN-189] commit some stuff on annotation scanning
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1333835 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 09:59:49 +00:00
Olivier Lamy 8c108af423 Goal annotation renamed to Mojo, ThreadSafe moved to an attribute in Mojo annotation
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1332010 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 22:00:20 +00:00
Olivier Lamy 8f804a31b5 add missing annotation parameters
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1331838 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 21:23:35 +00:00
Olivier Lamy f4945e157a [MPLUGIN-189] add java 5 annotations support to mark Mojo sources
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1331837 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 21:23:10 +00:00
Olivier Lamy 587879842d gitignore .idea
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1331730 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 09:35:36 +00:00
Olivier Lamy 991cf2c9be gitignore .idea
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1331729 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 09:34:58 +00:00
Olivier Lamy 6a4e7387fc simplify properties with using ${project.version}
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1331711 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 08:41:46 +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
Olivier Lamy ef7a965551 svn merge -r 1331609:1331611 https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189/
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1331614 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 22:10:12 +00:00
Olivier Lamy 3c1c831de4 avoid it running twice
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1331611 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 22:07:49 +00:00
Olivier Lamy 0ee73352c3 ignore .idea
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1331610 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 22:04:33 +00:00
Olivier Lamy c04e1e2ce4 create a branch for MPLUGIN-189 mojo with 1.5 annotations.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/branches/MPLUGIN-189@1331607 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 21:40:58 +00:00
Robert Scholte e3c0d1e684 Add IT for MPLUGIN-187, can't reproduce it with current version
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1328474 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 18:28:26 +00:00
Herve Boutemy 4060aabd27 updated maven-plugin-plugin overview to match description in http://maven.apache.org/plugins/
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1220561 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 23:28:33 +00:00
Herve Boutemy 871516003f removed jdoc package
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1220560 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 22:52:52 +00:00
Herve Boutemy da4f1a1bf7 [MPLUGIN-190@ added @executionStrategy support and deprecated @attainAlways
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1215517 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 16:03:52 +00:00
Herve Boutemy ec993bc2de fixed typos
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1215443 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 08:38:31 +00:00