[ https://issues.apache.org/jira/browse/MJAR-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17257012#comment-17257012 ]
Patrik Forsman edited comment on MJAR-273 at 12/31/20, 2:34 PM: ---------------------------------------------------------------- The error message comes from dependency Plexus-Archiver which in turn relies on Plexus-IO. There the the class FileAttributes constructor has had some rewrite to its constructor, but there is no release of this unintentional fix as of writing. It looks like the network share isn't providing file ownership information which was required in code to exist. was (Author: pforsman): The error message comes from dependency Plexus-Archiver which in turn relies on Plexus-IO. There the the class FileAttributes constructor has had some rewrite to its constructor, but there is no release of this unintentional fix as of writing. > maven-jar-plugin Network Defect > ------------------------------- > > Key: MJAR-273 > URL: https://issues.apache.org/jira/browse/MJAR-273 > Project: Maven JAR Plugin > Issue Type: Bug > Affects Versions: 3.2.0 > 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)