Commit Graph

2847 Commits

Author SHA1 Message Date
Brett Leslie Porter 7ecd39a0ba add metadata as a module
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289229 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 13:37:47 +00:00
Kenney Westerhof 334b952859 o Did some refactoring: moving utility methods to EclipseUtils so there's no
confusion as to which project is used.

o Use executedProject everywhere except for acquiring the artifact list; the 
  executedProject misses that list (that's because no deps are resolved in
  the forked lifecycle execution; it's delayed until the plugin is encountered
  and it's requiresDependencyResolution is seen.)

o Added flag -Declipse.downloadSources=true|false to skip source downloading


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289188 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 10:14:32 +00:00
Brett Leslie Porter 17110b5248 linking up the IDs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289183 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 09:13:28 +00:00
Brett Leslie Porter a72cf986ac updated repository ids
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289180 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 08:42:04 +00:00
Brett Leslie Porter 1863f47493 switch plugin repo back to main
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289179 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 08:36:32 +00:00
Kenney Westerhof a3eede2515 Removed unused MavenProject parameter.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289178 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 08:33:42 +00:00
Brett Leslie Porter 7c57e8db00 rollback system properties change, it didn't do what I thought it did
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289147 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 04:52:10 +00:00
Brett Leslie Porter 59c6e617ff clean up CLI
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289145 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 04:36:15 +00:00
Brett Leslie Porter 9149ba0904 another pass at integration, not ready.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289142 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 04:26:09 +00:00
Brett Leslie Porter d31da596ee set eol style
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280967 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 23:45:29 +00:00
John Dennis Casey 43ed2bd7e4 Resolving: MNG-890, putting m2 invocation in batch mode when doing release:perform.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280905 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 18:41:55 +00:00
John Dennis Casey 22adefde14 Fixing case where non-POM artifacts are passed to the project builder for parsing...doing defensive construction of POM artifacts inside the project builder, and fixed the call in the DependenciesReport.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280903 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 18:38:54 +00:00
Vincent Siveton eb89e520e4 MNG-891(Javadoc fails to include libraries): Readded cmd.createArgument().setValue( ... ) for all elements in the arguments list; Formatted code.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280832 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 12:09:06 +00:00
Brett Leslie Porter 6c2fbc16a7 use component release
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280799 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 07:37:03 +00:00
Brett Leslie Porter 67650ff89e use doxia release
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280797 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 07:36:29 +00:00
Brett Leslie Porter 57f3c98454 fix deps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280776 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 06:35:35 +00:00
John Dennis Casey 30ee4ffdcd Cleaning up faulty logic in MavenMetadataSource related to the last commit, and updating the it2001 test to (hopefully) straighten out the repository definitions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280761 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 04:13:38 +00:00
Brett Leslie Porter 5911c6c00f ignore
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280760 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 04:09:22 +00:00
Brett Leslie Porter fd4eb4c1d2 some dependency clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280759 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 04:08:29 +00:00
John Dennis Casey 2f2db94232 Re-resolving: MNG-757
o Added it0068 to guard against regressions of the type causing MNG-836

o Added it2001, which must be run manually, to verify the test case laid out in MNG-757

o Reinstated the repository accumulation for successive traversal down the transitivity chain, so that transitively resolved artifacts can be found in repositories declared by POMs up the chain.

o Added a check for 'file:' at the beginning of the Settings.getLocalRepository() result, before prepending 'file://' to allow for relative definition of the local repository in test cases



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280755 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 03:40:17 +00:00
Brett Leslie Porter ca5253159a default to true for resume mode, use default-value for parameter defaults, and leave in parent so release-pom works even if it is now substandard due to some regressions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280745 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 02:27:44 +00:00
John Dennis Casey 62552ef4ab Added beginnings of DescribeMojo, and added setters for all mojo parameters in the plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280661 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 21:16:15 +00:00
John Dennis Casey 99a040d047 Adding ability to directly specify parameters that conflict with reserve expression roots.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280660 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 21:15:31 +00:00
John Dennis Casey 0f349d16c1 Adding more to the list of desired doco.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280640 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 20:26:31 +00:00
John Dennis Casey 37d3fd3fdd Resolving: MNG-814. Enabled import of explicit activation and deactivation of profileIds from the external profile manager to the project-level profile manager. See it0067.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280629 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 19:27:34 +00:00
John Dennis Casey 159b48c4e7 Resolving: MNG-815. Added unit test to guard against regressions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280616 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 18:32:58 +00:00
Kenney Westerhof 4bbf7a627c Fix MNG-873
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280592 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 17:06:14 +00:00
Kenney Westerhof 5777c1ac9f Forgot these two:
o repository metadata: use FQCN

o verifier plugin: use non-deprecated notation


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280561 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 14:26:34 +00:00
Emmanuel Venisse 5817c5298c Add some sendOn fields in Notifier
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280560 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 14:20:59 +00:00
Emmanuel Venisse d72b1ae50c Update releasePom fields only if fields are null
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280545 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 12:14:53 +00:00
Kenney Westerhof 8e47a7e719 Changed modello-maven-plugin version to 1.0-alpha-4 since alpha-5
hasn't any snapshots released yet.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280540 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 11:44:19 +00:00
Kenney Westerhof 4aa55430cf o Put modello-maven-plugin under dependencyManagement and chose version
1.0-alpha-5-SNAPSHOT for all so they're all the same.
  
o Updated modello plugin invocations in all poms to by adding execution elements
  and fixing goals section to get rid of deprecated notation.
  
o Removed dependency on modello-core in maven-plugin-tools; it seems it
  was there because maven-plugin-tools-java used StringUtils from modello -
  changed that to use the plexus-utils version.

o Reversed commons-cli version back to 1.0 (brett asked me to, a few days back).

o Updated all models to use fully qualified classnames - do not assume
  java.util.* is included! (it won't be anymore from modello 
  1.0-alpha-5-SNAPSHOT onward).

o Added some <?xml processing instructions to some models that didn't have them
  - vim now recognizes these files as XML (so I get syntax highlighting :))




git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280539 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 11:41:52 +00:00
Kenney Westerhof 2af27a640f Fix missing 'groupId' tag in parent model, for instance
when the parent model also has a <parent> and doesn't specify a groupId.

This would also be resolved if maven-model would just have getVersion
and getGroupId implementations that check for the <parent> tag's 
versions of these attributes when the current ones are null.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280537 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 11:22:39 +00:00
Emmanuel Venisse 7af50bb584 Fix Dependency Mechanism url
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280522 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 09:14:00 +00:00
Brett Leslie Porter 8cad4f0854 correct parsing of versions that appear to have a build number, but don't otherwise match the format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280509 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 05:44:07 +00:00
Brett Leslie Porter be460f201a use repository that provides the metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280506 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 05:26:06 +00:00
Brett Leslie Porter e62f7b0956 always use the nearest as that is the defined strategy for now. If we change the strategy to newest, a different approach is needed than just adjusting the node range as it doesn't take into account the right children.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280489 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 04:20:44 +00:00
Brett Leslie Porter c27e88fd79 correct what is cached
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280487 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 04:13:00 +00:00
John Dennis Casey c9b6d83c57 Resolving: MNG-835. Using activateByDefault within activation in the profile.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280476 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 03:23:16 +00:00
John Dennis Casey 459737fa5f Resolving MNG-851. Using MavenProject.getFile() rather than constructing new. Also fixed maven-deploy-plugin with similar bug.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280405 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 20:08:01 +00:00
Brett Leslie Porter db945f1dd0 fix metadata parsing in mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280374 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 17:26:41 +00:00
Brett Leslie Porter 057268bd56 fix metadata parsing in mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280372 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 17:06:59 +00:00
Brett Leslie Porter 997774aa7b make sure local snapshot is used in mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280362 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 16:21:52 +00:00
Emmanuel Venisse c6dc853abb Set distributionManagement in release pom if it's defined in a parent pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280360 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 15:58:21 +00:00
Brett Leslie Porter 935dcdf0f7 PR: MNG-613
revert previous flushing of metadata as not all metadata is attached during transformation
instead fix the problem of setting of local copy directly

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280349 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 14:58:31 +00:00
Brett Leslie Porter 1398c7c6af PR: MNG-680
find the file for a parent that was cached

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280347 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 14:45:27 +00:00
Brett Leslie Porter 50c04ac590 clean up repository item too
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280341 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 13:45:31 +00:00
Brett Leslie Porter a4e6dffe49 flush metadata, ensuring local copy only set on install
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280340 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 13:45:11 +00:00
Brett Leslie Porter 8948d497ce PR: MNG-680
set file in USD, don't return a dummy basedir if it is in the repository

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280333 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 12:47:29 +00:00
Brett Leslie Porter e635816bcd reorganise but leave commented out
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280330 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 12:45:06 +00:00