Commit Graph

5625 Commits

Author SHA1 Message Date
John Dennis Casey 4ca4301f1d Adding line to enable log-level control from the MavenExecutionRequest.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498030 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 01:00:32 +00:00
John Dennis Casey dee7f572c1 Adding support for pre-scanning POMs for build extensions. NOTE: Plugins-as-extensions is not yet supported in this way.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497993 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 22:55:19 +00:00
John Dennis Casey dfc4a10c68 Adding the notion of a build-context, and several build-context classes that can be used: ProjectBuildContext, which contains lineage and current-project info, ExecutionBuildContext, which contains the information in the original MavenExecutionRequest, and SystemBuildContext, which contains things like System properties...these use the BuildContextManager to store and retrieve their info from the core container's Context object.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497911 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 19:15:18 +00:00
Kenney Westerhof 6c2268f0bd Only filter core artifacts from plugins, not extension artifacts, as they may break the plugin by bringing in incompatible API artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497888 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 17:56:16 +00:00
Kenney Westerhof c98ee0a930 Cleanup and doco
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497881 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 17:21:02 +00:00
Kenney Westerhof 11a88e90f5 remove the 'unused' var for plugin artifact resolution. When they're resolved, all core artifacts are already removed from the resolutiongroups' result. Why add them back again later?
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497838 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 15:08:08 +00:00
Kenney Westerhof 753ccae2af Remove unused import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497836 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 15:02:21 +00:00
Kenney Westerhof b7ae6feb1c Enable all tests again
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497810 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 13:43:11 +00:00
John Dennis Casey 5bd4c1927c partially fixing problem with plugin-dependency loading...now, we're including maven-plugin-api in the plugin realm somehow, which means the standard artifact filter isn't working.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497696 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 03:12:44 +00:00
John Dennis Casey 5a2439e750 Moving extensions back to the core classrealm, and adding a dynamic artifact filter to keep MNG-2228 from reappearing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497671 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 01:09:28 +00:00
John Dennis Casey 87226eab2e Stop re-applying profiles to models that have already had profiles applied.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497556 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 20:07:23 +00:00
John Dennis Casey 3e3b0fd239 Fixing caching of Model files, in case it's brought in via reactor and the current relativePath of a parent is wrong...it can still be found, as required by IT0103.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497554 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 19:58:42 +00:00
Kenney Westerhof 2faffb229f Fix resolving <plugin><dependencies>: it0081
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497533 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 18:49:58 +00:00
Kenney Westerhof 18b83fe00a Use plugin realm to lookup plugin components - fixes custom lifecycle mappings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497491 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 16:33:34 +00:00
Kenney Westerhof c783818ab2 Set the proper default lookup realm for mojo execution - they may lookup components when executing too
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497307 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 05:28:02 +00:00
Kenney Westerhof 8e7dc9ef14 Realm fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497305 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 05:22:08 +00:00
Kenney Westerhof 45b87aa936 Remove unused and unavailable imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497304 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 05:21:49 +00:00
Jason van Zyl 4a69a9501c git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497257 13f79535-47bb-0310-9956-ffa450edef68 2007-01-17 23:56:41 +00:00
Jason van Zyl 1b2414353f o turn the test on for a final run but we don't need the assembly again
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497198 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 22:04:01 +00:00
Brett Leslie Porter 7985a25ef6 [MNG-2097] add prepare-package phase
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497197 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 22:00:46 +00:00
Jason van Zyl 3989426df8 o run the tests and make the default run-full-maven
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497196 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 21:56:45 +00:00
Jason van Zyl e2e634d16c git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497176 13f79535-47bb-0310-9956-ffa450edef68 2007-01-17 21:19:32 +00:00
Jason van Zyl 14272fda01 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@497175 13f79535-47bb-0310-9956-ffa450edef68 2007-01-17 21:18:17 +00:00
Brett Leslie Porter 72f6f6d29e [MNG-2780] snapshots are not updated based on metadata deployed with uniqueVersion = false
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496972 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 09:17:30 +00:00
John Dennis Casey c7738df560 Splitting model-lineage loading and profile-application out into separate components...profile-application, so the model-lineage builder can run properly, and the model-lineage builder, so we can pre-scan for models with extensions that may contain things like profile activators, which would be used during project-loading.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496910 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 01:36:07 +00:00
Kenney Westerhof b61fba1d5f Implemented embedder extensions. You can register a set of URLs that
are scanned for components, after the container is started, that
will override any core components defined.

o Updated (Default)MavenEmbedRequest with a getter/setter for the extension list;

o Updated the MavenEmbedder to scan the extensions.

o Added testcase: dummy component implementation and components.xml to specify
  the override. 
  
o Also added pom.properties since running unit tests in an IDE
  will fail because the pom.properties is generated only inside the archive,
  and with project references inside the IDE that resource is not available.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496904 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 00:46:49 +00:00
Carlos Sanchez Gonzalez 6b39882779 m2.bat no longer exists
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496588 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 05:04:25 +00:00
Jason van Zyl 09f3b3fbba git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496493 13f79535-47bb-0310-9956-ffa450edef68 2007-01-15 21:10:57 +00:00
John Dennis Casey 4e51a3d185 Fixing NPE's related to a reactor manager that doesn't exist (in the case of a build error, f.e.).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496406 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 17:03:48 +00:00
John Dennis Casey 01b08e86d1 Adding showErrors to the tests, so we can see problems that come up.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496399 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 16:44:56 +00:00
Jason van Zyl 812e887a07 o little example of using the source plugin to create aggregate source jars and having the source jars be installed with normal install/deploy
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496200 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 01:30:57 +00:00
Dennis Lundberg f2201fc1be o Fix typos in descriptions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496152 13f79535-47bb-0310-9956-ffa450edef68
2007-01-14 21:10:03 +00:00
Jason van Zyl 7f5c377cfb o i've modified the source plugin to make a aggregrated source jar
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496009 13f79535-47bb-0310-9956-ffa450edef68
2007-01-14 00:41:22 +00:00
Jason van Zyl 313307f5cd o updating notices
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495718 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 20:19:19 +00:00
Jason van Zyl 4e42694618 o remove the old scripts
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495702 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 19:36:37 +00:00
Jason van Zyl e3280af112 o fix license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495699 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 19:33:59 +00:00
John Dennis Casey 1094c6ba6c Adding codehaus repository element to all plexus libs, in case they go to a snapshot version...then, it'll use the snapshots.repository.codehaus.org properly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495670 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 18:09:03 +00:00
Jason van Zyl 9bb807d3f7 o make sure the assembly gets attached as part of the normal process
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495608 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 15:34:07 +00:00
Jason van Zyl 6d9caff89f o check to make sure that system scoped artifacts are not null before checking if they exist.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495103 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 03:41:08 +00:00
Jason van Zyl 990f9a55c9 o update bundle
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495102 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 03:39:55 +00:00
Jason van Zyl 26e8fb2081 o add method so that the artifact handler can be looked up, useful in IDEs where we want to look up whether a particular artifact should be added to the classpath.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495101 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 03:39:22 +00:00
Brett Leslie Porter c416a33a4c [MNG-2745,MNG-2753] more completely remove env vars - no point in populating them if they are never used
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@494710 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 04:40:39 +00:00
Brett Leslie Porter 028a4464de run the unit tests in the bootstrap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@494705 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 04:32:55 +00:00
Brett Leslie Porter bd608ed4cf remove env var tests since the handling was removed. Note that the functionality needs to be re-enabled via the CLI: see MNG-2753
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@494704 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 04:32:43 +00:00
Arnaud Heritier 9c95a9e5b5 Forgot to add the repository to find modello snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@494686 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 02:08:07 +00:00
Arnaud Heritier 502703ae99 Update M1 build :
- Use the latest snapshot of modello-plugin
- Update the documentation which will be deployed here : http://maven.apache.org/maven-1.x/reference/maven-model/${pom.currentVersion}/

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@494673 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 00:59:34 +00:00
Fabrizio Giustina bf7d7a01a0 MNG-2746 fixing an obvious NPE when parent path is a directory and pom is not found. Also reported in MNGECLIPSE-184 and CONTINUUM-1000
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@494085 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 15:01:21 +00:00
Brett Leslie Porter bb6b84a02a add codehaus snapshot repository for plexus snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493960 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 05:54:13 +00:00
Jason van Zyl 241652c45f o clean up distribution management
o going to just use my manifest with filtering, the assembly plugin doesn't work and neither does the 
  the felix plugin. they just crap out or don't work. this works and does the job just fine



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493929 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 03:41:56 +00:00
Jason van Zyl a966656f38 o Code from netbeans integration that will write out changes to a model and preserve the existing structure for the most part.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493824 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 19:53:06 +00:00