0
0

More than 5 years have passed since last update.

Maven3 エラーメモ

Posted at

Maven3 エラーメモ

maven-assembly-plugin:single failed: group id 'xxxxxx' is too big

依存しているjarをtar.gzでまとめようとしたら、assembly:singleが失敗した。
FAQ を確認したらこう書いてあった。

Tar complains about groupid value being too big
GNU tar has restrictions on max value of UID/GUID in tar files. Consider using the more well defined POSIX tar format, which should support larger values. Use tarLongFileMode=posix in the assembly:single goal.

pom.xml
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>3.1.0</version>
        <configuration>
          ...
          <tarLongFileMode>posix_warn</tarLongFileMode>
        </configuration>
        ...
      </plugin>
      ...
    </plugins>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0