michael-o commented on PR #102:
URL: 
https://github.com/apache/maven-assembly-plugin/pull/102#issuecomment-1328104245

   > Ok i think i understand your point. Does the latest change fix the issue?
   
   The change is incomplete which you handle the exception, you ignore it in 
the test and don't skip the test:
   ```
   Caused by: 
org.apache.maven.plugins.assembly.archive.ArchiveCreationException: Unable to 
find native library for assembly 'format-test'
       at 
org.apache.maven.plugins.assembly.archive.DefaultAssemblyArchiver.createArchive 
(DefaultAssemblyArchiver.java:197)
       at org.apache.maven.plugins.assembly.mojos.AbstractAssemblyMojo.execute 
(AbstractAssemblyMojo.java:523)
       at org.apache.maven.plugins.assembly.mojos.SingleAssemblyMojo.execute 
(SingleAssemblyMojo.java:60)
       at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
   ```
   
   Moreover, you might want to map `.tzst` as well:
   ```
   <assembly xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.1 
https://maven.apache.org/xsd/assembly-2.1.1.xsd"; 
xmlns="http://maven.apache.org/ASSEMBLY/2.1.1";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
     <id>format-test</id>
     <formats>
       <format>dir</format>
       <format>zip</format>
       <format>tar</format>
       <format>tar.gz</format>
       <format>tgz</format>
       <format>tar.bz2</format>
       <format>tbz2</format>
       <format>jar</format>
       <format>war</format>
       <format>tar.snappy</format>
       <format>tar.xz</format>
       <format>txz</format>
       <format>tar.zst</format>
     </formats>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to