Commit Graph

696 Commits

Author SHA1 Message Date
Brett Leslie Porter ad59adaafc [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289408 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 07:10:18 +00:00
Brett Leslie Porter cd03060d9e [maven-release-plugin] prepare release maven-clean-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289406 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 07:10:01 +00:00
Brett Leslie Porter 8e13f138c7 rollback release, I was missing the tag base
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289405 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 07:08:59 +00:00
Brett Leslie Porter 7b290671a2 remove release pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289403 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 07:06:32 +00:00
Brett Leslie Porter 36d5fe1528 merge changes from tag, up to 289396
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289398 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 06:47:46 +00:00
Brett Leslie Porter 17ce104b1a [maven-release-plugin] prepare release maven-clean-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289395 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 06:27:18 +00:00
Brett Leslie Porter c44890b92c update dependency and parent versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289378 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 04:30:44 +00:00
Brett Leslie Porter 0b67c7c6c6 beta 2 POM - if required. Plugins should try and stay on beta-1.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289373 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 04:01:55 +00:00
Brett Leslie Porter c193b0fa5d fix JDK 1.5 only call
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289370 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 03:33:31 +00:00
Brett Leslie Porter e3899c9cbc fix eclipse plugin tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289359 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 01:37:39 +00:00
Brett Leslie Porter 9262d5171e PR: MNG-898
Submitted by: Magne Rasmussen
Reviewed by:  Brett Porter
Allow overriding classes/resources in tests.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289354 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 00:58:58 +00:00
Kenney Westerhof c9bf147e29 o EclipsePlugin now does NOT download sources by default.
Specify -Declipse.downloadSources=true to do so.

o WarMojo produces an artifact, even if exploded is specified. This makes sure
  that the install phase doesn't fail because there's no artifact.

o DependenciesReport: add caught exception to the new thrown exception
  for better messages.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289353 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 00:37:58 +00:00
John Dennis Casey 5038a4d249 Resolving: MNG-876. Versions are incremented correctly again.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289348 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 23:36:29 +00:00
John Dennis Casey 75ac363378 Resolving: MNG-879. Now, all isSnapshot() stuff for the release plugin is handled by ArtifactUtils, so it's possible to reuse the logic rather than replicate it.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289311 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 20:40:43 +00:00
John Dennis Casey c5361940c3 Resolving: MNG-880, filling in of null values was using project.model rather than project.originalModel.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289305 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 20:09:27 +00:00
John Dennis Casey dca4ae4518 Resolving: MNG-886
o Added complex test case for the release plugin, called it2002.
o Added copying of reportArtifacts and extensionArtifacts sets when one MavenProject is constructed with another.
o Added some logging statements to PrepareReleaseMojo, which I will remove later when I'm done with this rash of bugfixes.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289294 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 19:21:28 +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 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