Commit Graph

1954 Commits

Author SHA1 Message Date
John Dennis Casey 6ca4de295d Added inheritance of Plugins according to the rules we decided upon. This consists of:
- inheritanceApplied flag on Plugin and Goal (NOT fields, just a code-only flag)
- flushGoalMap/flushPluginMap to clear caching of these calculated attributes
- ModelUtils.mergePluginLists() and ModelUtils.mergePluginDefinitions() for use in both
    * DefaultModelInheritanceAssembler (Plugin/PluginManagement lists)
    * DefaultModelDefaultsInjector (PluginManagement -> Plugin merges)

- Also added a few unit tests for basic Plugin inheritance stuff. This could be more thoroughly tested...

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178825 13f79535-47bb-0310-9956-ffa450edef68
2005-05-27 21:47:12 +00:00
Brett Leslie Porter 771fc3a8c9 correct the getting started guide in light of alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178751 13f79535-47bb-0310-9956-ffa450edef68
2005-05-27 05:25:38 +00:00
John Dennis Casey 6836449307 adding my notes for implementing plugin inheritance and build profiles. delete if not needed.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178734 13f79535-47bb-0310-9956-ffa450edef68
2005-05-27 03:29:54 +00:00
John Dennis Casey 239439bb04 o Added inherited field to the Plugin and Goal classes in maven.mdo
o Added annotation inheritedByDefault (looks like: @inheritedByDefault true|false) for java mojos
o Added support for inheritedByDefault to MojoDescriptor, descriptor generator and builder
o Factored the plugin combinatorial logic into ModelUtils in o.a.m.project, for later reuse in a plugin-aware model inheritance builder
o Refactored the DefaultModelDefaultsInjector to use the new ModelUtils for plugin merging (this is factored into a utility for reuse in inheritance assembly)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178733 13f79535-47bb-0310-9956-ffa450edef68
2005-05-27 03:27:55 +00:00
John Dennis Casey d942cfe550 added null checks for everything that's in the hashCode() method, to try to avoid cryptic errors, at least until the xml validation improves.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178691 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 21:12:06 +00:00
Brett Leslie Porter 84269d34fa PR: MNG-359
Allow .. in module names to support a flat layout for eclipse


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178621 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 08:40:05 +00:00
Brett Leslie Porter 47bc2425db add a null check in the case where there is no parent and no version - validation will pick that up later
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178603 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 06:03:38 +00:00
Brett Leslie Porter 5e14491f59 use directory scanner and a sane file copy routine to avoid reading the whole thing into memory first
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178602 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 06:03:11 +00:00
Brett Leslie Porter fd49b1e857 remove default excludes, the directory scanner has it built in
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178571 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 03:08:27 +00:00
Brett Leslie Porter a6c8cdb2ea remove unneeded parameter
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178564 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 01:27:37 +00:00
Brett Leslie Porter d408365aea use resources directory instead
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178561 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 01:03:08 +00:00
Brett Leslie Porter dc01cea9f8 move css to resources
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178558 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 00:56:32 +00:00
Brett Leslie Porter a52a917c16 add xsd to resources
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178557 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 00:54:46 +00:00
John Dennis Casey b8042e780d git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178545 13f79535-47bb-0310-9956-ffa450edef68 2005-05-25 22:51:13 +00:00
Jason van Zyl 9401fbb6b0 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178538 13f79535-47bb-0310-9956-ffa450edef68 2005-05-25 21:57:20 +00:00
Jason van Zyl cf1e4bb689 o page for emm to look at
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178537 13f79535-47bb-0310-9956-ffa450edef68
2005-05-25 21:56:08 +00:00
Emmanuel Venisse 23374f9956 Upgrade to new version of plexus-compiler-javac
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178531 13f79535-47bb-0310-9956-ffa450edef68
2005-05-25 20:17:22 +00:00
Emmanuel Venisse f3346df4b8 Rewrite scm connections
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178416 13f79535-47bb-0310-9956-ffa450edef68
2005-05-25 09:36:20 +00:00
Emmanuel Venisse 82a6d51998 Rewrite scm tag part in project file in prepare release phase.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178323 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 23:35:00 +00:00
Emmanuel Venisse 551ab886d7 Add tag to scm part
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178317 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 23:24:30 +00:00
Emmanuel Venisse 8eb97c2ac9 Fix tag creation. We need to store in release.properties the tag choose by user
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178310 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 22:52:55 +00:00
Brett Leslie Porter ba2f6ce87a hasArgs was the culprit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178058 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 00:46:54 +00:00
Brett Leslie Porter 47cf3a81f4 cli 1.0 is broken - on linux, empty vars occur and it checks up the arg list as part of -D arguments
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178056 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 23:49:52 +00:00
Brett Leslie Porter 6ac1d85984 fix properties file basedir
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178051 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 23:00:20 +00:00
Emmanuel Venisse f5519934fd git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178042 13f79535-47bb-0310-9956-ffa450edef68 2005-05-23 21:55:54 +00:00
Emmanuel Venisse e166284580 Add more debug trace
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178034 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 21:27:03 +00:00
Emmanuel Venisse cfb577b305 Use user.name system property as default scm user name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178017 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 20:51:54 +00:00
Brett Leslie Porter 68595a32c2 move system property specification to system.properties in itests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177983 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 13:37:34 +00:00
Brett Leslie Porter e1c145bffa ignore
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177982 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 13:34:02 +00:00
Emmanuel Venisse af40a5c6aa Use constant
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177979 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 13:28:22 +00:00
Emmanuel Venisse 1fc2ebc7f4 Ignore pom.xml.backup and release.properties files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177975 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 13:21:08 +00:00
Emmanuel Venisse 1bb91a73b7 Add debug trace
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177967 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 12:39:06 +00:00
Emmanuel Venisse 5c7ac1cb57 Add javadoc report
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177962 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 12:17:30 +00:00
Emmanuel Venisse 129c285786 Use a correct javadoc path
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177961 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 12:16:48 +00:00
Emmanuel Venisse adc671ce79 Add missing file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177941 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 08:17:02 +00:00
Brett Leslie Porter 84bde74bf4 some cleanup to execute file - still doesnt work when spaces in path
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177940 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 08:16:29 +00:00
Emmanuel Venisse 4b1c539878 [MNG-424] - Resolve test dependencies.
Thanks to Rod Coffin.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177939 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 07:46:48 +00:00
Brett Leslie Porter 6f74c90590 allow multiple system properties to be specified
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177938 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 07:18:16 +00:00
Brett Leslie Porter a0c25d06fb simple tweaks and formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177936 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 07:03:01 +00:00
Brett Leslie Porter 48cf14a656 PR: MNG-378
Only deploy the release information at the point of release

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177934 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 06:43:12 +00:00
Brett Leslie Porter fa3ecc6bd6 implement some inspection settings
The EAP now uses these settings to show highlighting and intentions in the editor, which is really helpful.
Once happy with settings, I will publish them for others to use

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177913 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 03:57:28 +00:00
Brett Leslie Porter 55b7ee5e58 ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177912 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 03:09:03 +00:00
Brett Leslie Porter 503a481c73 clean imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177911 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 03:07:51 +00:00
Brett Leslie Porter b4d8a7edf4 clean imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177910 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 03:07:40 +00:00
Brett Leslie Porter ba31d4f893 adjust copyright
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177909 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 02:59:49 +00:00
Brett Leslie Porter 6a630346a2 use primitive types
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177873 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 02:41:00 +00:00
Brett Leslie Porter eeb42ca316 update input handler version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171378 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 22:33:48 +00:00
Jason van Zyl 934763d0ad o removing debug and adding a note
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171368 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 20:26:32 +00:00
Emmanuel Venisse e52be1da9a Check if pom is in the correct format.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171311 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 13:15:15 +00:00
Jason van Zyl f226508aeb o note on the version transformer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171309 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 12:51:59 +00:00