Commit Graph

318 Commits

Author SHA1 Message Date
Benjamin Bentmann 04b358629c [MNG-3921] Extensions are subject to NPEs in their hashCode() impl
o Merged from r727548

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727561 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 22:45:30 +00:00
Herve Boutemy 48d853ad6e [MNG-3898] use models attribute of modello-maven-plugin instead of model (merged from 2.0.x branch r726548)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726552 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 22:07:08 +00:00
Jason van Zyl c82352832a o updating to 3.0-SNAPSHOT
o aparently when we start from scratch the bootstrap wasn't working, so the maven ant tasks will now igore trying to download the projects we
  are actually trying to build.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@684975 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 23:05:20 +00:00
Vincent Siveton cf03434a59 o merged from r673797 (MNGSITE-55: Write a document about POM code style)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@673799 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 20:55:08 +00:00
John Dennis Casey 3d6b63bc11 [MNG-3642] Adding internal-only unique id 'mergeId' to build resources, to allow back-propagation of changed resource information from plugin executions to the dynamic version of the POM build section. Also, modified the project-builder's dynamism methods (calculate*, restore*) to use mergeId.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@673417 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 15:25:22 +00:00
John Dennis Casey 116105ef35 [MNG-2318] Fixing parent id() method to match format from model id method, so relative-path POMs can be validated for correct info.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672839 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 17:51:21 +00:00
Brett Leslie Porter 134fcbfd3c [MNG-3634] revert portion of this change that caused a backwards compatibility problem
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672693 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 03:17:46 +00:00
Vincent Siveton 6f656edaba o merged r672624 (replaced logical tag to be more consistent)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672625 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 13:57:39 +00:00
Vincent Siveton 7253bd1d29 o merged r672622 (removed unnecessary CDATA in description tags)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672623 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 13:38:36 +00:00
Vincent Siveton 98f892344d o merged r672527 (MNG-3634: Improve the maven model to change the order of the POM elements)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672528 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 14:17:29 +00:00
Vincent Siveton 1a69ff6cbf o merged from r672519 (specified XML encoding UTF-8)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672520 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 13:05:23 +00:00
Vincent Siveton effc5ad73f o merged from r672517 (removed empty comment)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672518 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 13:03:05 +00:00
Vincent Siveton 3e98bddec3 o merged from r672514 (minor comments)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672515 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 12:50:16 +00:00
Vincent Siveton 6a54ebc92f o merged from r638671 (MNG-3469: add Resource.toString() method for debugging. patch from Wayne Fay)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672513 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 12:45:50 +00:00
Vincent Siveton f43ec427f0 o merged from r638669 (MNG-3468: add FileSet.toString() method for debugging. patch from Wayne Fay)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672512 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 12:44:00 +00:00
Vincent Siveton bd379f7e01 o merged from r638668 (MNG-3467: add toString() method for debugging. patch from Wayne Fay)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672510 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 12:40:45 +00:00
Vincent Siveton 64f6e7aa88 o one line for namespace
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672508 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 12:36:25 +00:00
Vincent Siveton a8e8c1991d o merged from r672506 (fixed typo)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672507 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 12:35:33 +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
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
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
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
Milos Kleint 30ea33aefb MEVENIDE-618 synchronize the flushPluginMap and getPluginsAsMap to prevent NPEs in multi thread access.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@643878 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 12:40:13 +00:00
Dennis Lundberg 6e544a5643 o Merge r611419.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611425 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 14:36:33 +00:00
Vincent Siveton 315b258a33 o merged r608896 (MNG-3335: Improvement to "resource" / "targetPath" element in pom.xml)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@608897 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 15:52:20 +00:00
Carlos Sanchez Gonzalez b63e25a47a [MNG-3240] maven-model RepositoryBase.equals() causes ClassCastException
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586533 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 16:52:49 +00:00
Jason van Zyl 3979ed47d3 o removing jdom from the core for the embedder and we will soon have a different tool for writing out POMs, trying to slim
down the core


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586044 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 18:05:59 +00:00
Jason van Zyl 6db368df4e MNG-1849 Fix Extension.hashCode() throwing NPE if groupId or artifactId is null
Submitted by: David Hawkins



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543381 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 03:47:31 +00:00
Vincent Siveton b88762449b merged r541152 from branch (MNG-2461: Write JavaDoc documentation)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541153 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 04:17:41 +00:00
Vincent Siveton cbe352c888 o merged r541141 from branch (reformat before working on MNG-2461)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541142 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 02:44:59 +00:00
Arnaud Heritier 8f3e7a6b15 [maven-scm-plugin] prepare release 3.0.2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@532098 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 21:49:46 +00:00
Arnaud Heritier d8e729fed2 Update doc
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@530932 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 21:50:03 +00:00
Arnaud Heritier 0683008401 Maven-modello-plugin is now bundled in maven
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@530931 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 21:48:26 +00:00
Arnaud Heritier b34bd73955 Workaround for MODELLO-87
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@530929 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 21:47:25 +00:00
Arnaud Heritier 711638217b ~ character doesn't work to represent the user directory. We have to use a variable instead.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@526980 13f79535-47bb-0310-9956-ffa450edef68
2007-04-10 01:05:26 +00:00
Arnaud Heritier 0e4b19259d Use user account directory instead of full path to deploy staging site
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@526975 13f79535-47bb-0310-9956-ffa450edef68
2007-04-10 00:32:56 +00:00
Arnaud Heritier 7ef8e66ff0 revert change. jdiff report can't be used with generated classes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@526625 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 00:53:44 +00:00
Arnaud Heritier 1f17f7123c add jdiff report
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@526624 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 00:06:17 +00:00
Arnaud Heritier 528505a662 Fix site
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@522402 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 02:02:33 +00:00
Arnaud Heritier 96e9f759ca Update m1 build and generates the schema with the good namespace
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@522393 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 00:58:18 +00:00
Arnaud Heritier ea6d67bf0d Add namespace for maven 2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@522392 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 00:57:21 +00:00
Arnaud Heritier dd48e05bb0 use jar:install as default goal.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@521492 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 22:05:00 +00:00
Jason van Zyl 6ebfdbd83e updating license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513030 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:50:48 +00:00
Jason van Zyl e93a9199d3 MNG-2846 Make the output of Model.getId() nicer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@511339 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 20:32:36 +00:00
John Dennis Casey 086c589776 Adding default profile-id's.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@509744 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 20:51:15 +00:00
Vincent Siveton 14a8e1f5a4 MNG-967: maven.mdo, settings.mdo, and generated-sources
Merged from: r498608 (maven-2.0.x)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498611 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 13:30:58 +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
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
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