Skip to content

Error: Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign #4

@wuwei3

Description

@wuwei3

While building this project, I got error:

Generating E:\workspace_sensor\iotc-java-device-client\docs\com\github\lucadruda\iotc\device\exceptions\package-use.html...
Generating E:\workspace_sensor\iotc-java-device-client\docs\com\github\lucadruda\iotc\device\models\package-use.html...
Building index for all the packages and classes...
Generating E:\workspace_sensor\iotc-java-device-client\docs\overview-tree.html...
Generating E:\workspace_sensor\iotc-java-device-client\docs\index-all.html...
Generating E:\workspace_sensor\iotc-java-device-client\docs\deprecated-list.html...
Building index for all classes...
Generating E:\workspace_sensor\iotc-java-device-client\docs\allclasses-frame.html...
Generating E:\workspace_sensor\iotc-java-device-client\docs\allclasses-noframe.html...
Generating E:\workspace_sensor\iotc-java-device-client\docs\index.html...
Generating E:\workspace_sensor\iotc-java-device-client\docs\overview-summary.html...
Generating E:\workspace_sensor\iotc-java-device-client\docs\help-doc.html...
1 warning
[WARNING] Javadoc Warnings
[WARNING] E:\workspace_sensor\iotc-java-device-client\iotc-device-client\src\main\java\com\github\lucadruda\iotc\device\IoTCClient.java:81: warning: no @param for storage
[WARNING] public IoTCClient(String deviceId, String scopeId, IOTC_CONNECT authenticationType, Object options,
[WARNING] ^
[INFO] Building jar: E:\workspace_sensor\iotc-java-device-client\iotc-device-client\target\iotc-device-client-2.0.0-javadoc.jar
[INFO]
[INFO] --- maven-assembly-plugin:3.1.1:single (default) @ iotc-device-client ---
[INFO] Building jar: E:\workspace_sensor\iotc-java-device-client\iotc-device-client\target\iotc-device-client-2.0.0-jar-with-dependencies.jar
[INFO]
[INFO] --- maven-gpg-plugin:1.5:sign (sign-artifacts) @ iotc-device-client ---
'gpg.exe' is not recognized as an internal or external command,
operable program or batch file.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Azure IoTCentral Device Parent 2.0.0:
[INFO]
[INFO] Azure IoTCentral Device Parent ..................... SUCCESS [ 0.138 s]
[INFO] Azure IoT Central Java Device Client ............... FAILURE [ 9.607 s]
[INFO] Azure IoT Central Java Device Samples .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.333 s
[INFO] Finished at: 2021-01-27T17:16:04+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (sign-artifacts) on project iotc-device-client: Exit code: 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :iotc-device-client

how to resolve?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions