Guillaume Nodet
0b3246381d
Remove useless @author tags ( #1226 )
...
This information is usually more accurately given by the GIT history
2023-09-06 10:39:32 +02:00
Elliotte Rusty Harold
421a23ad27
Improve API doc for ArtifactHandler ( #1193 )
...
* Rewrite API doc
Noticed this was a unclear and out of date
2023-08-22 11:52:51 +00:00
huazhongming
e3529c9582
[MNG-7714] Fixed a scenario in version sorting where sp1 is less than final ( #1099 )
...
* Fixed a scenario in version sorting where sp1 is less than final
2023-06-21 09:07:56 -04:00
huazhongming
29c0a95b0b
[MNG-7780] DefaultArtifact.equals throws NullPointerException if o.version is null ( #1108 )
...
Signed-off-by: crazyhzm <crazyhzm@apache.org>
2023-05-22 21:19:33 +02:00
Karl Heinz Marbaise
c49c4e0b18
[MNG-7451] - Remove public modifier from test methods / test classes
2023-04-15 19:24:20 +02:00
Guillaume Nodet
b2ee29e03e
[MNG-6825] Get rid of commons-lang
2023-04-06 10:51:18 +02:00
Elliotte Rusty Harold
38ba581634
correct comment ( #1074 )
2023-03-26 23:58:20 +00:00
Elliotte Rusty Harold
009ec5dc41
remove plexus utils dependency ( #1032 )
2023-03-07 10:44:46 -05:00
Elliotte Rusty Harold
b9b6d85957
[MNG-7700] test some edge cases with leading zeroes ( #1014 )
...
* add tests for MNG-7700
2023-03-02 00:37:27 +00:00
Tamas Cservenak
22d2b47c04
[MNG-7706] Deprecate 'localRepository' parameter expression ( #1009 ) ( #1012 )
...
This PR deprecates the 'localRepository' mojo parameter expression, and Core will emit warning if used by any Mojo.
---
https://issues.apache.org/jira/browse/MNG-7706
2023-02-23 18:14:45 +01:00
Andrey Bruykhov
7b38457506
Normalize regex patterns
...
This #990
2023-02-09 18:47:51 +01:00
Hervé Boutemy
fbdf109b34
[MNG-7571] add Maven API javadoc ( #830 )
2022-12-31 17:32:07 +01:00
Guillaume Nodet
8150c62749
[MNG-7650] Reformat
2022-12-26 16:12:32 +01:00
Michael Osipov
aaced1b0d5
Fix test Javadoc issue
2022-12-24 21:38:42 +01:00
Swell
35c81bedde
[MNG-7644] Fix version comparison where .X1 < -X2 for any string qualifier X
...
This #932
2022-12-21 21:34:28 +01:00
Michael Osipov
29e7b0ea3c
Revert "fix version comparison ( #845 )"
...
This reverts commit 97e8bf6711
.
2022-12-19 22:43:54 +01:00
Gwénaël Ruelland
97e8bf6711
fix version comparison ( #845 )
2022-12-03 19:34:24 +00:00
Guillaume Nodet
de19cfcd2b
[MNG-7601] Reformat sources
2022-11-22 14:26:01 +01:00
Konrad Windszus
78edd43122
[MNG-7106] Accept same lower and upper bound in version spec string ( #825 )
2022-10-13 15:29:50 +02:00
Marc Wrobel
5ce5591ae3
Fix minor typos
...
Fix various minor typos in :
- project documentations,
- javadoc and comments,
- test files.
2022-07-18 19:22:19 +02:00
Hervé Boutemy
1af8513fa7
[MNG-7385] improve repository metadata documentation
2022-01-18 21:19:32 +01:00
Hervé Boutemy
f46a9131d5
fix javadoc errors
2021-10-17 12:07:50 +02:00
Arturo Bernal
4c21e11b01
[MNG-7298] - Avoid redundant conditions.
2021-10-13 22:53:52 +02:00
Arturo Bernal
4daa48e0f6
[MNG-7287] Simplify assertion with simpler and equivalent calls
...
Closes #576
2021-10-10 22:34:07 +02:00
Arturo Bernal
4fafe44112
MNG-7296 - Remove redundant 'if' statement
2021-10-10 10:53:58 +02:00
Arturo Bernal
e50d65d228
MNG-7295 - Remove redundant/unused import statements.
2021-10-09 16:26:14 +02:00
Karl Heinz Marbaise
edbf133ab3
[MNG-7277] - Remove useless Test - testNonNumericVersionRepresentationReturnsANumberFormatException
2021-10-01 10:42:13 +02:00
Tamas Cservenak
2926f033cb
[MNG-7265] Convert maven-core artifact-handlers.xml to Providers
...
Gets rid of another set of Plexus components defined in XML.
Changes:
* DefaultArtifactHandler was declared as component but it is not needed; not
a component anymore
* Sanitize DefaultArtifactHandler class but retain Plexus XML provisioning
compatiblity (as plugins does have it declared in Plexus XML) and update its
uses within Maven code (be explicit)
* Use new "full" constructors in handler providers for easier comparison and
inspection (be explicit)
This closes #551
2021-09-24 22:09:23 +02:00
Nils Breunese
e29a661086
[MNG-7185] Describe explicit and recommended version for VersionRange.createFromVersionSpec()
...
This closes #487
2021-07-14 12:46:37 +02:00
Hervé Boutemy
1ab29f5485
[MNG-7128] keep blocked attribute from mirrors in artifact repositories
2021-03-27 03:00:25 +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
Dennis Lundberg
eb43b9be11
Fix Checkstyle violation.
2021-01-11 16:51:26 +01:00
Dennis Lundberg
9166805a06
[MNG-6967] Improve the command line output from maven-artifact.
...
- Clearly separate version from tokens in command line output.
2021-01-11 15:23:24 +01:00
Michael Osipov
31ad2ff43a
Use system line separator wherever possible
...
This closes #424
2021-01-01 12:55:01 +01:00
Michael Osipov
673a7d1fef
Trim trailing whitespace
2020-12-24 19:09:10 +01:00
Nicolas Juneau
95ee890837
[MNG-5728] Switch the default checksum policy from "warn" to "fail"
...
Signed-off-by: rfscholte <rfscholte@apache.org>
Signed-off-by: Michael Osipov <michaelo@apache.org>
2020-12-02 20:49:46 +01:00
Robert Scholte
251ba225c6
Revert "[MNG-5728] Switch the default checksum policy from "warn" to "fail""
2020-12-02 20:28:04 +01:00
Nicolas Juneau
d8ad76b9cb
[MNG-5728] Switch the default checksum policy from "warn" to "fail"
...
Signed-off-by: rfscholte <rfscholte@apache.org>
Signed-off-by: Michael Osipov <michaelo@apache.org>
2020-11-30 21:12:14 +01:00
Dennis Lundberg
4f193b3fc2
[MNG-6964] Maven version sorting is internally inconsistent.
2020-07-22 11:24:26 +02:00
Dennis Lundberg
51c0399030
[MNG-6967] Improve the command line output from maven-artifact.
2020-07-22 11:01:35 +02: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
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
Artem Krosheninnikov
3332f4dbcc
[MNG-6816] Prefer System.lineSeparator() over system properties
...
This closes #300
2019-12-10 09:43:47 +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
Guillaume Nodet
53f04f03e3
[MNG-6705] Speep up Artifact version check and Parent interpolation
...
This closes #260
2019-07-10 21:29:23 +02:00
Michael Osipov
3ac9718f82
[MNG-6655] Add support for "release" qualifier
...
This closes #249
2019-05-12 18:16:31 +02:00
rfscholte
4ff24e3678
[MNG-6643] Integration test
2019-04-29 23:27:58 +02:00
Hervé Boutemy
d34e8fbdc0
[MNG-6631] documented the performance intent
2019-04-27 18:22:32 +02:00