Commit Graph

912 Commits

Author SHA1 Message Date
Jason van Zyl 985b29dc9d o necessary goodness to allow Ant-based plugins to unpack their resources which can be executed
tested with a custom plugin which uses ant extensively calling out to .sh and .pl


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@462711 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 06:37:56 +00:00
Milos Kleint 625012b029 MNG-1884 - the wagon manager needs to be injects the proxy/mirror info, otherwise the readProject() calls don't get through the firewalls.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@434079 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 16:58:33 +00:00
John Dennis Casey e165438db3 Merged from 433788 on the branch, to fix the case where build extensions don't get resolved when building projects that would be filtered by Maven's core artifact filter...as in the case of some plexus projects, and of maven projects themselves.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@433789 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 22:54:13 +00:00
John Dennis Casey 7c43aa27d7 Merging fix for loss of dependency ordering from branch.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@430573 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 22:43:48 +00:00
Kenney Westerhof 10c3433355 Fix exception message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@430369 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 13:01:55 +00:00
Brett Leslie Porter 6eddbb1242 revert r425096 to fix the build for now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@429576 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 04:56:08 +00:00
Carlos Sanchez Gonzalez d8ceac328a Use constants for maven groupId
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@425105 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 16:04:09 +00:00
Carlos Sanchez Gonzalez 92e731eb80 Added @since tag
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@425103 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 16:01:15 +00:00
Carlos Sanchez Gonzalez 7a4138fe43 Added PluginException to aggregate the different plugin exceptions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@425096 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 15:52:30 +00:00
Kenney Westerhof a8dc29a9dc Clarify unknown goal message by specifying the plugin it couldn't be found in
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@425024 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 12:33:58 +00:00
Carlos Sanchez Gonzalez f7a33ca068 POM cleanup, remove inherited fields, added license and xsd
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@419880 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 12:23:28 +00:00
Milos Kleint 18b47d1650 when creating local repository, don't force updating snapshots from all remote repositories.
handle according to the executionrequest

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@418631 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 18:00:48 +00:00
Brett Leslie Porter c754f856fd don't show -e for failures, only errors when there was a causing exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@417679 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 06:07:56 +00:00
Milos Kleint d7a1ba698d MNG-2364 make sure the system properties are passed from the execution/embed requests, to make the on-property profile activation work in embedded environment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@415000 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 06:46:58 +00:00
Carlos Sanchez Gonzalez f925bdc3a6 [MNG-2357] Refactor code
Submitted by: Jerome Lacoste

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@413091 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 17:00:43 +00:00
Kenney Westerhof 45748e167d PR: MNG-2293
Submitted by: Jerome Lacoste
Reviewed by: Kenney Westerhof
Modifications: minor cosmetic changes.

Add an 'implementation' parameter to @parameter annotation, so
a default implementation can be specified in Mojo's in case the Mojo parameter
is an interface.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@413054 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 14:30:57 +00:00
Trygve Laugstol c6723a940a o Only set the local repository if it's missing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@408734 13f79535-47bb-0310-9956-ffa450edef68
2006-05-22 19:56:01 +00:00
Milos Kleint f930fac38a MNG-2147 make sure it's not required to set activated or inactivaed profiles.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@400269 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 08:47:15 +00:00
Jason van Zyl 94e440000d o merge of the maven-embedder-refactor branch into the trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@392327 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 15:57:09 +00:00
John Dennis Casey 43e640244e (Merged from 386445.)
From the original revision log:
--------------------------------------

o Fixed formatting of lines in DefaultMaven to ensure that the output:

[INFO] ----------------------------------------------------------------------

doesn't exceed 80 columns, for readability.

o Fixed error reporting when building a POM's parent, in cases where:

  - relativePath refers to a directory, but there is no pom.xml in that directory...in
    this case, simply set the parentDescriptor == null, and allow repository resolution
    to proceed.

  - attempt to resolve parent POM from repository fails...in this case, we need to tell
    the user which project specified the missing parent.

Neither of these had any impact on existing tests, and should only improve the user
experience. I don't believe they introduce any ambiguous behavior.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@386447 13f79535-47bb-0310-9956-ffa450edef68
2006-03-16 20:06:21 +00:00
Brett Leslie Porter e2be5ffc21 fix location of original setter
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384215 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 13:45:20 +00:00
Kenney Westerhof aaaf6537f6 PR: MNG-1318
use ~dp0 instead of ~dps0 since that is broken
on Windows 2000 and XP (prior to SP2).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382801 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:13:06 +00:00
Kenney Westerhof 16f876c2f3 PR: MNG-1317
Use ~dp0 since ~dps0 is broken, and add double
quotes since the path now can contain spaces.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382797 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:09:17 +00:00
John Dennis Casey d201131b59 (merged from 382460.) [MNG-1415] Added quoted-argument reconstruction to MavenCLI, and quote preservation to the shell scripts. Both are necessary to fix this issue. Test is it0098.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382461 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 18:18:06 +00:00
Brett Leslie Porter f380c0ef75 [MNG-2096] allow <configuration> with <execution> in a lifecycle overlay, like a plugin allows
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379491 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:36:04 +00:00
Emmanuel Venisse b9b9efbe4a merge from branch rev.379486
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379489 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:26:09 +00:00
Brett Leslie Porter 73ba7305ce [MNG-1898] get rid of RealmDelegatingClassLoader, use the RealmClassLoader. Works with test case on MNG-1898 and MNG-1804.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379425 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 11:22:49 +00:00
John Dennis Casey c458848733 [MNG-2030] Adding version output to the debugging log-level.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379285 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 23:42:23 +00:00
Brett Leslie Porter f36b990362 remove testing descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@376125 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 00:14:08 +00:00
Jason van Zyl 95189e189e [MNG-1980] Removing the duplicate ID, the reactor will catch duplicate IDs in a single build so it doesn't not need
to be checked for in the project builder. I have removed the model caching for now while I'm refactoring
           the project builder. The plan is to break the 1000+ lines down into its constituent components and use
           a pipeline to build up the project.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@371079 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 16:36:06 +00:00
John Dennis Casey 18a02e4097 Renaming the pre/post phases for the integration-test phase...new names use pre- and post- instead of begin- and end-
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368425 13f79535-47bb-0310-9956-ffa450edef68
2006-01-12 18:00:05 +00:00
Brett Leslie Porter 587179fd9e merge rev 368281 from branch - update classworlds and plexus-utils dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368287 13f79535-47bb-0310-9956-ffa450edef68
2006-01-12 05:50:54 +00:00
Jason van Zyl 69aadf79da o make a very simple utility for creating our artifact filter so that it can be shared by the
plugin manager and the extension manger. now used in the extension manager to block out
  deps that are already present in the maven classloading system. so that something like
  the external provider can be listed in an extension and will be dealt with: this was
  causing a loader constraint violation.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368218 13f79535-47bb-0310-9956-ffa450edef68
2006-01-12 02:00:16 +00:00
Brett Leslie Porter be1b1f2d13 [MNG-1907] wagon-ssh-external is now in the core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368127 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 20:54:35 +00:00
John Dennis Casey 88f3b941d4 [MNG-1903] Adding support for optional mojos within a lifecycle mapping.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@367962 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 07:57:32 +00:00
John Dennis Casey 98a4dc3cb3 [MNG-1903] Adding site descriptor attachment to the package phase of the pom lifecycle.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@367934 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 05:24:50 +00:00
Brett Leslie Porter cc20bf6402 merge from branch maven-2.0.x @ rev 367900
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@367902 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 03:45:10 +00:00
Brett Leslie Porter af1a99198f merge from branch maven-2.0.x, up to rev 365776
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@365790 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 01:14:17 +00:00
Vincent Massol 5282ee4341 Adding 2 new phases related to integration tests:
- before-integration-test: perform actions required before integratiob tests are executed. This may involve things such as setting up the required environment.
- after-integration-test: perform actions required after integration tests have been executed. This may including cleaning up the environment.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@359866 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 18:19:31 +00:00
Emmanuel Venisse 31a3319419 Fix exit code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@358565 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 13:47:36 +00:00
Brett Leslie Porter 9ae0914694 flip trunk to 2.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356316 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 18:22:06 +00:00
John Dennis Casey 8a5fa61b17 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356099 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 01:41:09 +00:00
John Dennis Casey 9cf94e34f2 [maven-release-plugin] prepare release maven-2.0.1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356093 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 01:34:03 +00:00
Jason van Zyl db17a2494b o adding capability to the lifecycle executor to merge in executions which contain
configurations for external plugins. in this particular i've made the adjustments
  so that the corbertura plugin can tell the surefire plugin to fork. not ideal, but
  it will work until we figure out a more elegant solution.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356065 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 23:35:47 +00:00
John Dennis Casey e983fddf63 Fixing the context classloader for plugin executions. New classloader will delegate to the realm, rather than using only the loader used by the realm of the plugin-container.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355831 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 00:39:20 +00:00
John Dennis Casey ee3df7f885 Adding maven-error-diagnoser to the exclusions list in the plugin manager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355649 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 23:33:01 +00:00
Brett Leslie Porter 65acc94926 implement lax parsing of repository metadata XML files
PR: MNG-1788


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355404 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 07:58:04 +00:00
John Dennis Casey 2e89dadbce PR: MNG-1311
Added a stack of lifecycle fork-points that will be removed from each successively deeper level of forking in a cumulative manner, to prevent multi-node cycles in addition to simply blocking two-node cycles.

The basic problem with the recursion check that was in there was a type mismatch on the contents of a java.util.List. It's fixed now.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355383 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 05:37:43 +00:00
John Dennis Casey 125c19fb3a PR: MNG-1265
Submitted By: Allan Ramirez
Reviewed By: John Casey

Applied patch, which will add "built on" timestamp to the --version output.

NOTE: I did not apply the portion of the patch related to mboot, since the bootstrap has been redone. This may need to be added back into the bootstrap later.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354702 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 04:28:29 +00:00
John Dennis Casey eeb14425c6 PR: MNG-1352
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied this patch, which will ensure that alias != param.getName() before adding a duplicate diagnostic message for configuration.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354464 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 16:34:09 +00:00