You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thomas Campbell (Jira)" <ji...@apache.org> on 2020/07/03 03:33:00 UTC

[jira] [Commented] (MPLUGIN-362) maven-jar-plugin Network Defect

    [ https://issues.apache.org/jira/browse/MPLUGIN-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150696#comment-17150696 ] 

Thomas Campbell commented on MPLUGIN-362:
-----------------------------------------

Example of Failure (Maven Jar Plugin 3.2.0)

 


V:\home\thomascampbell\Software\Personal\AotSccUtils>mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.aotscc:AotSccUtils >-----------------------
[INFO] Building AOTSCC Utils 2.0.8
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ AotSccUtils ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory V:\home\thomascampbell\Software\Personal\AotSccUtils\src\main\resources
[INFO] skip non existing resourceDirectory V:\home\thomascampbell\Software\Personal\AotSccUtils\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ AotSccUtils ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to V:\home\thomascampbell\Software\Personal\AotSccUtils\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ AotSccUtils ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory V:\home\thomascampbell\Software\Personal\AotSccUtils\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ AotSccUtils ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to V:\home\thomascampbell\Software\Personal\AotSccUtils\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ AotSccUtils ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.aotscc.utils.MailItTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.767 s - in com.aotscc.utils.MailItTest
[INFO] Running com.aotscc.utils.KodiitTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.756 s - in com.aotscc.utils.KodiitTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ AotSccUtils ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.312 s
[INFO] Finished at: 2020-07-02T20:32:17-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.2.0:jar (default-jar) on project AotSccUtils: Error assembling JAR: Failed to determine inclusion status for: V:\home\thomascampbell\S
oftware\Personal\AotSccUtils\pom.xml: V:\home\thomascampbell\Software\Personal\AotSccUtils\pom.xml: Incorrect function -> [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/MojoExecutionException

> maven-jar-plugin Network Defect
> -------------------------------
>
>                 Key: MPLUGIN-362
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-362
>             Project: Maven Plugin Tools
>          Issue Type: Bug
>          Components: Plugin Plugin
>    Affects Versions: 3.2
>         Environment: Windows 10 mounting a WSL 2 Unbuntu File Share
>            Reporter: Thomas Campbell
>            Priority: Minor
>
> Executing of Maven Goal such as "mvn install" gives the following error when 
> Error assembling JAR: Failed to determine inclusion status for: <Drive>:<Path>
> When <Drive>: is a network mounted drive.
> This specifically happens when the "mounted" drive is a WSL 2 mounted drive.  Windows mounts the drive and when the command is executed the error occurs.
> This does NOT happen for Version 2.5 of maven-jar-plugin.  This is apparently known in the deep recesses of the internet.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)