Commit Graph

6520 Commits

Author SHA1 Message Date
Brett Leslie Porter 5be7ffdd23 moving to 5.0, as it's required at runtime for maven-artifact now anyway
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@669226 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 17:04:33 +00:00
Brett Leslie Porter 3bce57d8c7 license header
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@669225 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 17:00:14 +00:00
Brett Leslie Porter e06cccb23b ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@669223 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 16:59:50 +00:00
Brett Leslie Porter 3acaa63cf8 adjust the embedder tests:
- remove a number of downloads from central that were slowing the build significantly
- ensure the tests will run with a repo manager and no central access
- ensure the tests will run offline if the local repository is populated

The technique for populating the repository is very hacky. We really need the tests to be doing this themselves. Perhaps moving these IT-like tests into the IT section and alongside the core ITs is the way to go - but this is a start.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@669222 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 16:56:56 +00:00
John Dennis Casey 08f3ac7ab4 Upgrade to plexus-interpolation 1.0.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@668296 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 20:44:25 +00:00
Brett Leslie Porter c13526d15a ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@667531 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 13:36:12 +00:00
John Dennis Casey 016cfaca59 Remove explicit version from here.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@667286 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 22:37:01 +00:00
John Dennis Casey 376715986a Adding XMLNS info and license header where needed.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@667262 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 22:08:22 +00:00
John Dennis Casey be00b00c70 Use latest plexus-container-default, to correct a NPE with ant-based mojos.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@667207 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 19:33:26 +00:00
Vincent Siveton db3a5a12d9 o added Maven 2.0.9
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@667053 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 11:52:48 +00:00
Brian E Fox c5de066d3c add schema to settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@661552 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 02:05:59 +00:00
Jason van Zyl ac4c940711 MNG-3598: Allow custom dependency resolution
Submitted by: Igor Fedorenko



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@660244 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 17:33:49 +00:00
John Dennis Casey e26974da98 [MNG-2739] Adding validation logic to DefaultMavenTools and ProjectUtils, to make sure repositories have id and url before constructing an ArtifactRepository instance...this code is used ahead of normal model validation, so it needs to be included here. Also, introducing a new exception to handle the errors when these elements are missing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@659680 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 21:52:24 +00:00
Milos Kleint ca2bb6a32f MNG-3574 - project plugin meta version needs to be replaced with the resolved one.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@659463 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 07:45:41 +00:00
John Dennis Casey e458d85616 Disable the pluginRepository deprecation message until the first release of 2.1 is imminent, to avoid confusion when using IDEs that use 2.1 snapshots (where the CLI still uses 2.0.x).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@659236 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 20:15:52 +00:00
Paul Gier 9dd2e54583 Improve description of activeByDefault.
Issue id: MNG-2609


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@657078 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 14:27:12 +00:00
Paul Gier 9f84e95bab Allow use of ! to deactivate a profile. Remove use of E: and D: for enabling and disabling.
Issue id: MNG-3571


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@656846 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 21:21:31 +00:00
Paul Gier 07a035b146 Profiles should be activated if any of the activators return true.
Issue id: MNG-3106


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@656827 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 20:42:27 +00:00
Paul Gier e4602cb85a Fix for profile deactivation.
Submitted By: David Bernhard
Issue id: MNG-3545


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@656405 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 20:22:22 +00:00
John Dennis Casey e28b62cbe7 Allow multiple -P options, and fix explicit en/disable notations of E:/+ for enable, D:/- for disable.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@654207 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 18:44:18 +00:00
John Dennis Casey 89f6e8e60e Fixing xpp3 imports for plugin realms.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@654198 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 18:08:15 +00:00
Brett Leslie Porter e84395ecb3 remove property that shouldn't be needed - it was causing ${maven.repo.local} to be created locally as a directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@654116 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 14:13:53 +00:00
Brian E Fox 1c50dc0d0d clean up the poms and move versions to dependencyManagement
Issue id: c


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@653481 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 13:46:40 +00:00
Paul Gier 1245ac784e Add support for multiple -P params on the command line.
Issue id: MNG-3268


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@652912 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 21:04:22 +00:00
Carlos Sanchez Gonzalez 706890fd2b Remove component that no longer exists
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@652730 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 02:02:39 +00:00
John Dennis Casey 6d897f9312 Cleaning up artifact ordering for extensions and plugins in teh realm manager by switching to List for artifact collections, instead of allowing unordered Collection instances.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@651081 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 21:50:49 +00:00
John Dennis Casey 0c2243d407 Adding system/execution property maven.mode.standalone that will reflect whether maven started via MavenCli or not.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@651080 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 21:49:49 +00:00
Milos Kleint 12a125bcad report plugin map flushing shall be synchronized to prevent NPEs in multithreaded envs.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@650807 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 09:28:58 +00:00
John Dennis Casey 5900250b45 Cleaning up the error message formatting some more.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@650601 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 18:05:10 +00:00
John Dennis Casey 1cb3190b0f Make the error message construction a little more resilient to errors in classloading.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@650543 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 15:11:19 +00:00
Milos Kleint 02367233e1 getKey() is used many-many-many times when loading projects. it's ineffective to construct the key each time.
Ideally the cached key would get reste when groupId or artifactId gets set, I didn't figure how to do it in modello though..

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@650427 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 09:27:45 +00:00
Herve Boutemy 007fe63a03 added site descriptors to provide modules/parent links (merged from 2.0.x branch r649903)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@649913 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 11:37:31 +00:00
Jason van Zyl 3b938d2dc2 use java 1.5
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@649869 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 01:11:14 +00:00
Jason van Zyl 9185af5752 o updating to use latest snapshot of plexus which uses XBR. i'll update again when xbr does a release in a couple days.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@649863 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 23:37:32 +00:00
John Dennis Casey 36092a009d Adding ProjectBuilderConfiguration method for buildProjectWithDependencies, then switch the embedder.readProject* to use the ProjectBuilderConfiguration-enabled methods.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@649629 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 18:00:27 +00:00
John Dennis Casey 3f68f32abf Switch to using maven-distribution instead of maven-embedder, and stop using project.version references in the plugin configs, where the timestamp/buildnumber may be different between core-it-runner and -distribution.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@649590 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 16:25:59 +00:00
Jason van Zyl 5018136c1a o updating the pom and build file for the addition of the distribution module
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648512 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 04:58:47 +00:00
Jason van Zyl db643afb25 o removing the distribution assembly from the embedder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648511 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 04:57:44 +00:00
Jason van Zyl 3fbea1aad5 o creating a separate module for the distribution like there is in the 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648510 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 04:57:15 +00:00
Jason van Zyl c224eeefb2 o put the embedder documentation in the normal site
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648507 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 04:36:21 +00:00
Jason van Zyl cc68735fcc o we don't need the scripts as everyone is using the same embedder now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648481 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 01:19:28 +00:00
Jason van Zyl 18e797c7d0 o turn off the debugging output, shave off a minute from the build, you can tell what's wrong from the test reports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648479 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 01:03:33 +00:00
Jason van Zyl 71dea0bbbd o use the default local repository, i'll add a super clean mode later. i want speed right now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648476 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 00:49:10 +00:00
Jason van Zyl 4c0d0199f5 o if you have m2_home it does not to be named after the version
o works with a symlinked m2_home



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648474 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 00:41:00 +00:00
Jason van Zyl 8aa6300529 o version is now stated in the parent POM
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648294 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 15:55:34 +00:00
Jason van Zyl 1c676ed4bb o add the ant tasks to the directory structure for now for the bootstrap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648289 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 15:42:05 +00:00
Jason van Zyl a5865e985c o merging in work from xbr branch for the ant task based build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648287 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 15:41:13 +00:00
John Dennis Casey d51e3b5e7a Adding tests for the plugin-parameter expression evaluator, and some better behavior around MojoExecution and PluginDescriptor instances. Also, bumping plexus-container-default to -alpha-45-SNAPSHOT to take advantage of a new MapConverter fix.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@648053 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 23:22:10 +00:00
Vincent Siveton 3c05ebda15 o merged from r647732 (MNG-3520: Korean message resource)
Issue id: o m


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@647733 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 11:12:38 +00:00
Herve Boutemy 19b26ee657 [MNG-3509] added default locale and platform encoding to "mvn -v" output
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@647626 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 21:04:55 +00:00