打包报错,  

mvn install后加上参数-Dgpg.skip,例如:mvn install -Dgpg.skip  

即可解决。

我们也可以去掉 这个 插件 

 <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <executions>
                    <execution>
                        <id>sign-artifacts</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

或者打包的时候 不用  install 命令,

用  package 这个打包命令   mvn clean package 也是可以的

相关文章:

  • 2022-12-23
  • 2021-10-21
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2021-03-29
猜你喜欢
  • 2022-12-23
  • 2021-11-25
  • 2021-05-14
  • 2021-05-11
  • 2022-12-23
  • 2022-01-08
  • 2022-01-21
相关资源
相似解决方案