Dominykas Mostauskis created MNG-5873: -----------------------------------------
Summary: .mvn/extensions.xml ignored under Cygwin Key: MNG-5873 URL: https://issues.apache.org/jira/browse/MNG-5873 Project: Maven Issue Type: Bug Affects Versions: 3.3.3, 3.3.1 Environment: Cygwin on Windows 8.1 Reporter: Dominykas Mostauskis Suppose I download example maven projects that use .mvn/extensions.xml and do mvn install: {code} git clone https://github.com/takari/polyglot-maven-examples cd polyglot-maven-examples/yaml mvn install {code} under Cygwin the extensions.xml is not accounted for: {code:title=Cygwin error} [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.187 s [INFO] Finished at: 2015-08-19T10:07:05+03:00 [INFO] Final Memory: 4M/75M [INFO] ------------------------------------------------------------------------ [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (D:\ivairus\cygwin\home\Domas\projektai\another-test\polyglot-maven-examples\yaml). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException {code} Under Windows CMD mvn install works fine. {code:title=Windows CMD success} [INFO] Scanning for projects... D:\ivairus\cygwin\home\Domas\projektai\another-test\polyglot-maven-examples\yaml\.polyglot.pom.yml [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building YAML Maven Love 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ yaml-project --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platfo rm dependent! [INFO] skip non existing resourceDirectory D:\ivairus\cygwin\home\Domas\projektai\another-test\polyg lot-maven-examples\yaml\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ yaml-project --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ yaml-project --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platfo rm dependent! [INFO] skip non existing resourceDirectory D:\ivairus\cygwin\home\Domas\projektai\another-test\polyg lot-maven-examples\yaml\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ yaml-project --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ yaml-project --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ yaml-project --- [INFO] Building jar: D:\ivairus\cygwin\home\Domas\projektai\another-test\polyglot-maven-examples\yam l\target\yaml-project-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ yaml-project --- [INFO] Installing D:\ivairus\cygwin\home\Domas\projektai\another-test\polyglot-maven-examples\yaml\t arget\yaml-project-0.0.1-SNAPSHOT.jar to C:\Users\Domas\.m2\repository\io\takari\polyglot\yaml-proje ct\0.0.1-SNAPSHOT\yaml-project-0.0.1-SNAPSHOT.jar [INFO] Installing D:\ivairus\cygwin\home\Domas\projektai\another-test\polyglot-maven-examples\yaml\. polyglot.pom.yml to C:\Users\Domas\.m2\repository\io\takari\polyglot\yaml-project\0.0.1-SNAPSHOT\yam l-project-0.0.1-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.038 s [INFO] Finished at: 2015-08-19T10:10:15+03:00 [INFO] Final Memory: 13M/178M [INFO] ------------------------------------------------------------------------ {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)