Commit Graph

35 Commits

Author SHA1 Message Date
Christian Schulte b23116d626 [MNG-6114] Elements from the global settings should be ordered before elements from the user settings
This closes #142 and closes #418
2021-02-28 19:40:48 +01:00
Michael Osipov ceb08cfa77 Test for empty locations and avoid printing them 2021-01-30 23:04:46 +01:00
Guillaume Nodet bb916d0784 [MNG-7035] Migrate unit tests to Unit 5
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-01-15 15:07:06 +01:00
Michael Osipov 673a7d1fef Trim trailing whitespace 2020-12-24 19:09:10 +01:00
Sylwester Lachiewicz b4725dbe06 Fix maven-checkstyle-plugin 3.1.1 reported error
- with maven-shared-resources v3
2020-06-11 20:53:36 +02:00
Artem Krosheninnikov ddb454ac83 [MNG-6831] Replace Anonymous classes by lambdas
Closes #303
2020-01-25 22:52:20 +01:00
Artem Krosheninnikov 39492281b2 [MNG-6847] Explicit type can be replaced by the diamond operator
This closes #315
2020-01-13 20:57:35 +01:00
Joseph Walton c5ede2fef8 [MNG-6680] Convert Maven Settings Builder to JSR 330
Use @Named and @Singleton throughout, and switch to constructor injection
for DefaultSettingsBuilder.

This closes #246
2019-06-15 20:35:50 +02:00
rfscholte 72dca39807 Replace org.apache.commons.lang3.Validate#notNull with java.util.Objects#requireNonNull 2018-07-15 10:36:08 +02:00
Hervé Boutemy 0dc70cc691 upgrade m-site-p to 3.7 + Fluido 1.7 + edit button 2018-02-10 11:42:33 +01:00
Hervé Boutemy cf7b0a3ec0 fixed new issues reported by Checkstyle 6.18 2018-02-10 11:42:33 +01:00
Christian Schulte 0931bb2cc7 [MNG-6168] Fix unclosed streams 2017-03-24 22:04:37 +01:00
Alex Henrie 8d91726f78 [MNG-5934] String handling issues identified by PMD 2017-02-11 14:08:24 +01:00
Guillaume Boué 5b4b8bd94c [MNG-6105] properties.internal.SystemProperties.addSystemProperties() is not really thread-safe
Refactoring the current code setting system properties to synchronize correctly on the given ones: avoids ConcurrentModificationException and NullPointerException if the properties is modified by another thread.
2017-01-28 14:07:59 +01:00
Michael Osipov 618e62dd33 [MNG-5649] Use Commons Lang's Validate to intercept invalid input
Use wherever possible Validate with consistent messages and exceptions.
2015-10-16 17:32:57 +02:00
Kristian Rosenvold cfd1fbe613 More java7. Bye bye 2006 2015-06-20 15:21:10 +02:00
Kristian Rosenvold 7badeb5b5b Upgraded to java7 language features 2015-06-20 10:56:07 +02:00
Hervé Boutemy 6a011bbc01 fixed error reported by Checkstyle 2015-04-04 22:57:40 +02:00
Robert Scholte 874eaef725 [MNG-5794] Warn about Proxies with duplicate id, but different protocols
Patch contributed by Thomas Meyer, verified by Robert Scholte
2015-04-04 14:00:59 +02:00
Robert Scholte 05686a8260 Add missing @Override annotations 2015-01-10 18:00:57 +01:00
Robert Scholte 207ccc9529 Replace usage of deprecated classes with their alternatives from maven-builder-support 2014-12-23 17:21:07 +01:00
Robert Scholte a7ef70181c [MNG-5740]: Add module maven-builder-support
Move Source-code to maven-builder-support and let original classes extend these
2014-12-23 14:09:01 +01:00
Michael Osipov 0343c52601 Trimmed trailing whitespace 2014-11-23 13:04:30 +01:00
Hervé Boutemy ca2b26ac5d fix a lot of checkstyle violations for future m-checkstyle-p 2.13, as
proof of concept for misc violations suppressions strategies
2014-08-19 00:17:28 +02:00
Igor Fedorenko 8980f67b9b MNG-5670 guard against ConcurrentModificationException iterating over System properties
Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
2014-07-30 07:57:53 +04:00
Arnaud Héritier 87a5532eb9 Code cleanup - Remove useless semi-colons 2013-06-11 22:04:29 +02:00
Benjamin Bentmann 51ec875d17 [MNG-5159] Extend validation of settings.xml to check for uniqueness of id elements
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1159534 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 08:10:58 +00:00
Herve Boutemy 799d63bf87 [MNG-5119] added Javadocs and JXR links in left menu for every module to give easy access to code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1137154 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 10:00:46 +00:00
Benjamin Bentmann 0a376bb684 [MNG-4950] Javadoc improvements to DefaultSettingsWriter/Reader
Submitted by: Anders Hammar

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1051868 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 12:09:58 +00:00
Benjamin Bentmann 545fa2b101 o Introduced SettingsSource to enable non-file based content providers
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1029127 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 17:31:59 +00:00
Benjamin Bentmann 33a81408e1 o Fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@983198 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 10:29:09 +00:00
Benjamin Bentmann d7ae6ad6c1 o Removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@965982 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 20:12:30 +00:00
Benjamin Bentmann 85ef559859 [MNG-4717] Repository Ids containing ":" will lead to checksum errors on Windows machines
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@965233 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 14:23:06 +00:00
Benjamin Bentmann 89f49926af o Allowed manual creation of settings builder for reuse in non-ioc envs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@964738 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 10:35:18 +00:00
Benjamin Bentmann c6aab7be9f o Moved settings building into separate module
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@964730 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 09:59:13 +00:00