Apache Maven core
Go to file
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
.github Run GitHub actions integration tests with Java 17-ea (#466) 2021-04-18 20:17:30 +02:00
apache-maven [MNG-7151] Upgrade Maven Resolver to 1.7.0 2021-05-11 20:59:18 +02:00
maven-artifact [MNG-7128] keep blocked attribute from mirrors in artifact repositories 2021-03-27 03:00:25 +01:00
maven-bom update staging site to https://maven.apache.org/ref/4-LATEST 2021-04-05 09:21:45 +02:00
maven-builder-support Test for empty locations and avoid printing them 2021-01-30 23:04:46 +01:00
maven-compat [MNG-7128] keep blocked attribute from mirrors in artifact repositories 2021-03-27 03:00:25 +01:00
maven-core [MNG-6294] Convert MavenPluginValidator into a JSR 330 component 2021-05-03 08:09:58 +02:00
maven-embedder [MNG-7032] Evaluate --help and --version after configuring the logging/color 2021-05-06 09:54:43 +02:00
maven-model [MNG-7035] Migrate unit tests to Unit 5 2021-01-15 15:07:06 +01:00
maven-model-builder [MNG-6802] Fix bug in FileProfileActivator (#347) 2021-05-15 11:51:15 +00:00
maven-model-transform [MNG-6656] rename build+consumer filters to buildToRaw+rawToConsumer 2021-04-04 19:49:51 +02:00
maven-plugin-api [MNG-7035] Migrate unit tests to Unit 5 2021-01-15 15:07:06 +01:00
maven-repository-metadata Updating version in preparation for Maven 4 2020-11-27 12:22:47 +01:00
maven-resolver-provider [MNG-7151] Upgrade Maven Resolver to 1.7.0 2021-05-11 20:59:18 +02:00
maven-settings [MNG-7117] add support for blocked mirror 2021-03-19 20:36:00 +01:00
maven-settings-builder [MNG-6114] Elements from the global settings should be ordered before elements from the user settings 2021-02-28 19:40:48 +01:00
maven-slf4j-provider [MNG-7035] Migrate unit tests to Unit 5 2021-01-15 15:07:06 +01:00
maven-slf4j-wrapper [MNG-7035] Migrate unit tests to Unit 5 2021-01-15 15:07:06 +01:00
maven-test-support [MNG-7035] add menu 2021-04-05 18:46:40 +02:00
maven-wrapper [MNG-5937] init site for Maven Wrapper reference documentation 2021-04-05 18:44:35 +02:00
src/site [MNG-7136] add forgotten maven-slf4j-wrapper 2021-04-05 11:49:09 +02:00
.asf.yaml Added label apache-maven 2019-12-08 12:39:24 +01:00
.gitattributes Fixed line feeds, added .gitattributes 2013-01-29 16:27:02 +01:00
.gitignore Ignore .checkstyle 2020-12-25 10:36:12 +01:00
CONTRIBUTING.md [MNG-6559] Fix mailing list URL (#230) 2019-01-13 22:36:47 +13:00
Jenkinsfile Replace tabs with proper count of spaces 2020-12-24 19:50:27 +01:00
Jenkinsfile.its Add a Jenkinsfile to run it test (per default it runs it master branch but now there is a parameter to use a different it source branch) (#355) 2020-06-02 09:09:41 +10: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 [MNG-6399] - Lift JDK minimum to JDK 8 2021-03-13 21:21:20 +01:00
deploySite.sh Use properly quoted shell arguments with "$@" 2019-06-10 20:26:40 +02:00
doap_Maven.rdf Maven 3.8.1 released 2021-04-04 17:50:20 +02:00
pom.xml [MNG-7151] Upgrade Maven Resolver to 1.7.0 2021-05-11 20:59:18 +02:00

README.md

Apache Maven

ASF Jira Apache License, Version 2.0, January 2004 Maven Central 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 8+
  • Maven 3.0.5 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