Benjamin Bentmann
f4fa9e3838
o Refactored model validator to use problem collector
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800451 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 16:20:06 +00:00
Benjamin Bentmann
db0e7f7407
o Fixed URL logging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800117 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:50:29 +00:00
Benjamin Bentmann
a907343a61
o Fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800110 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:21:57 +00:00
Benjamin Bentmann
bc744b544b
o Extended repo system to grab artifacts without resolving them
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800086 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 14:41:04 +00:00
Benjamin Bentmann
287a715954
o Removed authorative flag from repo, resolution just stops when the artifact's resolved flag is true
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799858 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 13:10:20 +00:00
Benjamin Bentmann
82005766ac
o Removed authorative flag from artifact, we can just use the resolved flag to stop the resolution process
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799692 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 18:45:18 +00:00
Benjamin Bentmann
899e37629b
[MNG-4231] Snapshots are not checked for updates
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799592 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 12:49:40 +00:00
Benjamin Bentmann
08bb4081d4
[MNG-4266] Missing method ArtifactUtils.isSnapshot used in the release plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799225 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 10:17:29 +00:00
Jason van Zyl
6f47dab728
o going to work on the security manager on a branch
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798717 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 22:01:48 +00:00
Olivier Lamy
b2a9420e63
remove unused imports.
...
fix license headers.
remove empty class.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797828 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 19:42:15 +00:00
Jason van Zyl
d8ee29d10c
o missed the tests, thanks subclipse
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797695 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 00:16:45 +00:00
Olivier Lamy
5ad174e3d6
[MNG-4247] Displaying which artifacts are downloaded and from which repo
...
Only displaying a simple : [INFO] Downloaded http://x.x.x.x:x/ .......
As there is so much places where ArtifactResolutionRequest is created without any access to mavenExecutionRequest.getTransferListener()
Issue id: MNG-4247
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797678 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:37:39 +00:00
Jason van Zyl
aae5e98767
o limit system scoped resolution from interacting with repositories all together.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797675 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:32:28 +00:00
Jason van Zyl
684eed4a0c
o using the repository system and repositories to mediate proxy use. proxies restored.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796903 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:58:24 +00:00
Benjamin Bentmann
88216c6532
o Re-introduced distinction between user properties and system properties. We have use cases like interpolation and SUREFIRE-121 where we would like to handle user-specified props specially so a single properties soup is not up to the job. However, I opted not to follow the approach from 2.x where we also collect both system properties and user properties in a combined set called execution properties. Code that embeds Maven and programmatically creates an execution request should be not required to assemble such a mixed properties instance, it would enable bad behavior from Maven by subtle API misuse. Also, for things like the lifecycle participant that wants to inject properties, it should be cristal clear whether it injects a user or a system property, the semantics of something like getExecutionProperties().setProperty() would be unclear however.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796900 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:43:05 +00:00
Benjamin Bentmann
a6f68f3ce5
o Tweaked exception message to be more presice with respect to remote repos
...
- First, don't eliminate repos with duplicate ids. Duplicate repos should have been merged up-front, if they weren't this is a bug and should be apparent in the diagnostic output
- Second, be explicit about the case where no repos are defined to distinguish that from the case where the exception creator did not know the repos (==null)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796641 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:31:58 +00:00
Benjamin Bentmann
ddd5c13075
o Generified code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796637 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:21:11 +00:00
Jason van Zyl
c5fb845b6b
o make sure that the plugin repositories are propagated from the builder request and not from the MavenProject
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796420 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 18:02:07 +00:00
Jason van Zyl
1267ef7633
o note about dropping support for legacy repositories
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796329 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 14:55:23 +00:00
Jason van Zyl
4363bdecef
MNG-4245: can't access protected mirrors with latest 3.0-SNAPSHOT (rev 795227)
...
Submitted by: Igor Fedorenko
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795913 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:52:08 +00:00
Benjamin Bentmann
01f7692db0
o Replaced usage of StringBuffer with StringBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795584 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:20:09 +00:00
Benjamin Bentmann
6f6884233d
o Fixed injection of repository layouts
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795086 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 13:55:31 +00:00
Jason van Zyl
2aa1e07e0b
o missing bits
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794821 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 20:05:57 +00:00
Jason van Zyl
3bcaf7ac83
o just making sure the auth bits passed into find their way to be an Authentication object associated with the repository
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794773 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 18:38:16 +00:00
Jason van Zyl
1ceae0f25e
o restoring auth
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794767 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 17:50:29 +00:00
Benjamin Bentmann
433d4bf3b8
[MNG-4239] NoSuchMethodError org.apache.maven.project.inheritance.ModelInheritanceAssembler.assembleModelInheritance(Lorg/apache/maven/model/Model;Lorg/apache/maven/model/Model;)V
...
o Restored legacy API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793910 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 14:38:57 +00:00
Benjamin Bentmann
553fce0f1a
[MNG-4227] DefaultArtifactVersion equals implementation does not handle null
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790712 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 19:08:35 +00:00
Jason van Zyl
f74539ec7f
o restored the WagonManager, the archetype system and the nexus indexer both use this directly. doesn't matter we can now support them forever.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790408 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 22:16:29 +00:00
Benjamin Bentmann
abca2a5252
o Moved model builder classes into dedicated package such that o.a.m.model is reserved for the generated Modello classes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790350 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:04:48 +00:00
Benjamin Bentmann
2b44c968f0
o Extended model validator to support more than two validation levels
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790338 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 19:33:40 +00:00
Benjamin Bentmann
f5f6d6fc47
o Removed duplicate impl that caused non-deterministic component lookups
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790286 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 17:34:37 +00:00
Benjamin Bentmann
c117fb1421
o Dump class path order
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790270 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 17:14:11 +00:00
Benjamin Bentmann
53a2e019ed
o Dumped test name to check execution order
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790249 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 16:21:59 +00:00
Benjamin Bentmann
aa549e89b0
o Printed the error for better test failure analysis
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790239 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 15:58:08 +00:00
Benjamin Bentmann
22516c9fa7
o Extended model validation to support distinction between warnings and errors
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@790131 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 11:56:44 +00:00
Jason van Zyl
fb1c53d6da
MNG-4221: putting the repository and compat modules together while completely hide the legacy implementation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789541 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 03:04:34 +00:00
Jason van Zyl
ee5dd78bd1
MNG-4221: hide the artifact transformation classes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789088 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 11:16:34 +00:00
Jason van Zyl
ba289ad502
MNG-4221: First phase of changing the direction of the dependencies so that maven-compat only points toward the core. The core cannot depend on anything in maven-compat.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789077 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 09:39:49 +00:00
Benjamin Bentmann
2138a248af
[MNG-4215] Review and fix hashCode/equals methods of ArtifactRepository implementations
...
Submitted by: Igor Fedorenko
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788798 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 18:02:19 +00:00
Benjamin Bentmann
e3463be3d1
[MNG-2363] <profile><activation><file><exists/> does not work in a multi-project build
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@788334 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 12:03:55 +00:00
Benjamin Bentmann
1819ca8723
[MNG-4217] trunk create a directory with %20 in name (trunk rev 787409)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787800 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 19:32:05 +00:00
Jason van Zyl
c646df62b4
o moving blacklisting up and out of the repository itself
...
o remove magic policy creation in the artifact implementation, it's already done in the request populator
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787010 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 13:24:04 +00:00
Jason van Zyl
ea5445af38
MNG-4216: Remove all direct usage of DefaultArtifactRepository
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786995 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 11:39:10 +00:00
Benjamin Bentmann
863135a347
o Include the enabled policy in the log output (just saying "can't resolve X from Y when Y actually contains X is rather confusing...)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786909 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 21:20:46 +00:00
Benjamin Bentmann
12fbba751a
[MNG-4041] embedder returns stale maven project state
...
Submitted by: Igor Fedorenko
o Committed additional patch with bugfixes including minor modifications:
- used LinkedHashSet instead of HashSet/TreeSet
- added missing license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786882 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 18:56:26 +00:00
Benjamin Bentmann
30ab54bd7b
o Restored method for compat with maven-dependency-plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786213 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 19:20:50 +00:00
Benjamin Bentmann
05a782b347
[MNG-4199] [regression] Dependency resolution for compile and runtime scope misses provided&system dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784480 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 21:53:18 +00:00
Benjamin Bentmann
e743f23a6a
o Fixed handling of version ranges
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784438 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 17:32:12 +00:00
Olivier Lamy
a1d5dfe7af
remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784307 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 23:01:53 +00:00
Benjamin Bentmann
cdf805d662
o Added toString() to ease debugging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784207 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 17:28:22 +00:00