Guillaume Nodet
2db7c85b64
[MNG-7038] Introduce public properties to point to the root and top directories of (multi-module) project ( #1061 )
...
This commit introduces three properties:
* project.rootDirectory: the project's directory or parent directory containing a .mvn subdirectory or a pom.xml flagged with the root="true" attribute. If no such directory can be found, accessing the rootDirectory property will throw an IllegalStateException.
* session.topDirectory : the directory of the topmost project being built, usually the current directory or the directory pointed at by the -f/--file command line argument. The topDirectory is similar to the executionRootDirectory property available on the session, but renamed to make it coherent with the new rootDirectory and to avoid using root in its name. The topDirectory property is computed by the CLI as the directory pointed at by the -f/--file command line argument, or the current directory if there's no such argument.
* session.rootDirectory : the rootDirectory for the topDirectory project.
The topDirectory and rootDirectory properties are made available on the MavenSession / Session and deprecate the executionRootDirectory and multiModuleProjectDirectory properties. The rootDirectory should never change for a given project and is thus made available for profile activation and model interpolation (without the project. prefix, similar to basedir). The goal is also to make the rootDirectory property also available during command line arguments interpolation.
A root boolean attribute is also added to the model to indicate that the project is the root project. This attribute is only supported if the buildconsumer feature is active and removed before the pom is installed or deployed. It can be used as an alternative mechanism to the .mvn directory.
2023-04-20 12:58:12 +02:00
Guillaume Nodet
9d851eea68
[MNG-7678] Settings (v3) and Settings.Builder() cannot unset a non-null field ( #983 )
2023-03-13 19:35:35 +01:00
Elliotte Rusty Harold
696cf37dc7
update a few URLs ( #1052 )
2023-03-13 00:17:09 +00:00
Elliotte Rusty Harold
0dd9ebc126
restore src/mdo/reader.vm ( #1034 )
2023-03-05 12:43:42 +00:00
Elliotte Rusty Harold
d86cee4f90
revert accidental commit
2023-03-04 18:44:29 -05:00
Guillaume Nodet
f153ac134c
[MNG-7598] Fix compatibility issues with toolchains and settings ( #971 )
...
* Split the header on two lines
* Properly delegates equals/hashCode to the v4 models
* Introduce object tracking in settings / toolchains
* Get back to a single template for v3 models
* Switch settings / toolchains mergers to deep merge
* Fix binary compatibility with 3.x
2023-01-27 15:56:16 +01:00
Hervé Boutemy
74548dde8e
[MNG-7664] consolidate Velocity templates used to generate code from models ( #949 )
2023-01-20 00:38:51 +01:00
Hervé Boutemy
fbdf109b34
[MNG-7571] add Maven API javadoc ( #830 )
2022-12-31 17:32:07 +01:00
Hervé Boutemy
3d4d6d8bea
fix wrong dependencies
2021-12-26 22:06:43 +01:00
Hervé Boutemy
f793d862e3
[MWRAPPER-14] remove Maven Wrapper from core
2021-12-26 17:42:35 +01:00
Hervé Boutemy
ede86ab4b6
[MNG-6914] move apache-maven-wrapper to its own separate Maven module
2021-10-16 19:44:39 +02:00
Giovanni van der Schelde
ffc2b99e3e
[MNG-6389] Move the toolchains model to a separate artifactId
...
Closes #586
2021-10-13 16:10:22 +02:00
Hervé Boutemy
53dead3e9b
[MNG-7136] add forgotten maven-slf4j-wrapper
2021-04-05 11:49:09 +02:00
Hervé Boutemy
da34c1e869
[MNG-7136] crop image to fit content
2021-04-05 11:40:40 +02:00
Hervé Boutemy
a88d3f0b3f
[MNG-7136] update Maven 4 dependencies schema
2021-04-05 11:26:08 +02:00
Hervé Boutemy
d0f1efa40e
fixed dependency schema: model-builder depends on artifact
2018-08-20 11:50:35 +02:00
Hervé Boutemy
6f41a82bb8
reorganised dependency graph: group consumer vs build modules
2018-07-12 22:17:02 +02:00
Hervé Boutemy
197b4be150
removed configuration inherited from parent and more up-to-date
2018-03-11 11:34:04 +01:00
Hervé Boutemy
0dc70cc691
upgrade m-site-p to 3.7 + Fluido 1.7 + edit button
2018-02-10 11:42:33 +01:00
Hervé Boutemy
f1cc1d4e5a
[MNG-6140] maven-core depends on shared-utils (not project-utils)
2017-02-18 15:15:18 +01:00
Hervé Boutemy
1cb2e92b5a
[MNG-6140] renamed aether to resolver, added slf4j-provider
2017-02-01 07:59:53 +01:00
Hervé Boutemy
84085c0a9c
updated urls (https, plexus) and license header formatting
2017-01-24 23:50:10 +01:00
Hervé Boutemy
733eedc4fb
added standard license and download links
2017-01-24 19:22:28 +01:00
Hervé Boutemy
94bc4de2ea
[MNG-6093] use monkey patched slf4j-simple provider with Maven color
2017-01-24 18:40:07 +01:00
Hervé Boutemy
337284bdcf
Plexus is now at github
2015-08-03 00:23:39 +02:00
Hervé Boutemy
e7f3768b51
[MNG-5740] added maven-builder-support to dependency image
2015-02-28 18:12:16 +01:00
Hervé Boutemy
cc28bb2e11
forgot cropping image
2013-08-24 05:28:14 +02:00
Hervé Boutemy
d369c82a56
better representation of the fact that sisu-inject uses stock guice
...
where sisu-plexus uses patched version
2013-08-24 05:26:09 +02:00
Hervé Boutemy
f2e8106bf9
improved sisu/guice description:
...
- new Eclipse sisu structure
- added a link to guice, used through a sisu-patched version
2013-08-24 05:07:29 +02:00
Hervé Boutemy
7ffd13af5f
added links to toolchains descriptor reference
2013-07-27 23:10:34 +02:00
Jason van Zyl
137cbd8a97
Merge branch 'trunk' into eclipse-aether
...
Conflicts:
maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
maven-aether-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java
maven-aether-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java
maven-core/src/main/java/org/apache/maven/DefaultMaven.java
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java
maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixResult.java
maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
pom.xml
src/site/site.xml
2013-02-14 22:08:26 -05:00
Jason van Zyl
27ad9858d2
Merge branch 'aether' of github.com:bentmann/maven-3 into eclipse-aether
...
Conflicts:
.gitignore
apache-maven/pom.xml
maven-aether-provider/pom.xml
maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
maven-aether-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
maven-aether-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java
maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSession.java
maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenServiceLocator.java
maven-aether-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java
maven-artifact/pom.xml
maven-compat/pom.xml
maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
maven-core/pom.xml
maven-core/src/main/java/org/apache/maven/DefaultMaven.java
maven-core/src/main/java/org/apache/maven/ReactorReader.java
maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java
maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml
maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java
maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
maven-embedder/pom.xml
maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
maven-model-builder/pom.xml
maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
maven-model/pom.xml
maven-plugin-api/pom.xml
maven-plugin-api/src/main/mdo/plugin.mdo
maven-plugin-api/src/site/apt/index.apt
maven-repository-metadata/pom.xml
maven-settings-builder/pom.xml
maven-settings/pom.xml
pom.xml
src/site/site.xml
2013-02-14 20:21:50 -05:00
Kristian Rosenvold
176a85f43c
Fixed line feeds, added .gitattributes
2013-01-29 16:27:02 +01:00
Hervé Boutemy
ab86435af1
stay with fluido skin 1.2.1 because of MSKINS-69
2012-12-02 11:21:57 +01:00
Herve Boutemy
fb0cd240f3
added Reference menu
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1410816 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 02:29:00 +00:00
Herve Boutemy
7892b6d493
added Reference menu
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1410816 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 02:29:00 +00:00
Herve Boutemy
83436f27a7
updated skin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1380063 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 21:49:00 +00:00
Herve Boutemy
37c44e6a39
upgraded fuildo skin used
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1377394 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 09:04:22 +00:00
Olivier Lamy
55635911ec
fluido skin 1.2.1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1338061 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 08:44:39 +00:00
Olivier Lamy
fe39398f74
use new fluido skin for core ref site
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1208992 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 08:20:57 +00:00
Olivier Lamy
85d2044250
use new fluido skin for core ref site
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1208992 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 08:20:57 +00:00
Herve Boutemy
40cdcb7563
point to Aether and Sisu projects at Eclipse
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1172014 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 16:46:12 +00:00
Herve Boutemy
6ce900737d
improved documentation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1164976 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 08:54:11 +00:00
Herve Boutemy
3944b81734
updated title of introduction pages
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1164922 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 20:02:14 +00:00
Herve Boutemy
99994254c7
added Descriptors Reference menu
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1163038 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 22:08:23 +00:00
Herve Boutemy
d04c4be779
added missing breadcrumb
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1148626 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 06:06:59 +00:00
Herve Boutemy
3c3b778d03
updated url to match site organization: Maven core url is not the whole site but the core subset
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1147389 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:24:32 +00:00
Herve Boutemy
4a6f81e64e
prepare m.jxr.p 2.3 with its new aggregate goal
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1147388 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 09:12:26 +00:00
Herve Boutemy
f79592c3ce
added development menu
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1146478 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 21:05:42 +00:00
Herve Boutemy
e15d4a4dad
added links
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1139611 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 20:05:56 +00:00