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
Anatoly Zaretsky
877fcc9cd5
[MNG-6777] - Remove duplicate resolveFile methods
...
o MavenCli.resolveFile and
configuration.SettingsXmlConfigurationProcessor.resolveFile
utility methods are identical. Moving them into separate
ResolveFile class.
2019-10-10 19:53: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
71eafc4d68
Update DOAP file for 3.6.2 release
2019-09-06 14:31:12 +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
Michael Osipov
400e7e5979
[MNG-6747] Generalize 'resume from' message when build reactor fails
2019-08-27 09:08:57 +02:00
Guillaume Nodet
a52e2ea44a
[MNG-6695] Improve speed in collection merging
...
This closes #262
2019-08-23 11:25:41 +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
tibordigana
88b632cf3d
[MNG-6738] Upgrade maven-resolver to 1.4.1
2019-08-18 16:59:28 +02:00
tibordigana
829a2c9aae
small refactoring in StringSearchModelInterpolator (removed unnecessary 'public' modifier in private class, inlined variable declaration in loop - not reachable after the loop)
2019-08-11 11:46:28 +02:00
tibordigana
b893c3eca4
small refactoring in StringSearchModelInterpolator (removed unused variables, removed too open modifier 'protected')
2019-08-11 11:32:11 +02:00
tibordigana
203cfc67cc
[MNG-6729] StringSearchModelInterpolator introspects objects from Java API
2019-08-09 16:00:03 +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
rfscholte
7ac4fa5eff
[INFRA-18812] Revert unnecessary commits after fixing INFRA-18812
2019-08-05 18:43:09 +02:00
Hervé Boutemy
d5b0f4cef3
improved handlers documentation: artifact vs dependency attributes
2019-08-05 13:12:08 +01:00
tibordigana
cb71885c14
IT archives
2019-07-31 22:24:14 +02:00
tibordigana
93c88a2bd0
[MNG-6725] Skip '.mavenrc' via MAVEN_SKIP_RC=1 and '-Dmaven.skip.rc=true' on child ITs (by default on Jenkins CI).
2019-07-30 11:53:03 +02: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
Michael Osipov
2d0c3bc75b
[MNG-6704] MavenRepositorySystemUtils.newSession() misses assignment
2019-07-25 21:58:26 +02:00
Guillaume Nodet
690841e9be
[MNG-6697] New fast model interpolator not using reflection ( #261 )
...
* [MNG-6697] New fast model interpolator not using reflection
* [MNG-6697] Fix management key in case a field has been modified
* [MNG-6697] Remove the unused FIELDS_CACHE and make the InnerInterpolator private
* [MNG-6697] Clean up the code to remove a few warnings
2019-07-24 12:30:12 +10:00
Guillaume Nodet
74e85329fc
[MNG-6718] Upgrade to plexus-utils 3.2.1 ( #271 )
2019-07-23 19:12:51 +10:00
Hervé Boutemy
ecc317b77f
added NODE_NAME to output
2019-07-21 11:18:45 +02:00
Hervé Boutemy
f7b4a657db
[MNG-6549] Remove unused transitive dependencies of Guava
...
while at it, did a little bit of cleanup:
- removed aopalliance (like done in maven-resolver-provider)
- removed guice dependency management that should be part of MNG-6475
2019-07-20 11:29:45 +02:00
tibordigana
383c8c11ef
[MNG-6712] Downgrade maven-resolver:1.4.0 to 1.3.3
2019-07-18 14:10:34 +02: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
Guillaume Nodet
9b8ae7d528
[MNG-6702] Improve DefaultModelValidator performance:
...
Avoid tons of string concatenations that are done but usually not used
This closes #268
2019-07-10 21:27:36 +02:00
Joseph Walton
4fa882c30f
[MNG-6703] DefaultUrlNormalizer doesn't normalize all relative URIs
...
* Switch behaviour on relative URIs to match Path#normalize()
* Adopt RFC 3986 behaviour for traversal past the root
* Add a test that this isn't applied to relative URI references
This closes #264
2019-07-10 11:56:42 +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
AElMehdi
8da81ce73c
[MNG-6701] Document maven.repo.local property
...
This closes #265
2019-07-06 18:15:49 +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
Sylwester Lachiewicz
59bd396e6e
[MNG-6686] Convert Maven Embedder to JSR 330
...
This closes #257
2019-06-21 23:57:49 +02:00
Sylwester Lachiewicz
0bffc8a932
[MNG-5577] Maven Artifact module has no Plexus annotations
2019-06-21 23:01:45 +02:00
Michael Osipov
edf61684c8
[MNG-6674] Upgrade Wagon to 3.3.3
2019-06-17 22:19:34 +02:00
Hervé Boutemy
58de88f95c
MNG-6681 dependency type = extension+classifier
...
removed misleading "While it usually represents the extension on the
filename of the dependency, that is not always the case. A type can be
mapped to a different extension and a classifier. The type often
corresponds to the packaging used, though this is also not always the
case."
2019-06-16 16:54:58 +02: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
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
Michael Osipov
3d76faed00
Merge branch 'MNG-6672'
2019-06-13 11:40:08 +02:00
Michael Osipov
25ffca0633
[MNG-6672] Upgrade Maven Resolver to 1.4.0
2019-06-12 23:23:14 +02:00
Mao Shuai
da05c25584
Use properly quoted shell arguments with "$@"
...
This closes #238
2019-06-10 20:26:40 +02:00
Stefan Oehme
8f1cac0b1c
[MNG-6671] Upgrade Modello to 1.11
2019-06-10 15:18:30 +02:00
Michael Osipov
92b5191726
Revert "Modello changes"
...
They weren't properly squashed and worded.
This reverts commit 5035837094
.
This reverts commit 8aaeb8adf5
.
2019-06-10 13:55:38 +02:00
Michael Osipov
5035837094
[MNG-6671] Upgrade Modello to 1.10.1
...
This closes #252
2019-06-10 11:35:48 +02:00