Commit Graph

3281 Commits

Author SHA1 Message Date
Kenney Westerhof 9592dddc6e Since stacktraces are printed when a cause is present in MojoExecutionException,
log the error instead and throw an exception without a cause.

Maybe it's better to have 2 MojoExecutionExceptions: one that signals
a real error/failure in maven (or pom setup), and one that just
signals normal build errors (no stacktrace printed).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291423 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 15:07:39 +00:00
John Dennis Casey 3f3d07908d Adding validation of @requiresProject and @requiresOnline to PluginManager.executeMojo(..), in order to centrally block mojos from executing under the wrong conditions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291422 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 15:03:59 +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 2ee39543f8 Added rar integration test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291397 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 09:18:03 +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 d0a5420e83 Added reference to maven-rar-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291393 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 08:35:57 +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 bd3c34a933 Moved maven-rar-plugin from the sandbox to maven-plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291391 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 08:31:38 +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
Brett Leslie Porter 0ff5c3906a set EOL style
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291366 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 02:21:21 +00:00
Jason van Zyl 6c6b24938d o very rough start at the embedding api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291359 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 02:00:04 +00:00
Brett Leslie Porter c5c6c6b7b1 add first segment to list
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291357 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 01:55:26 +00:00
Brett Leslie Porter 3265010815 remove files first
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291356 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 01:46:33 +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
Jason van Zyl a910c7b12c o adding a description to the archetype mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291302 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 13:31:22 +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
Brett Leslie Porter 661051200d no root project in reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291251 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 05:24:15 +00:00
Brett Leslie Porter 0fbd59f4f8 split command to narrow down NPE in integration environment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291250 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 04:56:39 +00:00
Jason van Zyl 15913ddde0 o adding a couple notes from the mailing lists
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291249 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 04:42:04 +00:00
Brett Leslie Porter c24680e912 split command to narrow down NPE in integration environment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291246 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 04:16:12 +00:00
Brett Leslie Porter 3e264f80ba PR: MNG-208
flag project that was the root of execution

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291236 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 02:18:54 +00:00
Jason van Zyl bb95d2c1cc o removing marmalade references
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291208 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 21:48:11 +00:00
Jason van Zyl 00f18c515d o pushing in the start of the GSG
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291207 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 21:47:29 +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
Vincent Massol db6b1a8172 Added again <defaultExcludes>. Apparently is was a problem with my version of m2. Sorry for the noise.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291106 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 12:14:09 +00:00
Vincent Massol deaebc1c10 Removing the <excludeDefault> element for now as it's causing the build to fail with:
[INFO] Reason: Failed to parse model from file 'C:\dev\maven\components\trunk\examples\maven-clover-plugin-samples\maven-clover-plugin-sample-simple\pom.xml'.
Error: 'Unrecognised tag: 'excludeDefaults' (position: START_TAG seen ...<reporting>\r\n    <excludeDefaults>... @22:22) '


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291102 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 11:26:37 +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 74903851c4 Fix junit version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290988 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 17:16:05 +00:00
Emmanuel Venisse b3bf5a5e42 Fix junit version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290977 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 16:41:46 +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 23611891ee Add the correct junit version (surefire need junit version >=3.8)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290973 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 16:04:49 +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 54618af78b ignore target
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290900 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 07:11:11 +00:00
Brett Leslie Porter 12a5cf7169 PR: MNG-517
improve error reporting on invalid lifecycle goals

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290899 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 06:58:15 +00:00