Started by user Frederic Gurr Rebuilds build #46 Running as Frederic Gurr Agent default-agent-lth79 is provisioned from template Kubernetes Pod Template --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label: "" name: "default-agent-lth79" spec: containers: - env: - name: "MAVEN_OPTS" value: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn" - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.ee4j.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "default-agent-lth79" - name: "MAVEN_CONFIG" value: "-B -e" - name: "JENKINS_NAME" value: "default-agent-lth79" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.ee4j.svc.cluster.local/ee4j/" - name: "HOME" value: "/home/jenkins" image: "eclipsecbijenkins/jenkins-agent:3.35@sha256:dff125e05404688a78bd67d5b47d107d98ec7583282e8ed9ca6646a2a76874e2" imagePullPolicy: "IfNotPresent" name: "jnlp" resources: limits: memory: "4096Mi" cpu: "2000m" requests: memory: "4096Mi" cpu: "1000m" securityContext: privileged: false tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "toolchains-xml" readOnly: true subPath: "toolchains.xml" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "settings-security-xml" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/settings.xml" name: "settings-xml" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false workingDir: "/home/jenkins/agent" hostNetwork: false nodeSelector: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} volumes: - name: "settings-security-xml" secret: items: - key: "settings-security.xml" path: "settings-security.xml" secretName: "m2-secret-dir" - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-ee4j" readOnly: true - configMap: items: - key: "toolchains.xml" path: "toolchains.xml" name: "m2-dir" name: "toolchains-xml" - emptyDir: medium: "" name: "volume-2" - configMap: name: "known-hosts" name: "volume-1" - name: "settings-xml" secret: items: - key: "settings.xml" path: "settings.xml" secretName: "m2-secret-dir" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-3" Building remotely on default-agent-lth79 in workspace /home/jenkins/agent/workspace/ee4j-parent-master [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... using credential github-bot-ssh Cloning the remote Git repository Cloning repository git@github.com:eclipse-ee4j/ee4j.git > git init /home/jenkins/agent/workspace/ee4j-parent-master # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/ee4j.git > git --version # timeout=10 using GIT_SSH to set credentials GitHub bot SSH > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/ee4j.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/ee4j.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/ee4j.git # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/ee4j.git using GIT_SSH to set credentials GitHub bot SSH > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/ee4j.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 4a726e4320a0c2bf0286578e407fd98b85e7f6ff (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4a726e4320a0c2bf0286578e407fd98b85e7f6ff # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b master 4a726e4320a0c2bf0286578e407fd98b85e7f6ff # timeout=10 Commit message: "Moved Nexus URLs to properties. (#57)" > git rev-list --no-walk 4a726e4320a0c2bf0286578e407fd98b85e7f6ff # timeout=10 [ee4j-parent-master] $ /bin/sh -xe /tmp/jenkins7769291913792273430.sh + gpg --batch --import **** gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key 5796E91EE6619C69: public key "Eclipse EE4J Project <ee4j-dev@eclipse.org>" imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key 5796E91EE6619C69: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 + gpg --list-keys --with-colons + awk -F: '/fpr:/ {print $10}' + sort -u + echo -e '5\ny\n' + gpg --batch --command-fd 0 --expert --edit-key AA70C7C433D501636392EC02153E7A3C2B4E5118 trust Secret subkeys are available. pub rsa4096/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: unknown validity: unknown ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ unknown] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> pub rsa4096/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: unknown validity: unknown ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ unknown] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu pub rsa4096/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ unknown] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> Please note that the shown key validity is not necessarily correct unless you restart the program. + echo -e '5\ny\n' + gpg --batch --command-fd 0 --expert --edit-key C3F530A8FDE7926E0F6C71475796E91EE6619C69 trust Secret subkeys are available. gpg: checking the trustdb gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u gpg: next trustdb check due at 2023-04-26 pub rsa4096/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ultimate] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> pub rsa4096/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ultimate] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu pub rsa4096/5796E91EE6619C69 created: 2018-04-27 expires: 2023-04-26 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/153E7A3C2B4E5118 created: 2018-04-27 expires: 2023-04-26 usage: S [ultimate] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org> [ee4j-parent-master] $ /bin/bash -ex /tmp/jenkins2538408490127741116.sh + M2_HOME=/opt/tools/apache-maven/latest + PATH=/opt/tools/java/oracle/jdk-9/latest/bin:/opt/tools/apache-maven/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + VERSIONS_PLUGIN=org.codehaus.mojo:versions-maven-plugin:2.7 + HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.1.0 + BUILD_DIR=parent + cd parent + grep '<version>' pom.xml + grep SNAPSHOT <version>1.0.6-SNAPSHOT</version> ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version ++ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$' + SNAPSHOT_VERSION=1.0.6-SNAPSHOT + '[' -z 1.0.10-b123 ']' + '[' -z '' ']' ++ echo 1.0.10-b123 ++ sed -e 's/\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/' + NEXT_VERSION=1.0 + set -f + NEXT_COMPONENTS=(${RELEASE_VERSION//\./ }) + LAST_INDEX=2 + NEXT_COMPONENTS[${LAST_INDEX}]=11 ++ echo 1 0 11 ++ tr ' ' . + NEXT_VERSION=1.0.11-SNAPSHOT + RELEASE_BRANCH=1.0.10-b123-RELEASE + RELEASE_TAG=1.0.10-b123 + STAGING_NAME=orgeclipseee4j ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.artifactId ++ grep -Ev '(^\[)' Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0 + ARTIFACT_ID=project ++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.groupId ++ grep -Ev '(^\[)' Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0 + GROUP_ID=org.eclipse.ee4j + echo '-[ Generated variables ]----------------------------------------' -[ Generated variables ]---------------------------------------- + echo 'Group ID: org.eclipse.ee4j' Group ID: org.eclipse.ee4j + echo 'Artifact ID: project' Artifact ID: project + echo 'Current version: 1.0.6-SNAPSHOT' Current version: 1.0.6-SNAPSHOT + echo 'Release version: 1.0.10-b123' Release version: 1.0.10-b123 + echo 'Next version: 1.0.11-SNAPSHOT' Next version: 1.0.11-SNAPSHOT + echo 'Nexus ID prefix: orgeclipseee4j' Nexus ID prefix: orgeclipseee4j + '[' -z 1.0.6-SNAPSHOT -o -z 1.0.10-b123 -o -z 1.0.11-SNAPSHOT ']' + '[' true = true ']' + echo '-[ Dry run turned on ]----------------------------------------------------------' -[ Dry run turned on ]---------------------------------------------------------- + MVN_DEPLOY_ARGS= + echo '-[ Skipping GitHub branch and tag checks ]--------------------------------------' -[ Skipping GitHub branch and tag checks ]-------------------------------------- + git branch --delete 1.0.10-b123-RELEASE error: branch '1.0.10-b123-RELEASE' not found. + git checkout -b 1.0.10-b123-RELEASE Switched to a new branch '1.0.10-b123-RELEASE' + git tag --delete 1.0.10-b123 error: tag '1.0.10-b123' not found. + git config --global user.email ee4j-bot@eclipse.org + git config --global user.name 'Eclipse EE4J Bot' + echo '-[ Checking POM ]---------------------------------------------------------------' -[ Checking POM ]--------------------------------------------------------------- + mvn -B -U -C clean verify Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0 [INFO] Scanning for projects... [INFO] [INFO] ----------------------< org.eclipse.ee4j:project >---------------------- [INFO] Building EE4J Project 1.0.6-SNAPSHOT [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ project --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.480 s [INFO] Finished at: 2020-01-28T11:05:05Z [INFO] ------------------------------------------------------------------------ + echo '-[ Parent POM Staging Repository List ]-------------------------------------------' -[ Parent POM Staging Repository List ]------------------------------------------- + mvn -B nexus-staging:rc-list + egrep '^\[INFO\] orgeclipseee4j\-[0-9]+[ ]+[A-Z]+[ ]' Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/jenkins/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar) to field java.util.TreeMap.comparator WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release + true + '[' -z 1.0.6-SNAPSHOT -o -z 1.0.10-b123 -o -z 1.0.11-SNAPSHOT ']' + mvn -B -U -C -DnewVersion=1.0.10-b123 -DgenerateBackupPoms=false org.codehaus.mojo:versions-maven-plugin:2.7:set Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0 [INFO] Scanning for projects... [INFO] [INFO] ----------------------< org.eclipse.ee4j:project >---------------------- [INFO] Building EE4J Project 1.0.6-SNAPSHOT [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- versions-maven-plugin:2.7:set (default-cli) @ project --- [INFO] Searching for local aggregator root... [INFO] Local aggregation root: /home/jenkins/agent/workspace/ee4j-parent-master/parent [INFO] Processing change of org.eclipse.ee4j:project:1.0.6-SNAPSHOT -> 1.0.10-b123 [INFO] Processing org.eclipse.ee4j:project [INFO] Updating project org.eclipse.ee4j:project [INFO] from version 1.0.6-SNAPSHOT to 1.0.10-b123 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.460 s [INFO] Finished at: 2020-01-28T11:05:29Z [INFO] ------------------------------------------------------------------------ + cd /home/jenkins/agent/workspace/ee4j-parent-master + echo '-[ Commit modified pom.xml files ]----------------------------------------------' -[ Commit modified pom.xml files ]---------------------------------------------- ++ git status ++ grep -E 'modified:.*pom\.xml' ++ sed -e 's/[[:space:]][[:space:]]*modified:[[:space:]][[:space:]]*//' + POM_FILES=parent/pom.xml + git add parent/pom.xml + git commit -m 'Prepare release org.eclipse.ee4j:project:1.0.10-b123' [1.0.10-b123-RELEASE 378a52d] Prepare release org.eclipse.ee4j:project:1.0.10-b123 1 file changed, 1 insertion(+), 1 deletion(-) + cd parent + '[' true '!=' true ']' + cat pom.xml <?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0, which is available at http://www.eclipse.org/legal/epl-2.0. This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception, which is available at https://www.gnu.org/software/classpath/license.html. SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.eclipse.ee4j</groupId> <artifactId>project</artifactId> <version>1.0.10-b123</version> <packaging>pom</packaging> <name>EE4J Project</name> <url>https://projects.eclipse.org/projects/ee4j</url> <description> Eclipse Enterprise for Java (EE4J) is an open source initiative to create standard APIs, implementations of those APIs, and technology compatibility kits for Java runtimes that enable development, deployment, and management of server-side and cloud-native applications. </description> <organization> <name>Eclipse Foundation</name> <url>https://www.eclipse.org</url> </organization> <inceptionYear>2017</inceptionYear> <developers> <developer> <id>eclipseee4j</id> <name>Eclipse EE4J Developers</name> <organization>Eclipse Foundation</organization> <email>ee4j-pmc@eclipse.org</email> </developer> </developers> <licenses> <license> <name>Eclipse Public License v. 2.0</name> <url>https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt</url> <distribution>repo</distribution> </license> <license> <name>GNU General Public License, version 2 with the GNU Classpath Exception</name> <url>https://www.gnu.org/software/classpath/license.html</url> <distribution>repo</distribution> </license> </licenses> <issueManagement> <system>GitHub Issues</system> <url>https://github.com/eclipse-ee4j/ee4j/issues</url> </issueManagement> <scm> <connection>scm:git:git@github.com:eclipse-ee4j/ee4j.git</connection> <developerConnection>scm:git:git@github.com:eclipse-ee4j/ee4j.git</developerConnection> <url>https://github.com/eclipse-ee4j/ee4j</url> </scm> <mailingLists> <mailingList> <name>Community discussions</name> <post>jakarta.ee-community@eclipse.org</post> <subscribe>https://accounts.eclipse.org/mailing-list/jakarta.ee-community</subscribe> <unsubscribe>https://accounts.eclipse.org/mailing-list/jakarta.ee-community</unsubscribe> <archive>https://dev.eclipse.org/mhonarc/lists/jakarta.ee-community/</archive> <otherArchives> <otherArchive>http://dev.eclipse.org/mhonarc/lists/jakarta.ee-community/maillist.rss</otherArchive> </otherArchives> </mailingList> <mailingList> <name>PMC discussions</name> <post>ee4j-pmc@eclipse.org</post> <subscribe>https://accounts.eclipse.org/mailing-list/ee4j-pmc</subscribe> <unsubscribe>https://accounts.eclipse.org/mailing-list/ee4j-pmc</unsubscribe> <archive>https://dev.eclipse.org/mhonarc/lists/ee4j-pmc/</archive> <otherArchives> <otherArchive>http://dev.eclipse.org/mhonarc/lists/ee4j-pmc/maillist.rss</otherArchive> </otherArchives> </mailingList> </mailingLists> <properties> <sonatypeOssDistMgmtNexusUrl>https://jakarta.oss.sonatype.org/</sonatypeOssDistMgmtNexusUrl> <sonatypeOssDistMgmtSnapshotsUrl>${sonatypeOssDistMgmtNexusUrl}content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl> <sonatypeOssDistMgmtStagingUrl>${sonatypeOssDistMgmtNexusUrl}content/repositories/staging/</sonatypeOssDistMgmtStagingUrl> <sonatypeOssDistMgmtReleasesUrl>${sonatypeOssDistMgmtNexusUrl}service/local/staging/deploy/maven2/</sonatypeOssDistMgmtReleasesUrl> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- Initialize release.arguments to empty, otherwise if not defined it can fail the release plugin. --> <release.arguments></release.arguments> </properties> <distributionManagement> <snapshotRepository> <id>ossrh</id> <name>Sonatype Nexus Snapshots</name> <url>${sonatypeOssDistMgmtSnapshotsUrl}</url> </snapshotRepository> <repository> <id>ossrh</id> <name>Sonatype Nexus Releases</name> <url>${sonatypeOssDistMgmtReleasesUrl}</url> </repository> </distributionManagement> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> <useReleaseProfile>false</useReleaseProfile> <arguments>-Poss-release ${release.arguments}</arguments> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <configuration> <serverId>ossrh</serverId> <nexusUrl>${sonatypeOssDistMgmtNexusUrl}</nexusUrl> <autoReleaseAfterClose>false</autoReleaseAfterClose> <!-- Skip based on the maven.deploy.skip property --> <skipNexusStagingDeployMojo>${maven.deploy.skip}</skipNexusStagingDeployMojo> </configuration> </plugin> </plugins> </pluginManagement> </build> <profiles> <!-- This profile provides configuration for the plugins that are required are in order to deploy non SNAPSHOT artifacts. SNAPSHOT artifacts can be deployed without using any profile. --> <profile> <id>oss-release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>[3.0.4,)</version> <message>Maven 3.0 through 3.0.3 inclusive does not pass correct settings.xml to Maven Release Plugin.</message> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <!-- Older versions have issues with the gpg passphrase --> <version>1.6</version> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <extensions>true</extensions> </plugin> </plugins> </build> </profile> <!-- This profile enables consuming snapshot artifacts from the ossrh snapshots repository. --> <profile> <id>snapshots</id> <activation> <activeByDefault>false</activeByDefault> </activation> <repositories> <repository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>${sonatypeOssDistMgmtSnapshotsUrl}</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>${sonatypeOssDistMgmtSnapshotsUrl}</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> <!-- This profile enables consuming artifacts from the ossrh staging repository group. --> <profile> <id>staging</id> <activation> <activeByDefault>false</activeByDefault> </activation> <repositories> <repository> <id>sonatype-nexus-staging</id> <name>Sonatype Nexus Staging</name> <url>${sonatypeOssDistMgmtStagingUrl}</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>sonatype-nexus-staging</id> <name>Sonatype Nexus Staging</name> <url>${sonatypeOssDistMgmtStagingUrl}</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> </project> + mvn -B -U -C clean verify gpg:sign Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0 [INFO] Scanning for projects... [INFO] [INFO] ----------------------< org.eclipse.ee4j:project >---------------------- [INFO] Building EE4J Project 1.0.10-b123 [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ project --- [INFO] [INFO] --- maven-gpg-plugin:1.6:sign (default-cli) @ project --- gpg: signing failed: Not a tty gpg: signing failed: Not a tty [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.201 s [INFO] Finished at: 2020-01-28T11:05:34Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (default-cli) on project project: Exit code: 2 -> [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 Build step 'Execute shell' marked build as failure Finished: FAILURE