Commit Graph

5452 Commits

Author SHA1 Message Date
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
Jason van Zyl ed381aec0d 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@493817 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 19:23:21 +00:00
Jason van Zyl d47e7c221c o a little utility using jdom to write out models
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493812 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 19:16:37 +00:00
Jason van Zyl 72e7a4df53 o lining up all the uses of modello and using 1.0-alpha-13 of the modello plugin everywhere
o add the generation of a JDOMWriter for use in the embedder so that working with models doesn't                                    
  completely whack the existing XML, and allow for outputting the namespace declarations                                            
o add a security manager to the embedder which is off by default but will barf if someone                                           
  tries to set system properties. you have to specifically turn this on because it will more then                                   
  likely break tons of code like xerces setting a system property named "version", nice.       



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493811 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 19:13:33 +00:00
Andrew Williams 056e6ec542 make the ant build use the same classworlds as the maven build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493547 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 19:48:00 +00:00
Kenney Westerhof 4be6542867 Update dependency on plexus-container-default to 1.0-alpha-16-SNAPSHOT to fix child
container issues when maven builds use extensions;

Update dependency on plexus-classworlds to 1.0-alpha-7-SNAPSHOT to fix child container
plexus-bootstrap.xml loading problems.

Define p-c-d as a direct dep for maven-embedder; if not, an older version can be used
than is specified in the parent pom (dependencyManagement is not applied to transitive deps,
which is a bug (right?)).

Alter AbstractArtifactTask.java and MavenEmbedder.java to call the proper constructor
in DefaultPlexusContainer.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@493294 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 04:03:24 +00:00
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 ad045aaa88 [MNG-1908] fix regression with LATEST metadata
Merged from: c492153 on maven-2.0.x


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492154 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 14:06:56 +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
Brett Leslie Porter 51c6fefb31 [MNG-2692] fix mvn.bat on windows after classworlds was renamed
Submitted by: Mike Henry


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492063 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 07:17:17 +00:00
Jason van Zyl 318ec6ac0f o looking other IDE integration and cleaning up stub methods that are useless to anyone until they are implemented fully and properly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491536 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 05:29:29 +00:00
Jason van Zyl ae10e790ac o remove old readProjectWithDependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491535 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 05:21:47 +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 54ee18c115 MNG-2724: Create a component in the embedder who's responsibility is to configure an execution request
http://jira.codehaus.org/browse/MNG-2724

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491490 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 21:07:01 +00:00