Commit Graph

10647 Commits

Author SHA1 Message Date
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
Lewinski, Arne e183080273 [MNG-6866] extract methods, apply SLA, introduce mass mojo adding 2020-06-21 11:16:26 +02:00
dependabot-preview[bot] 45e91f03b0 [MNG-6878] Bump guice from 4.2.2 to 4.2.3
Bumps [guice](https://github.com/google/guice) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/google/guice/releases)
- [Commits](https://github.com/google/guice/compare/4.2.2...4.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-22 10:09:35 +01:00
rfscholte c548ce5f11 Adjust JDKs in Jenkinsfile 2020-03-20 14:04:41 +01:00
rfscholte 5cdb8332f9 [MNG-5669] Fix infinitive loop in case pom.xml is being updated during the process (e.g. maven-shade-plugin writing reduced-pom with excluded dependencies) 2020-03-13 09:08:00 +01:00
Karl Heinz Marbaise 9e92a93ab8
[MNG-6872] - Found CVEs in your dependencies - plexus-utils (tests) 2020-03-08 15:38:11 +01:00
Karl Heinz Marbaise d204f02f62
[MNG-6874] - Upgrade Maven Parent to 34 2020-03-08 14:21:21 +01:00
rfscholte f2e9afd788 Refactor getLocalRepository() in tests by using the repositorySystem 2020-02-29 21:01:24 +01:00
Hervé Boutemy 9ae008a67d use https://repository.a.o/ for Apache SNAPSHOT plugins 2020-02-11 08:35:08 +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
Sylwester Lachiewicz 35658fdbb1 Run Integration Tests with Java 8, 11, 13 and 14
Build with Maven 3.6.2 (Linux)
2020-01-28 16:48:06 +01:00
Michael Osipov 45076f33a0 Improve license handling
* Stream line the output of the license listing
* Exclude jsoup from final distribution since we only need its license information
* Use proper SPDX ID for our license

This closes #317
2020-01-28 12:47:17 +01:00
Michael Osipov 720e46d91d Revert "[MNG-5587] When the build fails emit any errors without the user having to specify -e or -X"
This reverts commit 838c196359.
2020-01-28 10:13:42 +01:00
Sylwester Lachiewicz cdb2cd0df3 [MNG-6071] Normalize relative paths for working directory 2020-01-26 17:25:38 +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
Rostislav Krasny ff9bc4f61b [MNG-6852] Upgrade maven-source-plugin from 3.2.0 to 3.2.1
Closes #316
2020-01-25 21:40:00 +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
dependabot-preview[bot] a6f113abce Bump junit from 4.12 to 4.13
Just before move to JUnit5

Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/master/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13)
2020-01-14 11:30:35 +01:00
Rostislav Krasny da5d8b8f51 [MNG-6850] Prevent printing the EXEC_DIR when it's just a disk letter
This fixes following bug and also consistent with another 'cd /d "%EXEC_DIR%"' a few lines above.
When you're on the root of some disk running mvn.cmd prints an extra line with current dir before the correct output

Closes #304
2020-01-14 11:10:58 +01:00
Gabriel Belingueres 838c196359 [MNG-5587] When the build fails emit any errors without the user having to specify -e or -X
This closes #283
2020-01-13 22:28:26 +01:00
Rostislav Krasny 9989e6ab6c [MNG-6837] Simplify detection of the MAVEN_HOME and make it fully qualified on Windows
The removed 'stripMHome' recursive function is not needed anymore

This closes #307
2020-01-13 22:12:44 +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 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 f3e6641c2e
[MNG-6841] update plexus-interpolation to 1.26 2020-01-05 20:40:27 +01:00
Sylwester Lachiewicz 6d630388e6 Revert "[MNG-5982] Pass user properties to ModelBuildingRequest"
This reverts commit 5553ff0ca6.
2020-01-01 16:02:08 +01:00
Sylwester Lachiewicz 5553ff0ca6 [MNG-5982] Pass user properties to ModelBuildingRequest 2020-01-01 16:01:14 +01:00
Robert Scholte 08397c2381
[MNG-6065] Moved org.slf4j.impl.MavenLoggerFactoryTest to the correct submodule 2020-01-01 13:41:42 +01:00
Martin Kanters e48c067d44 Moved org.slf4j.impl.MavenLoggerFactoryTest to the correct submodule 2020-01-01 10:58:31 +01:00
Karl Heinz Marbaise 25de698dc8
Removed JDK7 related configuration. 2019-12-28 23:39:19 +01:00
Martin Kanters d2510749d8 [MNG-6065] Create option --fail-on-severity 2019-12-27 10:56:55 +01:00
rfscholte e3aa406cc7 [MNG-6824] ModelMerger is broken
Fixing reportSet.reports, mailingList.otherArchives, contributor.roles, build.filters, execution.goals, patternSet.includes, patternSet.excludes
2019-12-22 17:28:35 +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
Karl Heinz Marbaise aad48b73e2
Removed duplication of License part. 2019-12-15 17:00:36 +01:00
Karl Heinz Marbaise 370570bca6
Fixed display text for Apache License. 2019-12-15 16:49:05 +01:00
Karl Heinz Marbaise 78ad10d12a
[MNG-6807] - Remove LifecycleXpp3ReaderTest 2019-12-15 05:24:07 +01:00
Karl Heinz Marbaise 06842d6b96
[MNG-6826] - Remove condition check for JDK8+ in FileSizeFormatTest
- The conditions to check for JDK8+ in test cases is
   obsolete with the lift to JDK8.
2019-12-15 04:16:49 +01:00
Karl Heinz Marbaise b8f066e77c
[MNG-6823] - Remove unnecessary dependency exclusions for wagon-http 2019-12-14 19:35:04 +01:00
Karl Heinz Marbaise e7654f610a
[MNG-6821] - Remove unnecessary dependency exclusions for plexus-component-annotations 2019-12-14 11:59:23 +01:00
Karl Heinz Marbaise 99953a44f1
[MNG-6820] - Remove unnecessary dependency exclusions for commons-cli 2019-12-14 11:13:35 +01:00