Commit Graph

680 Commits

Author SHA1 Message Date
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 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
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 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 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
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
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 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
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
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 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
Brett Leslie Porter 6b229cd09a PR: MNG-824
Submitted by: Edwin Punzalan
Reviewed by:  Brett Porter
add goals that are in the m1 version


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280260 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 05:32:22 +00:00
Brett Leslie Porter fe3df1bd1d PR: MNG-760
Submitted by: Fabrizio Giustina
Reviewed by:  Brett Porter
m2 eclipse plugin improvements (source download and attachment, customization of natures/builders/conclasspath, flexible project dupport) and refactoring
(applied with modifications)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280259 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 05:27:40 +00:00
Brett Leslie Porter 40738a5a86 PR: MNG-613
clean up

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280241 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 03:13:50 +00:00
Vincent Siveton f6cc2c6b9b MNG-560: Added initLocalesList() and codeToLocale() methods to honnor correctly locales parameter; Added how to documentation to contribute a new translation; Added a test project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280130 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 13:24:56 +00:00
Stephane Nicoll 42718256a5 MNG-853: added Javadoc and parameter's documentation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280101 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 09:48:34 +00:00
Stephane Nicoll d18e4b8a1b MNG-852: added Javadoc and parameter's documentation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280096 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 08:43:37 +00:00
Jason van Zyl bb35ab5dfc o removing yet more references to the old cruft
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279899 13f79535-47bb-0310-9956-ffa450edef68
2005-09-09 22:39:43 +00:00
Stephane Nicoll 54d740b70b MNG-420: provides a default jdkName based on the java.version system property.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279847 13f79535-47bb-0310-9956-ffa450edef68
2005-09-09 19:19:39 +00:00
Emmanuel Venisse d2488680e1 Fix release pom creation for some null values
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279798 13f79535-47bb-0310-9956-ffa450edef68
2005-09-09 15:34:31 +00:00
Vincent Siveton f4239df692 Corrected getConfigFile() by specifying sun as default config file; added log4j.properties to remove warn for org.apache.commons.beanutils.BeanUtils; formated code; added copyright to pom.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279769 13f79535-47bb-0310-9956-ffa450edef68
2005-09-09 13:31:51 +00:00
Emmanuel Venisse cbf7453e2d o Fix prepare release for poms with non snapshot parent
o Fix version resolver for version without "-" like -alpha-2 but 1.0.2

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279767 13f79535-47bb-0310-9956-ffa450edef68
2005-09-09 13:26:54 +00:00
Emmanuel Venisse e98d10f444 Fix mail notifier configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279526 13f79535-47bb-0310-9956-ffa450edef68
2005-09-08 07:26:56 +00:00
Kenney Westerhof b2c8100048 adding required phase 'generate-sources'.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279412 13f79535-47bb-0310-9956-ffa450edef68
2005-09-07 20:07:39 +00:00
Kenney Westerhof a35354aceb fixed possible corrupted source path when there are more compileSourceRoots.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279407 13f79535-47bb-0310-9956-ffa450edef68
2005-09-07 19:45:54 +00:00
Stephane Nicoll 368a03839f updated developers section.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279403 13f79535-47bb-0310-9956-ffa450edef68
2005-09-07 19:30:51 +00:00
Stephane Nicoll 9da3f0d5ff MNG-826:
- Jar dependencies are not included in the generated application.xml ; Hence 'library' is the default behavior and has been removed
- Added includeInApplicationXml property on JavaModule to allow it to be included in the generated application.xml

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279376 13f79535-47bb-0310-9956-ffa450edef68
2005-09-07 16:37:45 +00:00
Brett Leslie Porter 7b6f292c73 more fixes to the release plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279328 13f79535-47bb-0310-9956-ffa450edef68
2005-09-07 14:27:51 +00:00
Trygve Laugstol 7d198eb4ad o Adding licenses.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279318 13f79535-47bb-0310-9956-ffa450edef68
2005-09-07 13:12:56 +00:00
Brett Leslie Porter 457a613ee9 various release plugin fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279256 13f79535-47bb-0310-9956-ffa450edef68
2005-09-07 06:01:23 +00:00
Brett Leslie Porter 22f9a34107 various release plugin fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279240 13f79535-47bb-0310-9956-ffa450edef68
2005-09-07 04:14:22 +00:00
Brett Leslie Porter aa34ddef37 fix release-pom.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279063 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 18:50:54 +00:00
Brett Leslie Porter 8c97337f8b release plugin bugfixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279051 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 18:17:16 +00:00
Brett Leslie Porter 4405b100ef improve reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278997 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 13:27:49 +00:00
Brett Leslie Porter 6dca3b1af7 fix the expression for the SCM manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278991 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 12:55:31 +00:00
Brett Leslie Porter 3a4efa1029 PR: MNG-613
make sure versions are aggregated

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278961 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 09:52:37 +00:00
Brett Leslie Porter cb2370199b PR: MNG-613
deploy snapshot information to the correct directory and fix some other minor issues

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278930 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 06:58:44 +00:00
Brett Leslie Porter 8f3c207194 PR: MNG-613
changes versioning to use repository metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278881 13f79535-47bb-0310-9956-ffa450edef68
2005-09-05 23:12:55 +00:00
Trygve Laugstol 488cac14ff o Adding newline at end of file.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278605 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 15:56:52 +00:00
Brett Leslie Porter 9d9251e843 remove unneeded dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278551 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 03:05:38 +00:00
Brett Leslie Porter 82ac502e78 PR: MNG-833
Submitted by: Christoph Sturm
Reviewed by: Brett Porter
o fix NPE
o allow linking of projects in the reactor as modules

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267532 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 01:13:15 +00:00
Brett Leslie Porter 66869b1f65 PR: MNG-811
Add default excludes after the main excludes are set so that they don't get overwritten.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267436 13f79535-47bb-0310-9956-ffa450edef68
2005-09-03 08:00:53 +00:00