Commit Graph

1024 Commits

Author SHA1 Message Date
John Dennis Casey da33bafe84 Resolving: MNG-885
o Extracting basedir from the project instance when PluginParameterExpressionEvaluator is init'ed if project != null...otherwise, using ${user.dir} from sysprops.

o Extracting values for resolution from POM properties before POM instance during POM interpolation, and adding checks to guard against self-reference of POM elements.

o Added three ITs (one contra) to test these resolutions.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291735 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 20:29:20 +00:00
Brett Leslie Porter cf93b70140 update for beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291651 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 16:08:34 +00:00
Brett Leslie Porter fb2e7159b1 pending fix for circularity - automate plugin report
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291634 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:47:32 +00:00
Brett Leslie Porter 7d1fb02010 goal doesn't require a project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291560 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 04:53:10 +00:00
Brett Leslie Porter d56d2c09c2 PR: MNG-855
Submitted by: Johnny R. Ruiz III
Reviewed by:  Brett Porter
documentation for surefire plugin


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291483 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 22:54:34 +00:00
Brett Leslie Porter 5cec6658fb PR: MNG-953
Submitted by: Johnny R. Ruiz III
Reviewed by:  Brett Porter
javadoc for project info reports configuration


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291482 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 22:52:26 +00:00
Brett Leslie Porter c864bf664c PR: MNG-952
Submitted by: Allan Ramirez
Reviewed by:  Brett Porter
documentation for the checkstyle plugin


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291481 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 22:47:08 +00:00
John Dennis Casey 410d22e73c Rolling back the release plugin's dependencies to -beta-1 of maven, and making resolvePluginVersion(..) with the flag for processAsReport public again with deprecation, so the release plugin continues to function into the next release.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291420 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 14:49:27 +00:00
Stephane Nicoll 73473d0fbf rar source file compliant with src/main structure.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291395 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 08:49:09 +00:00
Stephane Nicoll 698d6a9567 * Moved maven-rar-plugin from the sandbox to maven-plugins
* MNG-854: Added javadoc and web site doco


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291392 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 08:32:41 +00:00
Stephane Nicoll 80da978c79 info log now specifies that maven will generate a MANIFEST if the custom manifest is not found.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291389 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 08:13:35 +00:00
Stephane Nicoll ffd07ac6ad copy/pasting is evil!
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291388 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 08:05:41 +00:00
Stephane Nicoll 355bb91a99 MNG-852: Added web site doco for EJB plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291386 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 07:48:20 +00:00
Brett Leslie Porter 9b52245750 PR: MNG-779
fix defaults

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291371 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 03:09:06 +00:00
Brett Leslie Porter 1c576b6c09 put classpath in an external file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291370 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 02:51:44 +00:00
Stephane Nicoll 0c2913667d updated reporting-impl dependencies to beta-2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291315 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 15:32:57 +00:00
Stephane Nicoll b3d8dcb9a7 MNG-706: Implemented plugin:xdoc as a report
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291309 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 15:22:36 +00:00
Vincent Siveton 752450ca54 For MNG-706, the generatedSiteDirectory should be processed at the end; Updated documentation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291304 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 14:28:38 +00:00
Jason van Zyl 3fefe6528c o adding @description so it will show up in the generated doco
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291303 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 13:33:38 +00:00
Stephane Nicoll 5fd7ca1f44 missing : in id.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291288 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 12:25:32 +00:00
Stephane Nicoll 00ae895859 changing email address.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291287 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 12:23:26 +00:00
Stephane Nicoll 47426c6648 MNG-853: added howto and web site doco for war plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291188 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 18:43:46 +00:00
Stephane Nicoll 3dbec22bcd Updated web site documentation according to Johnny R. Ruiz III's work.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291184 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 18:23:33 +00:00
John Dennis Casey 1d0b8995f6 Fixing versions of maven deps...needs new version of PluginVersionManager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291134 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 14:54:33 +00:00
John Dennis Casey 24a108a674 Resolving: MNG-767, MNG-768
o We should have a viable offline mode now. Plugin sensitivity updates to follow.

o See it0069 and it1014 for offline mode tests.

o Brett, building maven-plugins in offline mode with org/apache/maven/plugin/* removed will now give a nice error message. :)



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291124 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 14:23:08 +00:00
Brett Leslie Porter 8007fcccfa goal naming consistency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291085 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 07:03:56 +00:00
Brett Leslie Porter 49f1ff2c2f take out ASF as a default, we can't copyright content
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291074 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 04:53:43 +00:00
Brett Leslie Porter ab0e585fdb add path references:
- maven.dependency.classpath (compile)
- maven.compile.classpath (compile)
- maven.runtime.classpath (runtime)
- maven.test.classpath (test)

resolve dependencies in ant run mojo to ensure these are available


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291066 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 03:24:18 +00:00
Emmanuel Venisse f86c48140b oops, sorry.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290974 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 16:23:13 +00:00
Emmanuel Venisse ebc406ab8e Add debug messages
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290972 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 16:04:16 +00:00
Emmanuel Venisse 5ec721cb29 Fix surefire classpath creation. plugin artifacts must be in classpath after project artifact.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290957 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 14:59:00 +00:00
Brett Leslie Porter 40dffa09db other directories may not be under target
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290923 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 09:49:18 +00:00
Brett Leslie Porter 035c54d863 PR: MNG-869
Submitted by: Johnny R. Ruiz III
Reviewed by:  Brett Porter
compiler documentation

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290902 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 07:16:50 +00:00
Brett Leslie Porter a2c8a904cc PR: MNG-938
Submitted by: Johnny R. Ruiz III
documentation for IDEA plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290892 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 05:12:16 +00:00
Brett Leslie Porter cbcf2d48e1 PR: MNG-788
add filtering to the build element


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290877 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 02:52:39 +00:00
Jason van Zyl 4aaabdbece o adding Test*.java to the default regexes for inclusion.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290866 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 00:28:18 +00:00
Brett Leslie Porter ef26e75576 PR: MNG-926
Submitted by: Johnny R. Ruiz III
Reviewed by:  Brett Porter
assembly plugin documentation

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290859 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 23:28:09 +00:00
John Dennis Casey 190b1f077c Resolving: MNG-907.
Patch applied, thanks Hiram!



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290778 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 18:36:16 +00:00
Brett Leslie Porter 0f021ff7eb PR: MNG-856
Submitted by: Allan Ramirez
Reviewed by:  Brett Porter
site plugin documentation

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290674 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 10:20:21 +00:00
Brett Leslie Porter fe10f2940c PR: MNG-902
Submitted by: Allan Ramirez
Reviewed by:  Brett Porter
documentation for the site plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290648 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 08:04:53 +00:00
Brett Leslie Porter 8858d8f85c PR: MNG-629
preparing for executing the lifecycle by passing reports into the site plugin, rather than extracting them from the plugin manager

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290634 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 06:45:50 +00:00
Brett Leslie Porter 156a22fefa more cleanup of site plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290603 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 02:46:44 +00:00
Brett Leslie Porter 4f021380b7 set properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290574 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 21:58:56 +00:00
John Dennis Casey 554dd0b525 Resolving: MNG-842
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290572 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 21:47:10 +00:00
Brett Leslie Porter abdfbe1c74 o store temp file in temp directory, not target which may not exist
o error out if site doesn't exist to copy.
o clean up

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290565 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 21:05:00 +00:00
John Dennis Casey 1b96369116 Resolving: MNG-927
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290554 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 20:11:42 +00:00
Stephane Nicoll a6a01793d8 PR: MNG-858
Submitted by: Allan Ramirez
Reviewed by: Stephane Nicoll
Documentation of Jar plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290534 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 19:22:03 +00:00
Brett Leslie Porter 1ce4585526 clean up site plugin, optimize descriptor creation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290404 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 09:28:25 +00:00
Brett Leslie Porter 385fef3bda don't include lifecycle introduced plugins (also resolves issue with release plugin snapshot)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290352 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 04:35:46 +00:00
Brett Leslie Porter 26fcb2bae8 revert version to snapshot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290349 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 04:10:50 +00:00
John Dennis Casey 4ae0c23626 Avoid setting finalName when it conforms to artifactId-version.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290339 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 03:11:59 +00:00
John Dennis Casey ec8d262f16 Resolving: MNG-878, MNG-921
o Verified that plugins are added to the list in the model when invoked from the command line (878)
o Reformatted ModelUtils after the profiles-cloning addition
o Added cache-flush for the plugin map in MavenProject
o Moved dependencies for subproject/subproject2 into the parent-project POM, inside a profile
o Added activation property for this new profile into the test.sh script
o Added explicit activation inside of release:perform's m2 invocation for all profile-ids active in the release-plugin's execution.
o Added code to remove the dynamic parts of the POM from the release-pom.xml...it's not meant to be a dynamic version of a POM.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290336 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 02:59:44 +00:00
John Dennis Casey 74de0709de Resolving: MNG-920, and setting the version of maven-release-plugin to a rev of -beta-1 instead of -SNAPSHOT, to allow locally installed versions to work without tweaking the version locally.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290276 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 21:24:40 +00:00
John Dennis Casey a97c683c81 Oops. Didn't mean to check that in.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290242 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 19:11:42 +00:00
John Dennis Casey 23af50ef4a Resolving: MNG-878, MNG-880 (again)
o Added full resolution of plugins listed in the project hierarchy
o Added better resolution of snapshots within the reactor, and resolution of ${finalName}
o Added usage of fully inherited model for release-pom.xml, to enable convergence of all POM inheritance to a single POM with no parent.
o Improved handling of SCM info in a reactored situation.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290221 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 17:58:46 +00:00
Brett Leslie Porter c193b36a3e PR: MNG-911
Submitted by: Daniel Schömer
Reviewed by:  Brett Porter
don't scan hidden files/directories
applied with modifications: also added .arch-ids to the default excludes

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290058 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 03:57:02 +00:00
Brett Leslie Porter 96b7fe6353 PR: MNG-577, MNG-901
Submitted by: Johnny R. Ruiz III
Reviewed by:  Brett Porter
add XML reporter to the surefire plugin, and improve documentation.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290042 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 01:48:39 +00:00
John Dennis Casey 66dddfc944 Resolving: MNG-881. This had to do with resource-list merging when the performRelease profile was activated. See MNG-895 for full resolution (this is a stop-gap solution for now).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289599 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 16:27:33 +00:00
Brett Leslie Porter d922db3226 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289586 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 15:29:31 +00:00
Brett Leslie Porter 08b53ea93a [maven-release-plugin] prepare release maven-release-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289584 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 15:29:17 +00:00
Brett Leslie Porter bdb58bf003 use releases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289583 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 15:28:58 +00:00
Brett Leslie Porter 056d00e36e [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289580 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 15:22:17 +00:00
Brett Leslie Porter 1ba3977eaa [maven-release-plugin] prepare release maven-project-info-reports-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289578 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 15:22:00 +00:00
Brett Leslie Porter 71ca9a991a use releases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289577 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 15:21:28 +00:00
Brett Leslie Porter e8128c609f [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289560 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 14:23:29 +00:00
Brett Leslie Porter bf7e628f2d [maven-release-plugin] prepare release maven-compiler-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289558 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 14:23:13 +00:00
Brett Leslie Porter 7303450fc4 use released version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289555 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 14:17:00 +00:00
Brett Leslie Porter 0da69b2429 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289554 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 14:08:31 +00:00
Brett Leslie Porter 383a49cf79 [maven-release-plugin] prepare release maven-pmd-2.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289552 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 14:08:15 +00:00
Brett Leslie Porter 6e0ced8d97 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289550 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 14:02:34 +00:00
Brett Leslie Porter 937080d0bc [maven-release-plugin] prepare release maven-clover-2.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289548 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 14:02:19 +00:00
Brett Leslie Porter 6eb23f05a4 fix major version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289547 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 14:01:46 +00:00
Brett Leslie Porter 374f07bcf0 set upcoming version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289546 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 14:01:20 +00:00
Brett Leslie Porter 324009536a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289545 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:57:14 +00:00
Brett Leslie Porter 0121f74b6e [maven-release-plugin] prepare release maven-checkstyle-2.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289543 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:56:58 +00:00
Brett Leslie Porter 23f4482e4d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289542 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:53:07 +00:00
Brett Leslie Porter 29678422f6 [maven-release-plugin] prepare release maven-javadoc-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289540 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:52:51 +00:00
Brett Leslie Porter 865e099122 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289534 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:34:17 +00:00
Brett Leslie Porter 40e6b9cef3 [maven-release-plugin] prepare release maven-site-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289532 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:33:43 +00:00
Brett Leslie Porter 4862289465 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289529 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:23:03 +00:00
Brett Leslie Porter 260b310daf [maven-release-plugin] prepare release maven-ant-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289527 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:22:47 +00:00
Brett Leslie Porter 5c04075e16 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289526 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:19:57 +00:00
Brett Leslie Porter 03c0dc0ac0 [maven-release-plugin] prepare release maven-verifier-1.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289524 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:19:38 +00:00
Brett Leslie Porter b3e1971a64 is a snapshot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289523 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 13:19:08 +00:00
Brett Leslie Porter b1e0bca9b4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289522 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 12:38:56 +00:00
Brett Leslie Porter 9655db1186 [maven-release-plugin] prepare release maven-surefire-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289520 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 12:38:41 +00:00
Brett Leslie Porter 08ef6ef378 use release
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289519 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 12:38:24 +00:00
Brett Leslie Porter 8734fda85f [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289517 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 12:34:25 +00:00
Brett Leslie Porter 4eb172a7a8 [maven-release-plugin] prepare release maven-war-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289515 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 12:34:10 +00:00
Brett Leslie Porter d2b20bea06 reinstate exploded mode - recommend use from the command line only, add deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289514 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 12:33:49 +00:00
Brett Leslie Porter df44d4ed84 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289506 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 12:06:37 +00:00
Brett Leslie Porter 118ab4ee2c [maven-release-plugin] prepare release maven-eclipse-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289504 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 12:06:18 +00:00
Brett Leslie Porter 6743b53d9d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289500 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 11:55:48 +00:00
Brett Leslie Porter 7a5e8122f8 [maven-release-plugin] prepare release maven-idea-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289498 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 11:55:33 +00:00
Brett Leslie Porter 301ddfc7b2 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289496 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 11:47:42 +00:00
Brett Leslie Porter 7847c99e79 [maven-release-plugin] prepare release maven-antrun-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289494 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 11:47:27 +00:00
Kenney Westerhof 98823bd6d2 Fixing MNG-777: no output from ant tasks. I set the
logger level to INFO so <echo> messages will appear.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289487 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 10:51:45 +00:00
Brett Leslie Porter 3dbef8fe83 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289485 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 10:41:45 +00:00
Brett Leslie Porter a20ac96650 [maven-release-plugin] prepare release maven-antlr-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289483 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 10:41:30 +00:00
Brett Leslie Porter 7ef886642f changing version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289481 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 10:36:46 +00:00
Brett Leslie Porter 377887165e [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289479 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 10:31:22 +00:00
Brett Leslie Porter 28547d1452 [maven-release-plugin] prepare release maven-ear-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289477 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 10:31:06 +00:00
Brett Leslie Porter bd4d4cf512 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289476 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 10:26:01 +00:00
Brett Leslie Porter c1b3654fb4 [maven-release-plugin] prepare release maven-ejb-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289474 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 10:25:46 +00:00
Brett Leslie Porter e0bff07425 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289470 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:58:25 +00:00
Brett Leslie Porter f86729ba21 [maven-release-plugin] prepare release maven-source-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289467 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:58:11 +00:00
Brett Leslie Porter 907ac4d010 revert release - tagged wrong
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289466 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:57:47 +00:00
Brett Leslie Porter 7c6abe1ab2 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289465 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:50:27 +00:00
Brett Leslie Porter 8355bc23ad [maven-release-plugin] prepare release maven-resources-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289463 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:50:09 +00:00
Brett Leslie Porter 73eb79c668 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289461 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:46:28 +00:00
Brett Leslie Porter 670aa3a838 [maven-release-plugin] prepare release maven-resources-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289459 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:46:12 +00:00
Brett Leslie Porter 0146a583cd [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289455 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:24:09 +00:00
Brett Leslie Porter 7866d48d7d [maven-release-plugin] prepare release maven-projecthelp-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289453 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:23:54 +00:00
Brett Leslie Porter 5be9e0c0f6 cut deps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289452 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:23:25 +00:00
Brett Leslie Porter 6f3e936a8c [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289451 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:17:03 +00:00
Brett Leslie Porter 1092bbbc44 [maven-release-plugin] prepare release maven-deploy-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289449 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:16:42 +00:00
Brett Leslie Porter 43df02a1fa [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289448 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:10:37 +00:00
Brett Leslie Porter c64c3bafe6 [maven-release-plugin] prepare release maven-install-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289446 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:10:20 +00:00
Brett Leslie Porter 19be649335 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289442 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 08:53:45 +00:00
Brett Leslie Porter 7562168c81 [maven-release-plugin] prepare release maven-jar-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289440 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 08:53:29 +00:00
Brett Leslie Porter a4e7b1cfb2 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289437 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 08:47:32 +00:00
Brett Leslie Porter be4c02ba26 [maven-release-plugin] prepare release maven-assembly-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289435 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 08:47:13 +00:00
Brett Leslie Porter b9530ad337 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289431 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 08:39:57 +00:00
Brett Leslie Porter fc9951d22c [maven-release-plugin] prepare release maven-plugin-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289429 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 08:39:24 +00:00
Brett Leslie Porter 860bc05f42 missed one line deletion
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289420 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 07:58:26 +00:00
Brett Leslie Porter 52a7ecf444 merge 289396:289416 from release tag
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289419 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 07:55:59 +00:00
Brett Leslie Porter 8562086c14 comment out release plugin to overcome cycle in reactor which should not occur
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289412 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 07:25:55 +00:00
Brett Leslie Porter 5c91eda672 rollback version bump temporarily
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289411 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 07:21:46 +00:00
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
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
Brett Leslie Porter efa3609d70 PR: MNG-819
Submitted by: Edwin Punzalan
Reviewed by:  Brett Porter
Add maven1 features to the checkstyle plugin


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267435 13f79535-47bb-0310-9956-ffa450edef68
2005-09-03 07:47:53 +00:00
Brett Leslie Porter b99fec5c6d PR: MNG-822
Submitted by: Edwin Punzalan
Reviewed by:  Brett Porter
EAR improvements


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267433 13f79535-47bb-0310-9956-ffa450edef68
2005-09-03 07:34:07 +00:00
Kenney Westerhof c23770947f o Finished MNG-632.
Note: I'm not sure wheter my tmpDir approach is the best.
  It's certain to work all the time (depending on FileUtils.createTempFile),
  but it may leave a lot of 'garbage' in target/.

o Updated maven-core's assembly descriptor to make use
  of new line endings functionality.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267344 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 23:01:56 +00:00
Kenney Westerhof 9da1858237 Fixed IndexOutOfBouds when <sourceDirectory></sourceDirectory> is specified.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267278 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 19:15:27 +00:00
Trygve Laugstol cf8820b905 Fixing MNG-825: "Clean plugin should fail if unable to delete target"
o Changed the default from complaining through the logger to throwing an
  exception.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267218 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 14:56:22 +00:00
Brett Leslie Porter abd4ae6018 PR: MNG-613
make repository metadata behave more like snapshots with daily updates.
next step is to move the version checking to use that instead and fallback to the old files

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@266298 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 07:16:16 +00:00
Trygve Laugstol 4bfe2cc1ab Fixing MNG-810: "create a mojo goal named -> javadoc:jar"
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265765 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 19:11:49 +00:00
Brett Leslie Porter 9b6a7939db rename group metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265618 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 01:56:04 +00:00
Vincent Massol 3b1f894e37 MNG-813: Expose the m2 local repository location to the junit tests using the "localRepository" system property.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265582 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 20:49:49 +00:00
Brett Leslie Porter 6731a0485b updated API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264971 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 08:21:35 +00:00
Brett Leslie Porter c991b41571 refactoring towards similar pattern of artifact metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264967 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 08:11:47 +00:00
Kenney Westerhof 6fdbe554dd o Fixed tabs -> spaces (sorry, makes diff hard to read) and some codingstyle
issues.

o Modified model: added a 'BaseSet' type as a basetype
  for DependencySet and FileSet; it contains fileMode and
  directoryMode to work with the new plexus-archiver.

o Bumped plexus-archiver version to 1.0-alpha-2-SNAPSHOT.

o Added support for actually using fileMode and directoryMode.
  (tested this with a modified maven-core assembly descriptor,
  not committed as a test though).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264888 13f79535-47bb-0310-9956-ffa450edef68
2005-08-30 22:57:50 +00:00
Brett Leslie Porter e0457b0204 PR: MNG-613
reorganise in preparation for generalised repository metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264091 13f79535-47bb-0310-9956-ffa450edef68
2005-08-29 06:37:33 +00:00
Brett Leslie Porter 7a8c848b01 PR: MNG-788
bring back the "filtering" attribute in resources from m1


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@263841 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 07:18:35 +00:00
Vincent Siveton 9ef6cc7f50 Cleaning up the code a bit: replace static array of all reports file name generated by Maven by a list (more dynamic); the first token in the locales variable is the default locale (set in the VM); create createDuplicateExceptionMsg() to handle the exception msg when some files are duplicated; move code to generate reports in a new method called generateReportsPages(); improve logging.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240444 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 18:16:19 +00:00
Vincent Siveton cafb004caf Added a test in the banner macro to remove Velocity error (RHS of #set statement is null. Context will not be modified....)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240337 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 20:40:17 +00:00
Brett Leslie Porter b380d0e2d4 make the ordering predictable by sorting the key set.
Switched the key to be the simpler eclipse source root link name.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240187 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 08:05:47 +00:00
Brett Leslie Porter 22365aeefe fix tests:
- ordering of link elements was wrong
- windows path separator was wrong


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240180 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 07:46:12 +00:00
Kenney Westerhof a98961eeed o Fix MNG-410 (and MNG-769, MNG-738). Added testcase project-3 to demonstrate this.
o Added testcase to check generation of eclipse files in
  different location; modified the testcase to support this,
  and deal with the absolute paths.

o Neatified the addSourceLinks/addResourceLinks: using
  a map to keep track of duplicate source folders has the side
  effect of only needing one of those methods; it should
  also be faster :)

o Tried to add support for includes/excludes, but eclipse only
  supports unique source directories; this is typically not the
  case in maven, filters are used to split one resourcedir
  up. Left the code in for future reference.
  TODO: find a way to merge includes/excludes. If only
  the dir where in/excludes are specified is unique, they
  could be written without problem. This requires a preprocessing
  pass.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240143 13f79535-47bb-0310-9956-ffa450edef68
2005-08-25 21:28:30 +00:00
Kenney Westerhof ca3882cde6 o Fix MNG-781 (skip null configurations).
That issue is now renamed to the more general problem.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239964 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 23:26:32 +00:00
John Dennis Casey b935ee1b58 Fixing String.replace(..) problems in AbstractCompilerMojo.java
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239674 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 14:54:33 +00:00
Brett Leslie Porter 3576f334b6 add optional logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239663 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 13:50:09 +00:00
Trygve Laugstol 7f9ca76326 o Cleaning up the code style a bit:
- removing usage of this. as a prefix for referencing local variables
 - renaming public_, private_ and protected_ to showPublic, etc.
 - removing usage of final.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239601 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 11:12:26 +00:00
Vincent Siveton c29e4dbabc MNG-754: Added artifact information in the exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239599 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 10:56:50 +00:00
Trygve Laugstol 7c55d5cfb2 o Adding a missing part of Rod's last patch.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239596 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 10:27:28 +00:00
Brett Leslie Porter bc77a5ba07 PR: MNG-758
add @component tag for requirements

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239397 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 12:28:54 +00:00
Kenney Westerhof d6bd62e537 o Fixed MNG-772: applied Jesse McConnell's patch with minor style adjustments,
and did some more code cleanup.

o Tracking with projects have been referenced in order to stop adding the same
  project twice if there's a dep on more than one artifact attachment from a
  project.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239392 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 11:31:46 +00:00
John Dennis Casey 78bd69c44c Resolving: MNG-643
o Added includes/excludes for compile and testCompile
o added integration tests for single execution of compile and testCompile with excludes
o Added integration test for multiple execution of compile in different phases per Dan Tran's request

The bulk of this commit is KrisBravo's work (I think that's who Corridor Software Developer is??). Thanks for the help.




git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239272 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 23:14:34 +00:00
Trygve Laugstol b88302c209 Fixing MNG-710: "Add ability to fork the maven-compiler-plugin"
Patch created by Rod Coffin.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@234499 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 14:43:26 +00:00
Stephane Nicoll 30804e163a Now allowing custom manifest file to be set in the generated EAR file.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@234462 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 10:08:55 +00:00
Stephane Nicoll a20c98aa76 Removed excludedDependencySet as it has been implemented another way
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@234200 13f79535-47bb-0310-9956-ffa450edef68
2005-08-21 13:29:05 +00:00
Brett Leslie Porter 4e79a1aa80 forgot why they were wrapped in an array list...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233443 13f79535-47bb-0310-9956-ffa450edef68
2005-08-19 07:11:44 +00:00
Brett Leslie Porter cc276e2e2a forgot the import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233441 13f79535-47bb-0310-9956-ffa450edef68
2005-08-19 06:45:34 +00:00
Brett Leslie Porter 3c460805af PR: MNG-746
allow naming of TestCase as well as Test


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233437 13f79535-47bb-0310-9956-ffa450edef68
2005-08-19 06:22:20 +00:00
Brett Leslie Porter 28813de005 PR: MNG-479
workaround for failed unzipping of site. proper fix will require WAGONSSH-5 to be fixed.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233435 13f79535-47bb-0310-9956-ffa450edef68
2005-08-19 06:04:54 +00:00
Brett Leslie Porter 1afa38d91e add todir on batchtest to save reports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233431 13f79535-47bb-0310-9956-ffa450edef68
2005-08-19 04:27:34 +00:00
Trygve Laugstol d20e899dc8 o Adding support for using compilers that produce an single output file like
C#.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233318 13f79535-47bb-0310-9956-ffa450edef68
2005-08-18 13:36:54 +00:00
Trygve Laugstol 5aff0defc2 o Replacing hardcoded path separator ';' value with ${path.separator}.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233315 13f79535-47bb-0310-9956-ffa450edef68
2005-08-18 12:49:31 +00:00
Trygve Laugstol bea3c7f17b o Throwing an exception if the procotol isn't 'scp' as that's the only protocol
this provider currently supports.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233310 13f79535-47bb-0310-9956-ffa450edef68
2005-08-18 12:13:47 +00:00
Kenney Westerhof 3dcf43d418 Added support for custom project settings. Currenly only source/target/compliance level
is supported. It is extracted from the maven-compiler-plugin configuration and only
written when the settings deviate from the default.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233267 13f79535-47bb-0310-9956-ffa450edef68
2005-08-17 22:31:48 +00:00
John Dennis Casey 659a1f4736 Fixing some things:
o Artifact attachment via MavenProjectHelper was using string literals of the variables I was trying to use to fill in type and classifier (dumb, I know!)

o Source plugin didn't have an @phase for the JarSourceMojo...added, then added the goal configuration in the release profile in the super-pom

o Removed the source plugin bindings for the lifecycle mappings in maven-core

o Re-added [deprecated] method MavenProjectBuilder.build( File, ArtifactRepository, List )...you should use MavenProjectBuilder.build( File, ArtifactRepository, ProfileManager ) instead.

o Added profile handling/injection for the super-pom in two places: in buildStandaloneSuperPom() and in private build(..). This enables injection of the release profile which is provided in the super-pom.

o Added integration test to verify that using -DperformRelease=true results in the sources being attached...to override this behavior, another profile keyed on -DperformRelease could turn the 'attach' param for the source plugin off.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233245 13f79535-47bb-0310-9956-ffa450edef68
2005-08-17 19:23:45 +00:00
John Dennis Casey 345798c7ab Removing attached-Artifact creation code, replacing with MavenProjectHelper.attachArtifact(..).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233049 13f79535-47bb-0310-9956-ffa450edef68
2005-08-16 20:19:38 +00:00
Trygve Laugstol e21120a0a4 Fixing MNG-478: "war:war warSourceExcludes parameter not used when set in the
POM".
Patch created by Greg Case, thanks for your work!


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233048 13f79535-47bb-0310-9956-ffa450edef68
2005-08-16 19:54:30 +00:00
John Dennis Casey 7d4f3428fd Forgot to remove the SNAPSHOT check...this should close MNG-483
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233029 13f79535-47bb-0310-9956-ffa450edef68
2005-08-16 18:23:05 +00:00
John Dennis Casey 9a3085813d Working on MNG-483
o Added @requiresDirectInvocation (was: @cliOnly, but this implies m2 is run from CLI...counter-intuitive for embedding)

o Added handling for new @requiresDirectInvocation (generation/parsing, MojoDescriptor support, etc.)

o Added check in DefaultLifecycleExecutor to throw a LifecycleExecutionException if a mojo specified in a lifecycle binding is marked as direct-invocation only.

o Added MavenProjectHelper/DefaultMavenProjectHelper to provide convenience methods for manipulating MavenProject instances (for example, attaching artifacts or adding resources)

o Removed maven-artifact dependency from maven-source-plugin, and added dependency on maven-plugin-api (should've been there)



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233021 13f79535-47bb-0310-9956-ffa450edef68
2005-08-16 18:03:20 +00:00
John Dennis Casey fe5a91b0d6 Working on: MNG-483
Fixing profile application to separate profiles discovered in and around POM from those in settings.xml, and apply them separately in the order: 

for-each-project-in-inheritance:{POM, profiles.xml}, settings.xml

Added common interface for accumulating, explicitly activating and deactivating, and retrieving profiles to be applied to a given project. This manager interface (ProfileManager) is general enough to be applicable to both the project-level and settings-level profiles.

Added 'performRelease'-keyed profile to super-POM which will be used by the release plugin and anyone using a parallel process, and which will enable '-DupdateReleaseInfo=true' for the deploy mojo, along with enabling the source attachment for the project.

Added 'attach' parameter to JarSourceMojo to allow local POM to turn off source attachments, overriding release profile in super-pom.

Updated the release:perform mojo to use '-DperformRelease=true' for switching on the new release profile, rather than just using '-DupdateReleaseInfo=true'...



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233013 13f79535-47bb-0310-9956-ffa450edef68
2005-08-16 16:31:02 +00:00
John Dennis Casey 531c1c4f79 Applying patch from Jason Grant for unpacking assemblies and for attaching assemblies as attached artifacts - Thanks, Jason
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233012 13f79535-47bb-0310-9956-ffa450edef68
2005-08-16 16:21:39 +00:00
Vincent Siveton 6db6fb8909 MNG-722: Applied changes proposed by Incze Lajos, ie using OutputStreamWriter(FileOutputStream(...), outputEncoding) instead of FileWriter(...). Added also the outputEncoding parameter in the default-site.xml.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@232989 13f79535-47bb-0310-9956-ffa450edef68
2005-08-16 12:47:25 +00:00
Trygve Laugstol b584a47541 o Removing comment about no contributors.
o Changing the promt from "$>" to "$ ".


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@232887 13f79535-47bb-0310-9956-ffa450edef68
2005-08-15 21:38:11 +00:00
Trygve Laugstol 4de1c8c892 Fixing MNG-623: "Improve the exclusion / inclusion of a dependency inside the
ear"
Committing on behalf of Stephane Nicoll.
Provides two new flags to customize ear modules: 

* excluded ; if set the module is not bundle in the EAR file 
* library ; if set the java module is considered as a 3rd party library and no
  entry is generated in the application.xml 
 
The patch also update the documentation.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@232833 13f79535-47bb-0310-9956-ffa450edef68
2005-08-15 16:46:12 +00:00
Vincent Massol a10ae839cb MNG-736: Move ear source directory to comply with other plugin's structure. Applied on Stephane's behalf.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@232787 13f79535-47bb-0310-9956-ffa450edef68
2005-08-15 10:37:30 +00:00
Kenney Westerhof aefdc2b95d Set project's basedir on the ant Target so relative paths
work.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@232502 13f79535-47bb-0310-9956-ffa450edef68
2005-08-13 15:04:18 +00:00
Kenney Westerhof f14a81d454 Moved execution code to abstract base class, so other ant-enabled plugins
may use this more easily.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@232501 13f79535-47bb-0310-9956-ffa450edef68
2005-08-13 15:01:24 +00:00
Kenney Westerhof 59128be85b Making sure there is always a filter present, to prevent malfunctioning
plugin configuration code disabling running any tests.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@232500 13f79535-47bb-0310-9956-ffa450edef68
2005-08-13 14:58:04 +00:00
Trygve Laugstol 9fa2ff16f6 o Updating to the latest Plexus compiler API.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@231478 13f79535-47bb-0310-9956-ffa450edef68
2005-08-11 16:14:18 +00:00
Vincent Siveton a133047280 MNG-722: added a new outputEncoding parameter in the DoxiaMojo class. Updated the maven-site.vm
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@231433 13f79535-47bb-0310-9956-ffa450edef68
2005-08-11 12:28:52 +00:00