Commit Graph

755 Commits

Author SHA1 Message Date
Brett Leslie Porter a912e034bc PR: MNG-644
error out on bad syntax

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293345 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:35:44 +00:00
Brett Leslie Porter dc56a21047 PR: MNG-644
warning for old syntax

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293344 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:34:23 +00:00
Brett Leslie Porter 14e6e11295 PR: MNG-644
remove deprecated interface method

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293343 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:30:01 +00:00
Brett Leslie Porter 4b6babfbf7 PR: MNG-644
remove deprecated goal syntax

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293332 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:13:44 +00:00
Brett Leslie Porter 85fe459856 PR: MNG-644
remove deprecated goal syntax

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293328 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:10:39 +00:00
Brett Leslie Porter 575f0e8c1b PR: MNG-844, MNG-1073
o aggregating goal that forks a lifecycle should run reactor over projects
o don't show reactor summary if an aggregation goal was run that didn't fork a lifecycle.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293235 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 04:49:21 +00:00
Brett Leslie Porter 86ef6a7f5f handle mojo failure exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293231 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 04:10:19 +00:00
Brett Leslie Porter 56d55b8f8e PR: MNG-932
add a goal for creating a jar from the test sources


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293227 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 03:53:48 +00:00
Brett Leslie Porter f87dfbf04a PR: MNG-1025
use standard resources for the ear plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293212 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 02:30:06 +00:00
Brett Leslie Porter c5acaded88 upgrade to plexus 1.0-alpha-7 container, switching to new group ID
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293193 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 00:54:01 +00:00
Brett Leslie Porter 5de7973576 PR: MNG-247
Submitted by: Jerome Lacoste
Reviewed by:  Brett Porter
make m2 shell script find home when it is a symlink


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293186 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 00:16:36 +00:00
Brett Leslie Porter 76f82eefc9 PR: MNG-1057
look for command line goals in the project declared plugins

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292935 13f79535-47bb-0310-9956-ffa450edef68
2005-10-01 07:10:39 +00:00
John Dennis Casey 0b4d79d101 Resolving: MNG-1032, MNG-1033
o Improved the error diagnostics related to artifact resolution errors.

o Added xml-based documentation of supported plugin parameter expressions, including info about how to affect them ('-o' for example), how to specify them (<distributionManagement><repository/> for example in ${project.distributionManagementArtifactRepository}), and what the expressions are actually used for. This can also serve as a basis for creating documentation for plugin parameter expressions on the website.

o Improved the error diagnostics for plugin configuration errors.

o Added a couple of ITs in the 1000 series to test these two error conditions.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292750 13f79535-47bb-0310-9956-ffa450edef68
2005-09-30 14:33:10 +00:00
Brett Leslie Porter 52e8a216ef PR: MNG-1011
add default goal handling

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292411 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 09:55:25 +00:00
Brett Leslie Porter 20116dbc4e PR: MNG-936
make sure directory exists first

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292409 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 09:26:07 +00:00
Brett Leslie Porter 456a6eb042 add mojo project as a default group
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292361 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 00:29:03 +00:00
John Dennis Casey dac96a1276 Resolving: MNG-800...needed a call to flush the cached plugins-by-key map in the registry when a new plugin is added.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292222 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 16:04:19 +00:00
Brett Leslie Porter 826f3e2a86 PR: MNG-916
ensure RELEASE is not selected as is

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292172 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 13:07:53 +00:00
Brett Leslie Porter bd839db47e fix issue with goal fork
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292143 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 08:16:19 +00:00
Brett Leslie Porter ddfcc65d55 PR: MNG-817
add goal="..." to @execute

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292125 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 05:09:14 +00:00
John Dennis Casey 86d1a481f5 Storing plugin contexts by plugin and project in the release manager, and furnishing access to them via the session. This will restrict shared information scopes to the plugin AND the project, in a reactored situation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292105 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 03:38:00 +00:00
John Dennis Casey 30d2a16b5a Resolving: MNG-823...added context-awareness to AbstractMojo, using ContextEnabled interface to avoid breaking Mojo API for direct implementors. Added two mojos in the core-it plugin to use the plugin context map, and an IT - it0073 - to test the whole thing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292023 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 19:49:37 +00:00
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 beb46f35a6 use expression instead
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291653 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 16:11:26 +00:00
Brett Leslie Porter 9500c55d86 set assembly directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291652 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 16:10:17 +00:00
Brett Leslie Porter 27bc0aea4d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291643 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 15:30:36 +00:00
Brett Leslie Porter 80c8e188b8 [maven-release-plugin] prepare release maven-2.0-beta-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291641 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 15:18:55 +00:00
Brett Leslie Porter fdfe084071 add missing import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291637 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:56:55 +00:00
Brett Leslie Porter 2d69f3a9d6 exclude cli/lang - not needed for cli
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291633 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:41:03 +00:00
Brett Leslie Porter ed370a6382 allow both error and failure exceptions from mojos instead of just checking for a null cause
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291632 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:40:17 +00:00
Jason van Zyl 853028dfab o adding method to the maven project builder that takes a transfer listener
as a parameter. this method is currently being used in the embedder

o see MNG-1015 for notes on where the monitor may be bested placed. if
everything eventually uses the embedder then it won't matter so much.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291499 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 00:23:33 +00:00
Jason van Zyl 1936ab200b o slowly (and safely) trying to make bits extractable from here so that i
can integration it into the embedder and then use the embedder for the

 o it-plugin
 o maven cli
 o ant tasks
 o eclipse m2 plugin
 


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291435 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 16:06:28 +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
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 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
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
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 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
Brett Leslie Porter d32678b6ee PR: MNG-870
correct method name

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290891 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 04:50:08 +00:00
Brett Leslie Porter 3d9c4031ab PR: MNG-870
add missing delegator

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290890 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 04:46:49 +00:00
Brett Leslie Porter cebbdaf1ce PR: MNG-870
MAke plugin discovery reactor aware



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290887 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 04:34:41 +00:00
Brett Leslie Porter 45274f094d don't use these java reports as defaults just yet
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290869 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 01:01:53 +00:00
Brett Leslie Porter 3af4a18f48 PR: MNG-575
Submitted by: Jesse McConnell
Reviewed by:  Brett Porter
Add a way to configure permissions on deployed files

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290660 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 08:53:46 +00:00
Brett Leslie Porter ec2ece5a3b PR: MNG-902
add default reports

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290654 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 08:40:42 +00:00
Brett Leslie Porter 965dda3fbf PR: MNG-917
don't overwrite dependency artifacts if they were already created

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290646 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 07:36:39 +00:00
Brett Leslie Porter e88e09c282 PR: MNG-629
fork lifecycle for reports

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