9331 Commits

Author SHA1 Message Date
olivier lamy
af70de4b96 fix scm informations 2012-12-01 12:24:39 +01:00
Kristian Rosenvold
86004d6022 o Classworlds 2.4.2 2012-12-01 11:16:17 +01:00
Kristian Rosenvold
1a1fe6d508 o Made lower bound of executor threads 0 for artifact resolver
Ideally I think we should just get rid of the whole executor and use new Thread() instead,
which would mean we'd need some way of constraining thread counts.

Freeing the threads mean they also release the classloader
2012-12-01 10:56:53 +01:00
Hervé Boutemy
1062524b39 [MNG-5396] changed logger name for execution events and batch transfer
(was MavenCli)

this shows some logging patterns we should discuss about and document
our conventions
2012-12-01 09:35:12 +01:00
Hervé Boutemy
aebb647020 removed unused import 2012-12-01 09:14:57 +01:00
Hervé Boutemy
2eea7d9dfc Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/maven.git 2012-12-01 04:29:40 +01:00
Hervé Boutemy
fee1640d65 [MNG-5395] don't inject DefaultMavenPluginManager's logger into Mojos
but create a dedicated logger with Mojo implementation name
2012-12-01 04:27:23 +01:00
Jason van Zyl
a4c34bfa3f - fix typo 2012-11-30 15:13:07 -08:00
Jason van Zyl
d5e5717dd7 [MNG-5390] mvn -rf (no argument) results in NPE
Created a simple primordial logger that implements the error methods required between CLI parsing and logger initialization. I don't want to have to look to see if the logger is null.
2012-11-30 15:12:03 -08:00
Hervé Boutemy
4c8b3009d1 removed non-aggregate reportSets which duplicate default ones (then
cause twice plugin invocation)
2012-11-30 19:56:20 +01:00
Kristian Rosenvold
a278bec9d3 o Fixed another super-subtle classloader leak 2012-11-30 11:46:23 +01:00
Kristian Rosenvold
9712df3ded o Fixed another classloader leak where core was grabbing random elements in plugin classloaders 2012-11-30 08:56:19 +01:00
Kristian Rosenvold
2103c82d57 o Changed array to atomicreference since arrays are not thread-safe 2012-11-30 07:33:31 +01:00
Kristian Rosenvold
e8df4ca993 o Restored old context classloader so the threads dont go running around with classloaders that should unload 2012-11-30 07:33:28 +01:00
Jason van Zyl
620137ebca MNG-5386: Dispose of ClassRealms after invocation to prevent out of Permgen errors (update to classworlds 2.4.1) 2012-11-29 21:51:11 -08:00
Jason van Zyl
af88f8500d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/maven 2012-11-29 15:08:30 -08:00
olivier lamy
1fe432b5de revert test push 2012-11-30 00:07:27 +01:00
olivier lamy
a3047b3629 test push 2012-11-30 00:07:15 +01:00
Jason van Zyl
97e8ae2737 - wind this back to version 2.2 2012-11-29 08:47:44 -08:00
Jason van Zyl
fcffe3c9d5 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413481 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 05:07:28 +00:00
Jason van Zyl
29c9b29f68 [maven-release-plugin] prepare release maven-3.1.0
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413479 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 05:07:15 +00:00
Jason van Zyl
527cee25ef - Look for older setups as well, thanks to @mcculls for spotting this
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413474 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 03:50:32 +00:00
Herve Boutemy
567cd13787 fixed typos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413425 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 21:23:34 +00:00
Herve Boutemy
614e7bd173 separate SLF4J export from JSR-330
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413416 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 21:02:47 +00:00
Jason van Zyl
a284ef279c - keep git init script out of the source distribution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413393 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 19:23:04 +00:00
Jason van Zyl
d3756b95cc MNG-5381: Restore MavenSession.getRepositoryCache() for Tycho users so they are not forced to upgrade to 3.1
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413391 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 19:09:44 +00:00
Jason van Zyl
b5f1798f2d - revert the release as we're missing MNG-5381
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413389 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 19:07:27 +00:00
Jason van Zyl
84b15b971b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413381 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 17:59:53 +00:00
Jason van Zyl
7815ab87ad [maven-release-plugin] prepare release maven-3.1.0
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413379 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 17:59:36 +00:00
Jason van Zyl
becf420bfa - export JAVA_HOME if it is not set or it commands, like javadoc, that expect it don't work very well
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413378 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 17:50:48 +00:00
Herve Boutemy
9009b8f858 fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413335 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 11:04:16 +00:00
Herve Boutemy
8a0d8ecb12 code format
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413323 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 10:48:50 +00:00
Jason van Zyl
451c43152b cleanup of the class realm purging
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413287 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 03:12:49 +00:00
Benson Margulies
1d4d1df865 MNG-5387: Add ability to replace an artifact in mid-build
o change MavenProject#addArtifact to use the *last* version of a given artifact passed to it instead of the first.
o add comments.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413286 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 02:26:42 +00:00
Olivier Lamy
8ca2e32a0c add init-git-svn.sh script: how to setup your clone to be able to use git svn
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413275 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 22:01:41 +00:00
Jason van Zyl
63fd9ed4d8 MNG-5376: Account for changes between the Apple and Oracle JDKs on OSX
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413208 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 17:22:54 +00:00
Jason van Zyl
f45e5f1084 wagon 2.3 will be in central shortly, remove from the POM for the release
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413074 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 21:41:40 +00:00
Herve Boutemy
a71baa4579 added notes about logger name, with Plexus Logger API that cannot follow logger name as class name convention :(
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1412766 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 07:45:43 +00:00
Herve Boutemy
c4703d2437 added info about direct SLF4J use
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1412765 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 07:17:37 +00:00
Jason van Zyl
325972aed0 MNG-5376: Account for changes between the Apple and Oracle JDKs on OSX
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1412409 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 02:24:16 +00:00
Herve Boutemy
4e52800a1b [MNG-5380] check that whitespace can be preserved in Maven plugin configuration when building MavenProject (still need to check if content is not trimmed when injected into plugin)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1412310 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 21:36:19 +00:00
Herve Boutemy
ca584199a5 removed stdout output
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1412263 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 20:00:50 +00:00
Herve Boutemy
6417401054 [MNG-5380] check that whitespace can be preserved in Maven plugin configuration when reading pom (still need to check if content is not trimmed when injected into plugin)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1412261 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 19:59:14 +00:00
Jason van Zyl
0098ceb9fc use staging repository in the POM to test Wagon 2.3, this is wrong but until the Jenkins/Nexus setup is figured out this will keep the build working
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1411752 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 17:20:20 +00:00
Jason van Zyl
1e41eff172 update to Wagon 2.3 through the staging repo so we can validate 2.3 is good with master
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1411743 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 16:58:42 +00:00
Herve Boutemy
731fa826e5 [MNG-5380] [MNG-5336] use Modello 1.6, which adds xml:space="preserve" support for DOM and fixes xdoc propoerties output
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1411559 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 06:30:12 +00:00
Herve Boutemy
21c2429519 added link to plexus-container-default javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1411369 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 19:50:04 +00:00
Herve Boutemy
d707fa5b81 plexus-utils 3.0.9 released
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1411083 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 06:58:42 +00:00
Herve Boutemy
7def319030 [MNG-5380] preserve whitespace in Maven plugin configuration when elemnt has xml:space="preserve"
partial fix, Modello 1.6 is required but I can't deploy it

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1410886 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 13:29:18 +00:00
Herve Boutemy
aac56f0f97 require Velocity filtering
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1410883 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 12:59:14 +00:00