Maven Use STAR or POSIX extensions to overcome this limit 报错问题解决

 

问题:Maven assembly-plugin 在打包的时候如果出现group id '707420648' is too big ( > 2097151 ). Use STAR or POSIX extensions to overcome this limit

解决:只需在assembly-plugin的<configuration>标签下加入<tarLongFileMode>posix</tarLongFileMode>即可

示例如下:

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<tarLongFileMode>posix</tarLongFileMode>
</configuration>
posted @ 2023-02-03 14:27  大浪不惊涛  阅读(264)  评论(0编辑  收藏  举报