Commit Graph

11638 Commits

Author SHA1 Message Date
Guillaume Nodet c07700ffc9 [maven-release-plugin] prepare release maven-4.0.0-alpha-2 2022-10-15 01:41:31 +02:00
Guillaume Nodet 550f0c90fc Restore compatibility for the maven-release-plugin 2022-10-15 01:33:17 +02:00
Guillaume Nodet a492c9a4ff
Fix the repackaged plexus-utils groupId (#829)
* Fix plexus gav
* Install maven instead of just building it

The plugins need to be available in the local repo, else the build may download old snapshots
2022-10-15 01:20:24 +02:00
Guillaume Nodet 66851463f6 [maven-release-plugin] prepare for next development iteration 2022-10-14 22:57:05 +02:00
Guillaume Nodet 0d973fb624 [maven-release-plugin] prepare release maven-4.0.0-alpha-1 2022-10-14 22:36:41 +02:00
Guillaume Nodet f84d8338ab Fix modello-plugin-velocity which breaks the release plugin 2022-10-14 22:34:19 +02:00
Guillaume Nodet 2b6977a85f
Fix site generation (#828) 2022-10-14 21:52:26 +02:00
Martin Kanters c178b2fc1a
[MNG-7098] Keep the project counter intact when resuming a multi-module project. (#804) 2022-10-14 10:29:08 +02:00
Guillaume Nodet 49d1ec1668 Restore the serializable aspect of the Model 2022-10-14 10:23:18 +02:00
Guillaume Nodet c3361ab622 Fix javadoc issues 2022-10-13 17:35:27 +02: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
Guillaume Nodet 3f90e7028e
Restore compatibility on SettingsBuilder, ToolchainsBuilder and MojoDescriptorCreator (#820) 2022-10-11 16:31:57 +02:00
Tamas Cservenak 3bc2cf6a7a
[MNG-7547] Simpler G level metadata generation (#806) 2022-10-11 14:11:17 +02:00
Guillaume Nodet 8b57a3abc1
[MNG-6801] MavenXpp3Writer doesn't retain order of properties (#811) 2022-10-10 22:22:26 +02:00
Guillaume Nodet ae655e0e83
[MNG-7553] v4 api enhancements
* Fix DefaultArtifactManager to allow using both Artifact and Dependency
* Add a TODO for an EventSpy related api
* Add simple string/model conversion on the XmlFactory
* Decouple services creation
* Move services to @Singleton scope
* Add protected constructors as builders should not be created directly
* Fix typos "can not" -> "cannot"
* Add some null checks on build(xx) shortcut methods
* Add a some missing conversion to immutable collections for requests
2022-10-10 20:47:26 +02:00
Guillaume Nodet bff84bd634
Replace Properties with Map<String, String> in the v4 api (#808) 2022-10-05 16:52:17 +02:00
Guillaume Nodet 37b579b053
Make sure RAT plugin ignores files in the target folder (#813)
* Make sure RAT plugin ignores files in the target folder
* Fix gitignore so that it can work with rat, do not inherit execution in children, use a single place to configure rat
* Exclude .asf.yaml from rat check
* Add repo/ to the .gitignore file as it's often used for local repository
2022-10-05 15:37:00 +02:00
Guillaume Nodet 2a9f39336c
[MNG-7553] New clean API with immutable model (#703) 2022-10-02 10:41:25 +02:00
Martin Kanters 1ca65c79fa Revert "[MNG-7098] Keep the project counter intact when resuming a multi-module project."
This reverts commit 4a06f1f5c3.
2022-09-16 14:51:55 +02:00
Martin Kanters 7e0e9f9fbe [MNG-7310] Using the plexusContainer to prevent loading lifecycles from defined by extensions from other submodules.
This resolves #639.
2022-09-16 14:46:01 +02:00
Martin Kanters 4a06f1f5c3 [MNG-7098] Keep the project counter intact when resuming a multi-module project. 2022-09-16 14:38:44 +02:00
Slawomir Jaranowski 47e2d689d6 [MNG-7463] Improve documentation about deprecation in Mojo 2022-09-14 23:54:40 +02:00
Sylwester Lachiewicz 5502c0c8db [MNG-7502] Upgrade to Guice 5.1.0 2022-09-10 21:27:25 +02:00
Henning Schmiedehausen e410a6ce1d
MNG-7529 alternate fix (#795)
[MNG-7529] Maven resolver makes bad repository choices

Structure the version checks slightly different to make the separation
between repository versions and the version range resolution clearer.
2022-08-31 09:47:00 -07:00
Henning Schmiedehausen ce4579108d
[MNG-7529] Maven resolver makes bad repository choices (#786)
Ensure that any versions resolved as part of a version range request
only reference repositories that are actually enabled for the type of
version (SNAPSHOT versions against snapshot repos, release versions
against release repositories).
2022-08-24 21:26:19 -07:00
Slawomir Jaranowski 750e1e3e71 [MNG-7530] Upgrade Apache Maven parent POM to version 37 2022-08-24 19:23:42 +02:00
Michael Osipov e296400fa5 [MNG-7520] Simplify integration of Redisson and Hazelcast for Maven Resolver
Co-authored-by: Jacques-Etienne Beaudet <jebeaudet@gmail.com>

This closes #776
2022-08-23 21:41:57 +02:00
Guillaume Nodet 631f1c7611 [MNG-7401] [MNG-7474] Remove unused commented code 2022-08-23 11:54:18 +02:00
Guillaume Nodet e02e0c84ce [MNG-7401] [MNG-7474] Keep a single maven session and fix session scope (#743)
* [MNG-7474] SessionScoped beans should be singletons for a given session

Now that the Session is not cloned anymore, we can revert to the original
(Maven < 3.3) behavior of the session scoped components.

Co-authored-by: Christoph Läubrich <christoph@laeubi-soft.de>

This closes #743

* Remove setting a value which is the default already

Co-authored-by: Christoph Läubrich <christoph@laeubi-soft.de>
# Conflicts:
#	maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java
#	maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
2022-08-23 11:51:44 +02:00
Giovanni van der Schelde a53a1aa232 [MNG-7443] Implement consistent logging between optional projects and optional profiles
This closes #701
2022-07-29 11:06:26 +02:00
Michael Osipov 0c10323158 [MNG-7522] Upgrade Maven Resolver to 1.8.2
This closes #779
2022-07-28 21:25:23 +02:00
Karl Heinz Marbaise cbbb9cf7e3
[MNG-7521] - Remove WARNING during build 2022-07-25 09:47:05 +02:00
Michael Osipov 0f8f22e404 [MNG-7020] Remove Maven 2 WagonExcluder backward compat code
This closes #394
2022-07-24 10:47:35 +02:00
Michael Osipov 2d9918a2d1 Clean up dependency warnings by dependency:analyze
This closes #769
2022-07-24 10:44:43 +02:00
Hervé Boutemy 35b93b0a58 [MNG-7353] Add support for "mvn pluginPrefix:version:goal"
This closes #757
2022-07-21 14:38:30 -07:00
Marc Wrobel 8125b3131f Fix typos in code
Fix minor typos in code :

- test method names,
- method parameter names,
- variable names.
2022-07-19 00:45:13 +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
Rafael Chaves 8ff8ebcaea [MNG-7515] Cannot see a dependency tree for apache-maven module
This closes #770
2022-07-18 18:01:23 +02:00
Michael Osipov efa9f0c678 [MNG-7513] Address commons-io_commons-io vulnerability found in maven latest version
We can safely remove Commons IO altogether because it is not used in any direct or
transitive usecase at compile time or runtime.

This closes #771
2022-07-18 17:26:54 +02:00
Josef Cacek 03b1faff7e [MNG-7511] Ensure the degreeOfConcurrency is a positive number in MavenExecutionRequest
This closes #767
2022-07-18 13:35:27 +02:00
Tamas Cservenak f05397a88d
Pull out lifecycle plugin versions (#766)
To lessen mistake (copy-paste vs forgotten update) but also just to
make things less redundant. This also makes possible "experimenting"
much more easier.

This is merely a refactoring that does not takes or gives anything, just tidies up.
2022-07-12 15:13:55 +02:00
Guillaume Nodet 90c084dcf4
[MNG-7360] Fix xml transformation to ensure proper context (#744) 2022-06-28 08:43:10 +02:00
Michael Osipov 7dbbcc23a9 [MNG-7506] Upgrade Maven Wagon to 3.5.2 2022-06-27 13:16:19 +02:00
Hervé Boutemy 4e88d62ab2 [MNG-7501] add relative path to pom.xml in module build start output 2022-06-26 18:46:20 +02:00
Michael Osipov d82ab09ae1 [MNG-7499] Upgrade Maven Resolver to 1.8.1
This closes #754
2022-06-17 13:03:32 +02:00
Guillaume Nodet 415eaf31de
[MNG-7160] Ability to customize core extensions classloaders (#616) 2022-06-15 10:43:17 +02:00
Michael Osipov df38f1c079 Update DOAP with Maven 3.8.6 release 2022-06-11 17:16:13 +02:00
Slawomir Jaranowski 54f9d91ebb [MNG-7468] Check unsupported plugins parameters in configuration 2022-06-03 20:54:27 +02:00
Tamas Cservenak 47fb9e8122
[MNG-7491] Update parent POM 36 (#747)
Update parent POM to v 36, remove redundant bits.
2022-06-02 12:56:41 +02:00
Hervé Boutemy 7bd5fb38b3 deploy master, 3.8.x and 3.9.x 2022-05-31 09:19:44 +02:00