huangkaifeng
ba16eb1b39
[MNG-6873] Align JUnit version to 4.13
...
Closes #331
2020-06-21 11:16:50 +02:00
Martin Kanters
4bdbc9bd80
[MNG-6863] --also-make is being ignored when calling --resume-from
...
[MNG-6676] Resume reactor build after skipped project using -pl !X -rf X combination
Co-authored-by: Martin Kanters <Martin.Kanters@infosupport.com>
2020-06-21 11:16:41 +02:00
Maarten Mulders
26b35a8ca9
[MNG-4660] --resume-from flag resolves inter-module dependencies
...
Co-authored-by: Martin Kanters <Martin.Kanters@infosupport.com>
2020-06-21 11:16:40 +02:00
Olivier Lamy
24da558d5a
[MNG-6886] upgrade plexus-cipher to 1.8 and update changed groupId ( #335 )
...
Signed-off-by: olivier lamy <olamy@apache.org>
2020-06-21 11:16:35 +02:00
Lewinski, Arne
f6d96b2b99
Revert "[MNG-6867] extract methods, apply SLA"
...
This reverts commit c423a090e3
.
2020-06-21 11:16:33 +02:00
Lewinski, Arne
c29777386b
[MNG-6867] extract methods, apply SLA
2020-06-21 11:16:32 +02:00
Joseph Walton
5e2a0b6451
[MNG-5577] Convert maven-core to JSR 330
...
Convert (almost) all Plexus components in maven-core to JSR 330 annotations
Closes #332
2020-06-21 11:16:31 +02:00
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
Karl Heinz Marbaise
dae75058fe
[MNG-6882] - Change the URL's in tests etc. from http to https
2020-06-21 11:16:27 +02:00
Karl Heinz Marbaise
9e92a93ab8
[MNG-6872] - Found CVEs in your dependencies - plexus-utils (tests)
2020-03-08 15:38:11 +01:00
rfscholte
f2e9afd788
Refactor getLocalRepository() in tests by using the repositorySystem
2020-02-29 21:01:24 +01:00
Hervé Boutemy
d9bf929c74
[MNG-6562] added WARNING on default bindings plugins unlocked versions
2020-02-06 08:58:05 +01:00
Michael Osipov
b0d2846e07
[MNG-6859] Build not reproducible when built from source release
...
This closes #322
2020-02-05 09:30:39 +01:00
rfscholte
716cc1fe02
[MNG-5669] same pom.xml is read multiple times
2020-01-29 21:18:42 +01:00
thelproad
96e11e1c84
[MNG-6855] Remove redundant code
...
Closes #280
2020-01-26 11:13:26 +01:00
Lipmanpoi
e6c897efb6
[MNG-6855] Simplify some code
...
Closes #279
2020-01-26 11:13:18 +01: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
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
5670dfa909
[MNG-6842] ProjectBuilderTest uses Guava, but Guava is not defined in dependencies
...
This closes #311
2020-01-09 21:45:26 +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
rfscholte
11b8b2d5d4
[MNG-6824] ModelMerger is broken
...
Fix modules
Apply Java 8 Functions
2019-12-21 15:03:04 +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
ead06d23d4
[maven-release-plugin] prepare for next development iteration
2019-11-19 20:17:36 +01:00
rfscholte
cecedd3430
[maven-release-plugin] prepare release maven-3.6.3
2019-11-19 20:17:06 +01:00
Robert Scholte
c82409a2d8
[MNG-6759] Maven fails to use <repositories> section from dependency when resolving transitive dependencies in some cases
2019-11-17 22:10:01 +01:00
Hervé Boutemy
53ccee3486
[MNG-6778] use https for schema location
2019-11-09 13:45:14 +01:00
Christian Wansart
0c7c69f78b
[MNG-6778] - Use https for maven schemaLocations
2019-11-07 16:16:39 +01:00
Hervé Boutemy
bd10f00b68
[MNG-6789] upgrade and configure plugins for Reproducible Builds
...
- packaging plugins (source, jar, assembly) 3.2.0
- plexus-metadata 2.1.0
- sisu.inject 3.3.4
2019-11-07 13:35:52 +01:00
rfscholte
3f3d775ede
Rewrite assertTrue to assertThat to get more meaningful messages
2019-10-13 15:33:42 +02:00
Stig Rohde Døssing
db3e44694c
[MNG-6759] - Fix issue where MavenMetadataSource failed to set the right repositories when preparing artifact metadata
2019-10-12 18:54:44 +02: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
rfscholte
3eb242c571
[MNG-6760] ExclusionArtifactFilter result invalid when wildcard exclusion is followed by other exclusions
2019-09-07 14:24:21 +02:00
Enrico Olivelli
d9a0eee7fe
[maven-release-plugin] prepare for next development iteration
2019-08-27 16:59:23 +02:00
Enrico Olivelli
40f5233313
[maven-release-plugin] prepare release maven-3.6.2
2019-08-27 16:59:01 +02:00
Mickael Istria
b65e846531
[MNG-6716] Avoid setting compileRoots
...
Recent changes in ProjectBuilder make that the compile roots could be
set erroneously on 1st phase and propagated in the results.
This patch just skips setting the compile source root in the 1st pass
(when buildParentIfNonExisting==false).
It also tests some other fields of MavenProject
Reviewers: Michael Osipov, Robert Scholte, Hervé Boutemy
This closes #274
2019-08-19 23:42:40 +02:00
Ray Tsang
8a1f572910
[MNG-6713] Fix ExclusionArtifactFilter to respect wildcard exclusions. ( #269 )
...
* [MNG-6713] Fix ExclusionArtifactFilter to respect wildcard exclusions.
* Moved `*` to a constant
2019-08-06 18:18:58 +02:00
tibordigana
6c5be9ce26
fixed ArtifactHandlerTest after commit d5b0f4ce
2019-08-05 23:38:16 +02:00
Hervé Boutemy
d5b0f4cef3
improved handlers documentation: artifact vs dependency attributes
2019-08-05 13:12:08 +01:00
Stefan Oehme
0515cb1f0e
[MNG-6720] MultiThreadedBuilder: wait for parallel running projects when using --fail-fast
...
Otherwise the sessionFinished event may be sent before some
projects/goals finish, which violates the contracts of execution
listeners and makes it hard to properly life cycle components that
are needed for goal execution.
This closes #272
2019-07-26 23:38:16 +02:00
Michael Osipov
dd0776d949
[MNG-6653] DefaultProjectBuildingRequest copy constructor does not copy all fields
2019-07-26 22:18:45 +02:00
Mickael Istria
809cac2266
[MNG-6723] MavenProject.getParentFile() not set when using ProjectBuilder.build()
...
This closes #273
2019-07-26 22:16:49 +02:00
Guillaume Nodet
7ba9700386
[MNG-6698] Lazily compute the ManagedVersionMap
...
This map is not used by Maven and the computation can be quite heavy, so lazily
compute it. In addition, do not clone the map as it's an unmodifiable one already.
This closes #263
2019-07-07 00:30:10 +02:00
Bo Zhang
84bf1877f0
[MNG-6700] Equal compile source roots are added multiple times
...
This closes #266
2019-07-06 18:27:47 +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
Christian Schulte
c2f13f7e87
[MNG-6675] Make Resolver debug log messages for projects and plugins consistent
...
This closes #124 and closes #253
2019-06-15 20:12:36 +02:00