Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.5.0-alpha-1, 3.5.0
-
None
-
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T15:39:06-04:00)
Maven home: /Users/cgould/dev/tools/apache-maven-3.5.0
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T15:39:06-04:00) Maven home: /Users/cgould/dev/tools/apache-maven-3.5.0 Java version: 1.8.0_131, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
Description
Basic multi-module project: common, client, and server modules.
$ mvn -f client package POM file client specified with the -f/--file command line argument does not exist [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building alternate-pom-client 1.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ alternate-pom-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/cgould/dev/personal/alternate-pom/client/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ alternate-pom-client --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ alternate-pom-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/cgould/dev/personal/alternate-pom/client/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ alternate-pom-client --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ alternate-pom-client --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ alternate-pom-client --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.764 s [INFO] Finished at: 2017-04-29T14:03:22-04:00 [INFO] Final Memory: 11M/309M [INFO] ------------------------------------------------------------------------
There is an error message, but the client module proceeds to build nonetheless.
I don't see the error message when I run:
$ mvn -f client/pom.xml package
I've verified it doesn't happen on 3.3.9, but it does happen on 3.5.0 and 3.5.0-alpha-1.
Sample project attached.
Attachments
Attachments
Issue Links
- breaks
-
MNG-5338 Accept a directory with -f/--file
- Closed