Commit Graph

1536 Commits

Author SHA1 Message Date
John Dennis Casey 165d4d440e Adding @readonly annotations to those parameters which should never be directly configured by users...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165227 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:13:28 +00:00
John Dennis Casey f95706b14c o Cleaned up field-level annotation support (especially descriptor extraction, generation, and building)
o Converted all "core" plugins (including maven-core-it-plugin) to use field-level annotations
o Removed generation of parameter descriptors for ${/#component.* param specifications.
o Added @readonly for parameters that cannot be overridden by user configuration (List override was dangerous here)
o Added validation against pom-derived configuration for @readonly parameters
o Fixed @parameter alias="" support...now configuration of the mojo instance actually will work with either the real param name or the alias. Would be nice to support multiple aliases, but that might require @alias annotations...
o Added [temporary?] support for null editable attributes for parameters, to support pre-built mojos from the repo.

Annotation support should be just about ready to go...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165225 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:06:11 +00:00
John Dennis Casey ab91b7f4c2 o Cleaned up field-level annotation support (especially descriptor extraction, generation, and building)
o Converted all "core" plugins (including maven-core-it-plugin) to use field-level annotations
o Removed generation of parameter descriptors for ${/#component.* param specifications.
o Added @readonly for parameters that cannot be overridden by user configuration (List override was dangerous here)
o Added validation against pom-derived configuration for @readonly parameters
o Fixed @parameter alias="" support...now configuration of the mojo instance actually will work with either the real param name or the alias. Would be nice to support multiple aliases, but that might require @alias annotations...
o Added [temporary?] support for null editable attributes for parameters, to support pre-built mojos from the repo.

Annotation support should be just about ready to go...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165224 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:05:01 +00:00
Brett Leslie Porter 742a8e7037 more helpful error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165173 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 18:41:07 +00:00
Brett Leslie Porter 23ec733870 don't create dummy configuration for components
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165171 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 17:56:04 +00:00
John Dennis Casey dfb2dfcaa1 Corrected goal and plugin configuration injection (from managed info).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165096 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 04:21:11 +00:00
Brett Leslie Porter a5c141c146 fix compile error
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165093 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 04:02:57 +00:00
Brett Leslie Porter 05ebfd3b91 fix bug I introduced
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165090 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 03:31:49 +00:00
Brett Leslie Porter bd286bfc46 clean up the inheritence of build
- don't copy build verbatim if missing to ensure you don't get things that aren't intended for inheritence
- this ensures plugins are -never- inherited
- plugin management inheritence was fixed by John - moved it under build to be clearer


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165089 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 02:13:49 +00:00
Brett Leslie Porter befb54cc12 set correct parent, update wagon dependencies so it doesnt break the deploy plugin when used
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165081 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 01:19:44 +00:00
Brett Leslie Porter e60bf3b7cd ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165080 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 01:18:48 +00:00
Brett Leslie Porter 38346b83e7 ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165079 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 01:17:50 +00:00
Brett Leslie Porter 0af9c626a9 put back site, it is working again
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165077 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 01:03:16 +00:00
Brett Leslie Porter 765fcbe977 add message if version is missing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165076 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 00:53:16 +00:00
Brett Leslie Porter ff94a56806 include reporting modules
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165075 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 00:52:53 +00:00
Brett Leslie Porter 092c9b2423 fix typo in exclusion list
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165074 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 00:42:33 +00:00
Emmanuel Venisse 3502cae978 Initial version of reporting integration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165071 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 00:03:26 +00:00
John Dennis Casey 4441daa199 Cleaning up imports.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165018 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 17:58:59 +00:00
John Dennis Casey 7d7c4ed4aa Fixing per MNG-357. Inheritance/injection of pluginManagement did not follow the same conventions intended and established by that of dependencyManagement. This fix makes the two more consistent, and allows for more local control over plugin configuration.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165016 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 17:37:50 +00:00
John Dennis Casey ed14ff454d Modifying the mojo generators to handle alias, and other missing elements where appropriate. Changed the resources mojos to be as trim as I can, and added @required to the field-level annotations (this might be a good thing to do for all plexus components, dunno if it's there already)...finally, trimmed up the annotation handling in the JavaMojoDescriptorExtractor to push as many annotation fields as possible into the endangered area, and started pulling as much info from the field, other companion annotations on the field, etc. as I can...I think the annotations are there, now. They need to be cleaned up after converting all the core plugins to use field-level annotations, then we're set.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164990 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 15:11:28 +00:00
John Dennis Casey 075812942b Cleaned up field-level annotations. This will be the flagship example for the new annotation style.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164944 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 04:32:32 +00:00
John Dennis Casey e7d6dcf398 Fixed email problem (misuse of API); fixed digest generation and handling; updated the plexus-container-default dependency version to 1.0-alpha-3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164943 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 04:00:29 +00:00
John Dennis Casey e771f3f56d fixed override of ancestor fields with locally declared ones in parameter processing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164942 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 03:59:06 +00:00
Brett Leslie Porter c6fd5e9e2e final package name changes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164933 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 01:37:25 +00:00
Brett Leslie Porter 3760f873a1 PR: MNG-167
Add the ability for a mojo to "fork" a phase execution, in a separate iteration of the lifecycle.
Add @executePhase generate-sources to idea:idea


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164930 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 01:16:06 +00:00
Brett Leslie Porter b3033fb746 fix more references to the old package
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164924 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 00:28:05 +00:00
Brett Leslie Porter 9a1bc52a21 fix package
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164910 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 23:23:33 +00:00
Brett Leslie Porter 27f12f85c1 restore deleted files, and fix package on ProjectArtifactMetadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164909 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 23:19:21 +00:00
John Dennis Casey 0af1c74587 Marked parts of the mojo parameter annotation processing that need to be removed when backward-compat is no longer an issue
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164900 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 22:18:16 +00:00
John Dennis Casey d8d2e34dca Resolving MNG-221, simplify qdox with field-level mojo parameter annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164872 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 20:30:21 +00:00
Brett Leslie Porter 350d51ce5c fix error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164797 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 14:34:47 +00:00
Brett Leslie Porter 687d9de104 temporarily disable assembly plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164782 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 12:48:41 +00:00
Brett Leslie Porter e20bb9a1d9 add repository inheritence tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164769 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 09:19:39 +00:00
Brett Leslie Porter 3fe271300e reformat and update copyright
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164760 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 07:39:27 +00:00
Brett Leslie Porter 3f5d831fc6 make debug compiling the default
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164740 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 04:31:47 +00:00
John Dennis Casey 3809f57da9 Fixed email configuration, and added report link for the email content.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164707 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 01:35:17 +00:00
John Dennis Casey 6e51d420ed o fixed conditions under which error emails should be sent
o fixed emailing to contain a link to the report
o reformatted using IDEA
o removed directory tracking from transactions, b/c undo order is too tricky for now
o adjusted code to maven-artifact (post maven-project creation) changes.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164705 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 01:32:07 +00:00
John Dennis Casey 05aeb0daeb Added createArtifactWithClassifier(..) (see DefaultArtifactFactory, where this is already a public method).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164702 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 01:25:33 +00:00
John Dennis Casey 24083a54e8 Adding current sync scripts from beaver to version control, including path changes to the syncopate.conf file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164582 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 14:49:37 +00:00
Brett Leslie Porter ad06feec0d remove mention of m1 for now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164566 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 12:53:25 +00:00
Brett Leslie Porter 562d1c8cee clean up todo list
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164565 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 12:50:39 +00:00
Brett Leslie Porter e64e69038c doco update
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164564 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 12:44:50 +00:00
Brett Leslie Porter 95a05c15e2 fix typos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164559 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 11:43:59 +00:00
Brett Leslie Porter 70af16d170 add ant task documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164555 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 10:32:56 +00:00
Brett Leslie Porter bfd3f284e2 updates to versions, and make sure it is valid not to have a <localRepository/> element
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164550 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 09:38:53 +00:00
Brett Leslie Porter 44e1bed14f fix SCM URL
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164511 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 00:40:51 +00:00
Brett Leslie Porter 54d9e1508d PR: MAVEN-1599
fix typo


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164510 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 00:38:43 +00:00
Brett Leslie Porter 0a5e84790c set correct parent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164396 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 15:37:12 +00:00
Brett Leslie Porter 78e92023d3 enhance sample to show snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164395 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 15:29:28 +00:00
Brett Leslie Porter 09764d0531 directories don't always come first - make them if they don't exist
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164394 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 15:21:31 +00:00