Apache Maven core
Go to file
Tamas Cservenak 42559937d8
[MNG-7854] Warn if imported dep is ignored (#1370)
The artificial (or "bolted on") scope "import" behaves wildly differently that rest of Maven, causes surprise to our users. For start, we should emit "actionable" warnings about these, ultimate goal is to align this behaviour with "maven way" of working ("closest occurence wins" vs current weird "direct occurrence then first occurence wins" strategy).

Warnings are only created when the dependency is not directly managed. The warning also suggests to add a direct managed dependency to get rid of it, so it's now helpful and actionnable.

---

https://issues.apache.org/jira/browse/MNG-7854
2024-02-01 17:25:04 +01:00
.github [MNG-7911] Require JDK 11 and support JDK 21 at build time (#1278) 2023-10-16 13:25:27 +02:00
.mvn Improve the use of checkstyle in the build (#477) 2021-07-06 08:09:20 +02:00
apache-maven [MNG-8036] [MNG-8017] [MNG-8022] Upgrade JLine to 3.25.1 (#1390) 2024-01-29 16:51:24 +01:00
api [MNG-8037] Restrict project to the entity being built and make it immutable (#1389) 2024-01-31 00:39:19 +01:00
build [MNG-7553] New clean API with immutable model (#703) 2022-10-02 10:41:25 +02:00
maven-artifact [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-bom [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-builder-support [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-compat [MNG-8026] Maven drives regarding scopes (#1392) 2024-01-25 14:58:24 +01:00
maven-core [MNG-8037] Restrict project to the entity being built and make it immutable (#1389) 2024-01-31 00:39:19 +01:00
maven-embedder [MNG-8006] [MNG-8021] SPI to contribute properties and more (#1384) 2024-01-19 12:00:28 +01:00
maven-model [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-model-builder [MNG-7854] Warn if imported dep is ignored (#1370) 2024-02-01 17:25:04 +01:00
maven-plugin-api [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-repository-metadata [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-resolver-provider [MNG-8035] Update to Resolver 2.0.0-alpha-7 (#1394) 2024-01-29 16:27:43 +01:00
maven-settings [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-settings-builder [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-slf4j-provider [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-slf4j-wrapper [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-toolchain-builder [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-toolchain-model [maven-release-plugin] prepare for next development iteration 2024-01-12 10:41:50 +01:00
maven-xml-impl [MNG-8014] Fix multithreaded builder (#1386) 2024-01-22 18:27:48 +01:00
src [MNG-8014] Fix multithreaded builder (#1386) 2024-01-22 18:27:48 +01:00
.asf.yaml MNG for Jira auto-link 2023-05-15 15:24:09 +02:00
.git-blame-ignore-revs [MNG-7601] Fix git blame rev 2022-11-22 15:38:45 +01:00
.gitattributes Fixed line feeds, added .gitattributes 2013-01-29 16:27:02 +01:00
.gitignore Make sure RAT plugin ignores files in the target folder (#813) 2022-10-05 15:37:00 +02:00
CONTRIBUTING.md (doc) Update dead link for Github PR docs 2021-10-10 11:48:27 +02:00
Jenkinsfile Reuse the same repository so that ITs can access maven snapshot jars from the repository (#1277) 2023-10-19 13:53:44 +02:00
Jenkinsfile.its [MWRAPPER-14] remove Maven Wrapper from core 2021-12-26 17:42:35 +01:00
Jenkinsfile.s390x Improve build on s390 (#1313) 2023-11-19 16:46:24 +01:00
LICENSE Add a LICENSE/NOTICE that can be picked up for the src assembly 2013-09-11 16:39:30 -04:00
NOTICE update copyright year 2019-11-16 23:18:37 +01:00
README.md Upgrade Build Requirements 2023-11-13 15:03:09 +01:00
deploySite.sh Use properly quoted shell arguments with "$@" 2019-06-10 20:26:40 +02:00
doap_Maven.rdf Update DOAP w/ Maven 3.9.6 release 2023-12-01 12:47:44 +01:00
pom.xml [MNG-8036] [MNG-8017] [MNG-8022] Upgrade JLine to 3.25.1 (#1390) 2024-01-29 16:51:24 +01:00

README.md

Apache Maven

ASF Jira Apache License, Version 2.0, January 2004 Maven Central Reproducible Builds Jenkins Status Jenkins tests

Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.

If you think you have found a bug, please file an issue in the Maven Issue Tracker.

Documentation

More information can be found on Apache Maven Homepage. Questions related to the usage of Maven should be posted on the Maven User List.

Where can I get the latest release?

You can download the release source from our download page.

Contributing

If you are interested in the development of Maven, please consult the documentation first and afterward you are welcome to join the developers mailing list to ask questions or discuss new ideas/features/bugs etc.

Take a look into the contribution guidelines.

License

This code is under the Apache License, Version 2.0, January 2004.

See the NOTICE file for required notices and attributions.

Donations

Do you like Apache Maven? Then donate back to the ASF to support the development.

Quick Build

If you want to bootstrap Maven, you'll need:

  • Java 11+
  • Maven 3.6.3 or later
  • Run Maven, specifying a location into which the completed Maven distro should be installed:
    mvn -DdistributionTargetDir="$HOME/app/maven/apache-maven-4.0.x-SNAPSHOT" clean package