Joseph Walton
c0b291ef29
[MNG-5577] Don't use LegacyRepositoryLayout in tests.
...
This class was deleted, but retained in tests. We don't need
it anymore, so drop it.
2020-06-21 11:16:29 +02:00
Joseph Walton
0f519b4af4
[MNG-5577] Simplify tests to reduce use of wiring.
...
- Reduce the use of wiring in unit tests
- Enable class scanning for tests that require it.
- Remove test and wiring that's not used.
2020-06-21 11:16:28 +02:00
Sylwester Lachiewicz
ace32fdbe0
[MNG-6855] Simplify code - computeIfAbsent()
2020-01-26 11:13:09 +01:00
Rostislav Krasny
1697e7a06b
[MNG-6855] Simplify code
...
- use Integer/Long.compare()
- use List.removeIf()
- remove unused imports
- redundant .toString()
Closes #319
2020-01-26 11:12:53 +01:00
Artem Krosheninnikov
ddb454ac83
[MNG-6831] Replace Anonymous classes by lambdas
...
Closes #303
2020-01-25 22:52:20 +01:00
Rostislav Krasny
ce35eff448
[MNG-6853] - Don't box primitives where it's not needed
...
Closes #318
2020-01-25 20:13:27 +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
Rostislav Krasny
f620bb714d
[MNG-6844] Remove outdated TODOs
...
Relates to the 735b72fcf1
commit.
2020-01-10 10:22:54 +01:00
Artem Krosheninnikov
735b72fcf1
[MNG-6844] Use StandardCharsets and remove outdated @SuppressWarnings
...
This closes #312
2020-01-09 18:09:44 +01:00
Artem Krosheninnikov
1ad780143c
[MNG-6827] Replace deprecated StringUtils#defaultString() from Plexus Utils
...
This closes #302
2019-12-22 12:57:34 +01:00
Artem Krosheninnikov
3332f4dbcc
[MNG-6816] Prefer System.lineSeparator() over system properties
...
This closes #300
2019-12-10 09:43:47 +01:00
Hervé Boutemy
53ccee3486
[MNG-6778] use https for schema location
2019-11-09 13:45:14 +01:00
rfscholte
38efe8444c
Fix checkstyle reported errors
2019-09-10 18:51:18 +02:00
Dezhi Cai
d09bc7437f
[refactor] use utility method of Objects to simplify code ( #284 )
...
* [refactor] use utility method of Objects to simplify code
* [refactor] use utility method of Objects to simplify code
2019-09-10 16:22:22 +10:00
Michael Osipov
2d0c3bc75b
[MNG-6704] MavenRepositorySystemUtils.newSession() misses assignment
2019-07-25 21:58:26 +02:00
Joseph Walton
353d3eaa8f
[MNG-6685] Convert Maven Model Builder to JSR 330
...
This closes #256
2019-06-23 00:20:54 +02:00
HoaPhan
ba74b96633
[MNG-6492] - Minor improvement on Array construction, conversion performance
2018-10-24 18:07:13 +02:00
Christian Schulte
44826ab446
[MNG-6164] Collections inconsistently immutable
...
Make non-empty collections returned immutable just like those returned by
java.util.Collections.
2018-10-09 22:12:50 +02:00
Sylwester Lachiewicz
27864904fe
Fixed typo in exception logging LegacyRepositorySystem
...
Fixes #170
2018-10-08 20:14:53 +02:00
Michael Osipov
9021d66e53
Move ArtifactUtilsTest and friends from maven-compat to maven-artifact
2018-05-08 00:18:49 +02:00
kevin-canadian
14365baabe
[MNG-6403] Artifact#VERSION_FILE_PATTERN does not escape period between date and time
...
This closes #112
2018-05-08 00:14:09 +02:00
Michael Osipov
8e0efaa107
[MNG-6386] ${project.baseUri} is not a valid URI (according to RFC 3986)
...
File#toURI()#toString() produces a non-compliant URI making tools like
Subversion or Git to choke on those URIs. Whereas Path#toUri()#toASCIIString()
does the right job.
2018-05-07 22:35:43 +02:00
Sylwester Lachiewicz
d925081794
Reduce number of global checkstyle rule violations
...
Fix code for following checkstyle rules:
ConstantName, FileLength, InnerAssignment, JavadocType, MagicNumber, MethodLength, MethodName, NewlineAtEndOfFile, ParameterNumber, RedundantThrows, VisibilityModifier
Fixes #149
2018-02-11 11:41:16 +01:00
Hervé Boutemy
0dc70cc691
upgrade m-site-p to 3.7 + Fluido 1.7 + edit button
2018-02-10 11:42:33 +01:00
Michael Osipov
f7d4bce233
[MNG-6149] MetadataResolutionResult#getGraph() never resolves request type 'test'
2017-04-21 22:57:53 +02:00
Stephen Connolly
b12905ce02
[MNG-6176] Fix javadoc *errors* in maven-compat
2017-03-18 12:34:45 +00:00
Karl Heinz Marbaise
51cc76c326
[MNG-6090] CI friendly properties break submodule builds
...
[MNG-6057] Problem with CI friendly usage of ${..} reactor order is changed
o Based on the missing replacement of the versions ${revision}
${changelist} or ${sha1} within the parent element the order
of the reactor changes.
[MNG-5895] Problem with CI friendly usage of ${..} which is already
defined via property in pom file.
2017-03-13 22:08:51 +01:00
Karl Heinz Marbaise
809ba34055
Code improvement.
2017-03-11 20:53:18 +01:00
August Shi
e6217a4555
Fixing misspellings in test names
2017-02-18 18:29:19 +01:00
Michael Osipov
b66bdb9cbc
[MNG-6150] Javadoc improvements for 3.5.0
...
* Remove duplicate plugin configuration
* Add workaround for Javadoc locale
* Clean up errors reported by Javadoc 7
Note: Javadoc 8 fails immediately because Modello generates invalid
Javadoc
2017-02-15 17:30:46 +01:00
Alex Henrie
8d91726f78
[MNG-5934] String handling issues identified by PMD
2017-02-11 14:08:24 +01:00
Josh Soref
1be7ea893e
[MNG-6165] Deprecate and replace incorrectly spelled public API
...
Spelling fixes:
* spelling: collector
* spelling: executions
* spelling: repositories
* spelling: workspace
This closes #101
2017-02-06 20:36:38 +01:00
Josh Soref
1740265984
[MNG-6146] Several small stylistic and spelling improvements to code and documentation
...
Spelling fixes:
* system
* tokenizer
* toolchain
* trailing
* transitive
* unsupported
* version
* artifact
* attachment
* codehaus
* colleagues
* comparison
* concurrency
* configure
* creation
* dependency
* descriptor
* downstream
* efficient
* e.g.
* elements
* encountered
* encounters
* environments
* executed
* explicitly
* happens
* hierarchical
* hierarchy
* ignore
* implemented
* implementers
* independence
* indicates
* inheritance
* inherited
* inherits
* install
* interface
* javascript
* laziness
* management
* maven
* metadata
* mgmt
* minimalist
* nonexistent
* objects
* overridden
* print
* project
* properties
* recessive
* referring
* repository
* representation
* retrieval
* retrieve
* rigorous
* should
* spontaneously
* subsequent
Literal fixes:
* use static final values
Style fixes:
* use the proper term for char U+002D (-) hyphen(-minus) instead of dash
This closes #100
2017-02-03 10:12:28 +01:00
Christian Schulte
a3cdfbbbe9
[MNG-5368] UnsupportedOperationException thrown when version range is not correct in dependencyManagement definitions
...
o Updated to log an error message for any caught 'InvalidVersionSpecificationException's.
2017-01-31 22:44:59 +01:00
Michael Osipov
f53f1547a1
[MNG-6147] MetadataResolutionResult#getGraph() contains duplicate if clause
2017-01-28 17:09:30 +01:00
Michael Osipov
920f10a561
[MNG-6144] DefaultWagonManagerTest#testGetMissingJarForced() passed incorrect value
...
This closes #86
2017-01-28 17:09:30 +01:00
Christian Schulte
a99a78984c
o Updated to remove errors reported by Checkstyle.
2017-01-25 08:09:30 +01:00
Hervé Boutemy
60e4fa650f
updated notice
2017-01-25 00:08:12 +01:00
Hervé Boutemy
cfbad56f65
point to our documentation on plugins dependencies upgrade
2017-01-24 23:50:10 +01:00
Hervé Boutemy
84085c0a9c
updated urls (https, plexus) and license header formatting
2017-01-24 23:50:10 +01:00
Nemo Chen
a2358ba7bb
[MNG-6081] Log refactoring - Method Invocation Replaced By Variable
2017-01-22 21:37:57 +01:00
Christian Schulte
ca1179ce6a
[MNG-5629] ClosedChannelException from DefaultUpdateCheckManager.read
...
o Updated to stop producing 'ClosedChannelException's when reading tracking files.
o Updated to use 'Long.MAX_VALUE' as the size of any locked regions to prevent writing beyond locked regions.
o Updated to support shrinking of tracking files.
2017-01-09 16:07:28 +01:00
Martin Schäf
d1dc63844f
[MNG-5721] Possible NullPointerException in org.apache.maven.repository.MetadataResolutionResult
...
Signed-off-by: Michael Osipov <michaelo@apache.org>
2015-10-10 21:25:57 +02:00
Michael Osipov
4ba3b752d6
[MNG-5877] maven-aether-provider/maven-compat does not always generate snapshot versions using Gregorian calendar year
...
Postfix all repo snapshot handling not just Aether.
2015-10-10 16:43:25 +02:00
Michael Osipov
b711de57dc
[MNG-5906] Use canonical name for UTC timezone
2015-10-10 14:39:31 +02:00
Karl Heinz Marbaise
d4e299acec
Cleanup checkstyle reported errors.
2015-09-26 20:19:16 +02:00
Karl Heinz Marbaise
15223116a6
Fixed URL's to issue tracking after transition to
...
Apache Software Foundation.
2015-07-19 09:53:50 +02:00
Kristian Rosenvold
cfd1fbe613
More java7. Bye bye 2006
2015-06-20 15:21:10 +02:00
sugartxy
7f206ef1cc
try-with-resources
...
Reformatted to code style by me. This fixes #53
2015-06-20 14:32:46 +02:00
Kristian Rosenvold
7badeb5b5b
Upgraded to java7 language features
2015-06-20 10:56:07 +02:00