打包报错,
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 也是可以的