Commit Graph

939 Commits

Author SHA1 Message Date
Kenney Westerhof 4d0e8b9806 remove assembly-plugin configuration as there's no assembly in maven-core; that has been moved to maven-cli way back
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493293 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 03:54:40 +00:00
Kenney Westerhof 7f1b796988 Fix compilation error
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493028 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 13:23:18 +00:00
Brett Leslie Porter a6ddaac0b5 [MNG-2228] fix null pointer exception
Merged from: 492103, maven-2.0.x branch


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492104 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 11:14:31 +00:00
Brett Leslie Porter 3d073bd7d3 [MNG-2228] put extensions in a child container. This guarantees separation avoiding root classloader pollution that was causing plugins such as the release plugin to fail when using wagon-webdav.
Merged from: r492068, maven-2.0.x branch


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492071 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 07:59:08 +00:00
Jason van Zyl 98487def26 o reactor failure mode is validated elsewhere
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491534 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 05:11:48 +00:00
Jason van Zyl 439ba113d7 o move more configuration to one location
o removing uneeded components from DefaultMaven


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491532 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 04:53:39 +00:00
Jason van Zyl 8120d856c7 o collect all WagonManager configuration in one place
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491531 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 04:45:35 +00:00
Jason van Zyl 774972e7ec MNG-1385 You can now activate a profile using the embedder.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491529 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 04:08:06 +00:00
Jason van Zyl e07b4f0970 o making the baseDirectory properties the same
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491525 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 02:54:23 +00:00
Jason van Zyl 23e2504d23 MNG-2733 When request.setPomFile( file ) is used, takes its basedir for the execution request so that request.getBasedir() doesn't NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491524 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 02:52:56 +00:00
Jason van Zyl cb381ffd76 MNG-2729 use the basedir specified in the execution request, don't use the system property
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491514 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 00:46:11 +00:00
Jason van Zyl 8f4a420c8d MNG-2728 return a MavenExecutionResult from Maven.execute( request )
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491512 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 00:18:12 +00:00
Jason van Zyl cd1c9e7b29 MNG-2721: Determine a standard way to pass proxy information into the embedder
http://jira.codehaus.org/browse/MNG-2721

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491499 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 21:56:33 +00:00
Jason van Zyl 622f014e0d MNG-2724: Create a component in the embedder who's responsibility is to configure an execution request
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491487 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 21:04:13 +00:00
Jason van Zyl 87b3775025 MNG-2722 Create a strategy for providing sane default values in the MavenExecutionRequest
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491468 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 19:20:44 +00:00
Jason van Zyl cc5a658907 o update the deps to the new releases of wagon wheels and plexus
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@486535 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 07:42:00 +00:00
Jason van Zyl 5291a94c9d o change message to reflect the creation of a realm and not a container
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@485932 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 22:57:48 +00:00
Jason van Zyl 9d2bd7b7e3 o making sure the plugin registry is not used, it's turned off in 2.0.4. it causes too many problems.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@485728 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 15:55:03 +00:00
Brett Leslie Porter 7f65892418 [MNG-2681] Add cli flag to set all snapshot repos to updatePolicy = never
Submitted by: Jason Dillon


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483809 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 03:35:45 +00:00
Jason van Zyl 7136b01f88 o merging in my changes from the refactored embedder branch
milos, this has some stuff that we worked on so i've tried to unify everythign in trunk
  now


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483655 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 20:53:33 +00:00
Andrew Williams 7c6052772e we can use stable deps here
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483395 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 09:41:46 +00:00
Andrew Williams 95072582c4 Apologies, not sure how those lines got duplicated on merge
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483308 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 00:27:07 +00:00
Andrew Williams 44ae99fc2d Merge maven.new for latest plexus classworlds and container APIs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@483302 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 00:17:53 +00:00
Brett Leslie Porter 6a36ae3b72 [MNG-2228] make sure build extensions are filtered from being loaded in plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@480377 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 03:40:59 +00:00
Kenney Westerhof 7ae3a1a2b9 PR: MNG-1508; add process-test-classes phase. Merged from rev 470427 @ 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@470432 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 17:26:10 +00:00
John Dennis Casey dbfc2db51b Fixing ID keyword...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@470397 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:49:47 +00:00
John Dennis Casey 5b97ecf776 [MNG-2539] Allowing plugin-level dependencies to be resolved from project repositories in addition to plugin repositories...project repositories have the lower precedence in this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@470392 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 15:37:25 +00:00
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