Commit Graph

698 Commits

Author SHA1 Message Date
Arturo Bernal b31f3aeef3
[MNG-7291] Avoid String concatenation in loops (#572) 2021-10-10 22:12:41 +02:00
Arturo Bernal 16afe061c9 [MNG-7290] Java8 improvements
Closes #571
2021-10-10 12:50:42 +02:00
Arturo Bernal b9fb762215 [MNG-7292] Unnecessarily escaped character
Closes #573
2021-10-10 12:18:15 +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
Guillaume Nodet 35e5a4d71d [MNG-5577] Use JSR 330 constructor injection
# Conflicts:
#	maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java
2021-10-02 12:26:22 +02:00
Guoxiong Li 5fd536853f [MNG-7248] Fix warnings issued by dependency:analyze
This changeset does intentionally not touch Guice and its dependencies
as well as test-scoped dependencies.

This closes #546
2021-09-24 20:55:03 +02:00
Mickael Istria 76d7f58a61
[MNG-7226] DefaultModelBuilder.buildRawModel fails (#528)
as it ignores pom file
2021-09-03 09:56:30 +02:00
rfscholte a2f81065ff [MNG-6656] Features must use userProperties instead of systemProperties 2021-07-23 11:21:18 +02:00
rfscholte f582ce88fc [MNG-7047] Validate that repo configuration does not contain any expression 2021-07-21 10:34:43 +02:00
Michael Osipov 78fc3734f9 Trim trailing whitespace 2021-07-02 18:47:10 +02:00
Michael Osipov cbaf7f7b48 Change @since from 3.7.0 to 4.0.0 2021-06-27 00:04:50 +02:00
Sylwester Lachiewicz ab95197436 Fix Checkstyle reported issues with maven-shared-resources 3 2021-05-30 12:00:03 +02:00
Ravil Galeyev 3fabb639a3
[MNG-6802] Fix bug in FileProfileActivator (#347)
* [MNG-6802] FileProfileActivator changes exists

FileProfileActivator changes FileProfileActivator.exists
which lets flattened resolveCiFriendliesOnly depending
fail activating profile.

* [MNG-6802] Add java docs

* [MNG-6802] PR comments fixes

* Make ProfileActivationFilePathInterpolator a class
* call super.tearDown() last

* [MNG-6802] PR comments fixes

* Get rid of reusing local variables
* Rename file-> activationFile
* Move if ( missing ) to try block
* Update javadocs
* Replace string format with concatenation
* Replace FileReader to FileInputStream

* [MNG-6802] Update javadoc

* [MNG-6802] Switch to commons lang3 StringUtils

* [MNG-6802] Switch to commons lang3 StringUtils

* [MNG-6802] Switch to plexus-utils StringUtils back

* [MNG-6802] Switch to plexus-utils StringUtils back

* [MNG-6802] Resolve conflicts

* [MNG-6802] Upgrade tests

* [MNG-6802] Fix for windows

* [MNG-6802] Remove annotation

* [MNG-6802] Create a temp dir

* [MNG-6802] Remove space

* [MNG-6802] Small refactoring

* [MNG-6802] Use JUnit5 tempDir

* [MNG-6802] Use static import

* [MNG-6802] Remove plexus

* [MNG-6802] Remove plexus

* [MNG-6802] Fix checklstyle

* [MNG-6802] Restart build

* [MNG-6802] Restart build

* [MNG-6802] Restart build (last attempt)

* [MNG-6802] Fix PR comments

* [MNG-6802] Refactor try-catch

* [MNG-6802] Fix comments in FileProfileActivatorTest

* [MNG-6802] Use primitive

* [MNG-6802] Push down path
2021-05-15 11:51:15 +00:00
Hervé Boutemy 1b6caed1ea [MNG-6656] rename build+consumer filters to buildToRaw+rawToConsumer 2021-04-04 19:49:51 +02:00
Hervé Boutemy e25cf17d3b [MNG-6656] move to o.a.m.model.transform + .sax 2021-04-04 19:39:05 +02:00
Hervé Boutemy 22954a04ff [MNG-6656] rename maven-xml module to maven-model-transform 2021-04-04 13:24:41 +02:00
Michael Osipov 1e19805097 [MNG-6075] Increase the model validation level to the next minor level version
This closes #455
2021-03-20 15:09:33 +01:00
Hervé Boutemy 612dfddd26 [MNG-3220] fix doc: dependencyManagement import require scope import 2021-03-16 22:27:15 +01:00
Michael Osipov a5c68f7a4a Revert "[MNG-7046] Revert MNG-5639 and make repo config static only"
This reverts commit 8c9c303f9c.
2021-03-13 17:09:40 +01:00
Guillaume Nodet 9e19b57c72 [MNG-7111] Deadlock when reading pom
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-03-13 11:58:02 +01:00
rfscholte aa90370ff4 [MNG-7110] Different behavior of extensions
restore configuration of importRequest
2021-03-12 18:24:13 +01:00
Christian Schulte c3dba0e5ba [MNG-6113] Rename the 'Central Repository' to 'Maven Central Repository' in the 4.0.0 super POM 2021-02-28 20:16:29 +01:00
Hervé Boutemy d740200811 [MNG-7107] relax profile id validation, different from coordinate id 2021-02-26 18:05:25 +01:00
Guillaume Nodet 619973b91c [MNG-7063] Infinite loop using Shade plugin and JUnit 5 dependency
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-02-14 15:52:04 +01:00
Michael Osipov eae3074c63 [MNG-7029] Remove super POM release profile
This closes #411
2021-02-02 17:40:24 +01:00
boris-unckel 1e575a2bd7 [MNG-7068] Active dependency management for Google Guice/Guava
This closes #462
2021-02-02 14:17:43 +01:00
Maarten Mulders 8defd16965 [MNG-7051] Optionally skip non-existing profiles and break on missing required profiles. 2021-02-02 08:20:21 +01:00
Michael Osipov ceb08cfa77 Test for empty locations and avoid printing them 2021-01-30 23:04:46 +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
Sylwester Lachiewicz b7510d627f [MNG-6909] Convert to JSR330 - use sisu plugin 2021-01-08 03:55:24 +01:00
rfscholte 94612f96fa [MNG-7060] Let build fail fast in case any maven-gpg-plugin goal is called 2021-01-03 13:09:59 +01:00
Michael Osipov 8eda091d4e Replace tabs with proper count of spaces 2020-12-24 19:50:27 +01:00
Michael Osipov 673a7d1fef Trim trailing whitespace 2020-12-24 19:09:10 +01:00
Michael Osipov 8c9c303f9c [MNG-7046] Revert MNG-5639 and make repo config static only
This closes #409
2020-12-24 15:23:59 +01:00
Christian Schulte d2adab7bf3 [MNG-6054] Remove super POM plugin management section
This closes #410
2020-12-24 00:05:32 +01:00
rfscholte 9f88494b60 [MNG-6957] Versionless reactor dependencies/parent should work even if modules are aggregated in reverse order
This closes #391
2020-12-22 16:30:37 +01:00
Guillaume Nodet be8ced6be3 [MNG-7034] StackOverflowError thrown if a cycle exists in BOM imports
This closes #399
2020-12-13 15:10:53 +01:00
Michael Osipov b24c34bb23 [MNG-7041] Update @since, version ranges and other version related strings
This closes #404
2020-11-29 11:23:53 +01:00
rfscholte 3736be9c15 Updating version in preparation for Maven 4 2020-11-27 12:22:47 +01:00
rfscholte a89a3d315d [MNG-6999] prevent potential race condition 2020-11-08 15:16:53 +01:00
rfscholte e7eef9d34f [MNG-6999] Chained (consumer) XMLFilters can result in "floating" comments 2020-10-30 12:39:23 +01:00
rfscholte 2e66809e0e [MNG-6952] Fail early if pom cannot be transformed 2020-07-04 23:27:12 +02:00
rfscholte 65ec04c236 [MNG-6948] Repository files should not pass build-filters 2020-06-29 20:35:31 +02:00
rfscholte bdec668de9 [MNG-6656] Introduce base for build/consumer pom 2020-06-22 21:24:49 +02:00
Michael Osipov ef8c95eb39 [MNG-6937] StringSearchModelInterpolatorTest fails on symlinked paths
Don't compare baseDir in a canonical form when the second comparing value
(System.getProperty( "user.dir" )) is not canonicalized.

This closes #361
2020-06-11 22:16:30 +02:00
Sylwester Lachiewicz b4725dbe06 Fix maven-checkstyle-plugin 3.1.1 reported error
- with maven-shared-resources v3
2020-06-11 20:53:36 +02:00
Sylwester Lachiewicz 8177d3d114 [MNG-6819] Fix also NPE in StringSearchModelInterpolator 2020-05-23 10:07:16 +02:00
Sylwester Lachiewicz be3c4eb406 [MNG-6819] Refactor unit tests for ModelInterpolator 2020-05-23 10:07:16 +02:00
碎镜 14c9e156bc [MNG-6819] Fix NullPointerException in StringVisitorModelInterpolator
Closes #301
2020-05-23 10:07:16 +02:00