Commit Graph

9271 Commits

Author SHA1 Message Date
Herve Boutemy d2fc288271 added readArtifactDescriptor() API test
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1408144 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 23:18:04 +00:00
Herve Boutemy fa27ad5434 prepared unit tests to write
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407933 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 09:58:41 +00:00
Herve Boutemy 1a6a6bd2e3 removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407920 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 05:33:06 +00:00
Jason van Zyl d698618204 MNG-5374: Fix transfer listener after the JSR330 merge
For the following cases I have done the following:

1) Logging to the console: I simply restored the class that was there such that when logging to the console it uses System.out as it did and the d
ownload progress appears as it did.

2) Logging in batch mode: the batch mode transfer listener uses an SLF4J logger and the batch mode transfer listener doesn't report download progr
ess so there is no issue. Download progress would just create a bunch of noise. The size and the speed at which it is downloaded are logged.

3) Logging to a file: same as 2) except it's all diverted to the specified file.

4) I created two protected methods in MavenCli so that integrators can supply their own console and batch transfer listeners if they wish.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407913 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 04:40:00 +00:00
Herve Boutemy ed3893b188 o upgraded MPIR to 2.6
o added Markdown support to m-site-p (waiting for next m-site-p version which will include it by default)

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407910 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 04:22:44 +00:00
Herve Boutemy 57976a8b1a added javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407894 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 22:16:09 +00:00
Herve Boutemy a8a59d6e13 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407893 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 22:15:18 +00:00
Herve Boutemy 994a27d004 removed code duplication: maven-core can use base MavenRepositorySystemSession provided by maven-aether-provider as a basis before adding environment configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407851 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 17:14:21 +00:00
Herve Boutemy 13bb4ba1be removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407835 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 15:26:34 +00:00
Herve Boutemy 09750f1a78 generics
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407834 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 15:25:30 +00:00
Herve Boutemy 3cbed6a1ca [MNG-5372] removed RepositoryCache, added in 3.0-alpha-3 and deprecated in 3.0-beta-3 with Aether integration (r988749)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407827 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 15:04:20 +00:00
Herve Boutemy 6c032edddb |MNG-5370] moved plugin bindings to default lifecycle configuration to default-bindings.xml to let only artifact handlers configuration in artifact-handlers.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407821 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 14:21:58 +00:00
Herve Boutemy 3bab630d58 little explanation improvement
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1407757 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 11:04:38 +00:00
Herve Boutemy 4ee13a8a0a added link to profile activators
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1403795 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:32:35 +00:00
Herve Boutemy 970035aba4 improved javadoc: added link to model used
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1403794 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:30:02 +00:00
Herve Boutemy 0cb1d89974 removed unused import
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1403793 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:25:42 +00:00
Herve Boutemy 622b08ef6a code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1403786 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:20:14 +00:00
Herve Boutemy 0312cb0ff8 code formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1403658 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 10:47:30 +00:00
Herve Boutemy e32cf81b6c added resolveArtifact() API tests
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1403192 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 08:26:24 +00:00
Herve Boutemy 8b8279cc7e extracted common code into AbstractRepositoryTestCase
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402969 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 10:57:40 +00:00
Herve Boutemy 374c34250e fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402898 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 21:59:10 +00:00
Herve Boutemy 127884c456 added comments
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402814 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 15:56:50 +00:00
Herve Boutemy d84a1989a8 improved description for the 3 different use-cases: un-versioned artifact, snapshot artifact and group containing Maven plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402812 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 15:53:03 +00:00
Herve Boutemy 033517664b improved documentation: metadata is available for snapshot artifacts too
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402807 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 15:23:10 +00:00
Herve Boutemy befb216845 added more information about metadata files: group vs artifact, remote vs local repository
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402806 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 15:11:06 +00:00
Herve Boutemy 57c8d8570f added dependency with classifier test
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402786 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 12:20:37 +00:00
Herve Boutemy 4758085459 ordering
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402784 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 11:54:00 +00:00
Herve Boutemy 4247e65d61 improved type and classifier descriptions
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402783 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 11:49:36 +00:00
Herve Boutemy 98944027a5 removed unused @SuppresWarnings
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402781 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 11:24:12 +00:00
Herve Boutemy 9a2b77d8be fixed warnings
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402780 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 11:15:58 +00:00
Herve Boutemy 390122c170 restore Java 5 API compatibility
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402776 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 10:19:32 +00:00
Robert Scholte 40d10ec9e4 [MNG-5365] Replace Aether's deprecated ConfigurationProperties with ConfigUtils
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402701 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 22:14:17 +00:00
Robert Scholte 316bd0a055 [MNG-5324] Incorrect parsing of metadata by Maven: Cannot find snapshot artifact with older timestamp
Added junit-test, can't reproduce it yet.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402675 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 21:40:51 +00:00
Herve Boutemy b5539a8eee fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402612 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 18:30:39 +00:00
Barrie Treloar 0dca478eb8 [MNG-5162] Maven stuck on downloading dependencies when using java 7.
A ConnectException references https://cwiki.apache.org/confluence/display/MAVEN/ConnectException

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1401982 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 05:42:39 +00:00
Herve Boutemy 44458073ad check as much attributes as possible
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1401907 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 22:39:12 +00:00
Herve Boutemy 5f92449d5d first step at component unit-tests
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1400523 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 21:44:11 +00:00
Herve Boutemy 9f28c88bc9 improved message
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1400382 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 07:37:40 +00:00
Herve Boutemy 23097a37a0 [MNG-5350] improved warning message: when in debug mode, list the goals and not only the plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1398044 13f79535-47bb-0310-9956-ffa450edef68
2012-10-14 09:46:54 +00:00
Herve Boutemy 6926782cca added test: 1.0-SNAPSHOT is not in [1.0,)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1397916 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 17:46:12 +00:00
Jason van Zyl 78a18e907d o update to slf4j 1.7.2 which allows the customization of the WARN level label. in the case of maven we vary slightly from all the standard logging implementations in that we use the string WARNING instead of WARN. once this change is made all the ITs pass again as all the failures were the result of string searches anchored on WARNING.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1397289 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 20:26:24 +00:00
Jason van Zyl 25669cfe13 o cleanup from git svn merge problem i created
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1396844 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 22:52:29 +00:00
Jason van Zyl d2a9a88c9e Explicitly set Sisu container logging to 'info' so it doesn't appear during Maven debug (-X) logging. To re-enable, remove this line from conf/logging/simplelogger.properties in the distribution.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1396843 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 22:48:14 +00:00
Jason van Zyl a23f7cfd10 o Use SLF4J for logging
Conflicts:

	pom.xml

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1396842 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 22:48:08 +00:00
Jason van Zyl 22df629f97 o cleanup after merge
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1396668 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 16:19:12 +00:00
Herve Boutemy 9c54c7a660 renamed method to match the output format: html, not apt
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1395807 13f79535-47bb-0310-9956-ffa450edef68
2012-10-08 23:10:18 +00:00
Herve Boutemy 49d8d172d9 next version will be 3.1 (Jira updated accordingly: 3.1 renamed to 3.2)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1395257 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 09:14:21 +00:00
Herve Boutemy a07abada2b added an introduction to Artifact API
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1391847 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 17:38:50 +00:00
Herve Boutemy 4e0b4e0f22 added an introduction with links to the 2 main components
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1391846 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 17:30:48 +00:00
Herve Boutemy d2396449f4 introduction to plugins composed of goals implemented by Mojos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1391845 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 17:25:30 +00:00