Bug 561184 - Publish Eclipse 4.15 to maven central
Change-Id: I0518b4b1ba0059024c04d869f72dc8502caf7be8
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
diff --git a/publish-to-maven-central/pde-pom.xml b/publish-to-maven-central/pde-pom.xml
index d576e6b..e55a638 100644
--- a/publish-to-maven-central/pde-pom.xml
+++ b/publish-to-maven-central/pde-pom.xml
@@ -28,10 +28,23 @@
<gpgArguments>
<arg>--default-key</arg>
<arg>${gpg.key.id}</arg>
- <arg>--pinentry-mode</arg>
- <arg>loopback</arg>
</gpgArguments>
</configuration>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ <configuration>
+ <gpgArguments>
+ <arg>--pinentry-mode</arg>
+ <arg>loopback</arg>
+ </gpgArguments>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
diff --git a/publish-to-maven-central/publishPDE.sh b/publish-to-maven-central/publishPDE.sh
index 39adf89..6487e97 100644
--- a/publish-to-maven-central/publishPDE.sh
+++ b/publish-to-maven-central/publishPDE.sh
@@ -45,7 +45,7 @@
URL=https://oss.sonatype.org/service/local/staging/deploy/maven2/
REPO=ossrh
SETTINGS=/home/jenkins/.m2/settings-deploy-ossrh-pde.xml
-MVN=/opt/tools/apache-maven/latest/bin/mvn
+MVN="/opt/tools/apache-maven/latest/bin/mvn -e -X"
/bin/mkdir .log