Yes, use 1.3.1 for eclipse-jarsigner-plugin because the URLs
used for the signing service changed a while back.
Hello Ed,
the build process is not working much better using the
correct git repo ;-)
But still I run into another problem regarding the signing
plugin
The profile configuration in the pom.xml looks like this:
<profile>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200a-plugin</artifactId>
<version>${tycho-extras-version}</version>
<executions>
<execution>
<id>pack200-normalize</id>
<goals>
<goal>normalize</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<version>1.1.3</version>
<executions>
<execution>
<id>sign</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200b-plugin</artifactId>
<version>${tycho-extras-version}</version>
<executions>
<execution>
<id>pack200-pack</id>
<goals>
<goal>pack</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
I am using tycho-version 1.3.0
The error message is:
....
22:52:36 [INFO] --- tycho-pack200b-plugin:1.3.0:pack (pack200-pack) @ org.eclipse.bpmn2.modeler.help ---
22:52:36 [INFO] Pack200 packing jar /home/jenkins/agent/workspace/bpmn2-modeler.nightly/plugins/org.eclipse.bpmn2.modeler.help/target/org.eclipse.bpmn2.modeler.help-1.5.4-SNAPSHOT.jar
22:52:36 [INFO]
22:52:36 [INFO] --- eclipse-jarsigner-plugin:1.1.3:sign (sign) @ org.eclipse.bpmn2.modeler.help ---
22:52:37 [INFO] Signing jar: /home/jenkins/agent/workspace/bpmn2-modeler.nightly/plugins/org.eclipse.bpmn2.modeler.help/target/org.eclipse.bpmn2.modeler.help-1.5.4-SNAPSHOT.jar
22:52:38 May 27, 2022 8:52:38 PM org.apache.http.impl.execchain.RetryExec execute
22:52:38 INFO: I/O exception (java.net.NoRouteToHostException) caught when processing request to {}->http://build.eclipse.org:31338: No route to host (Host unreachable)
22:52:38 May 27, 2022 8:52:38 PM org.apache.http.impl.execchain.RetryExec execute
22:52:38 INFO: Retrying request to {}->http://build.eclipse.org:31338
22:52:41 May 27, 2022 8:52:41 PM org.apache.http.impl.execchain.RetryExec execute
.....
To be honest I do not know from where the hostname
'build.eclipse.org:31338' came from and why the Jenkins did
not know this
Upgrading the tycho plugin to 2.7.2 as you mentioned before
seems not to solve the problem. Can it be the version of the
eclipse-jarsigner-plugin 1.1.3?
Regards
Ralph
On 27.05.22 21:22, Ed Merks wrote:
Ralph,
Your build uses
-Pplatform-2022-06
But you have no such profile.
The last profile in the root pom is this one for
platform-2020-09:
This is why no eclipse-site
property is defined and why the unexpanded ${eclipse-site}
is used as a URL causing the failure message
Regards,
Ed
On 27.05.2022 20:31, Ralph Soika
wrote:
Hello,
thanks for your response. Could it be that using the
protocol HTTP instead of HTTPS is causing such an issue?
I have now updated the pom and started a new build. Let's
see what is happening....
Best regards
Ralph
On 27.05.22 19:45, Ed Merks
wrote:
Ralph,
Probably it's bad to use Java 8.
15:46:30 Java version: 1.8.0_202, vendor: Oracle Corporation, runtime: /opt/tools/java/oracle/jdk-8/1.8.0_202/jre
I think you'll need to switch
to Java 11. I'm also not sure which version of Tycho
you are using... I think it's
<tycho-version>1.7.0</tycho-version>
But probably something like
2.7.1 or 2.7.2 would be better.
I don't see where the system
property for this is being set.
<url>${eclipse-site}</url>
I see stuff like this:
<!-- 2020-09 -->
<profile>
<id>platform-2020-09</id>
<activation>
<property>
<name>platform-version-name</name>
<value>2020-09</value>
</property>
</activation>
<properties>
<eclipse-site>http://download.eclipse.org/releases/2020-09</eclipse-site>
<platform-version>[4.8,5.2)</platform-version>
<platform-version-name>2020-09</platform-version-name>
<eclipse.orbit.url>https://download.eclipse.org/tools/orbit/S-builds/S20200727174946/repository</eclipse.orbit.url>
<!-- S20200727174946 I20200807105332 -->
</properties>
<!--
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<useUIThread>false</useUIThread>
</configuration>
</plugin>
</plugins>
</build>
-->
</profile>
But nothing for 2022-06...
On 27.05.2022 18:27, Ralph
Soika wrote:
Hello,
I run into a strange problem with my nightly Build
job in jenkins. The job always failed after more than
1 hour with the following message:
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[INFO] Computing target platform for MavenProject: org.eclipse.bpmn2:org.eclipse.bpmn2:1.5.1-SNAPSHOT @ /home/jenkins/agent/workspace/bpmn2-modeler.nightly/org.eclipse.bpmn2/pom.xml
[ERROR] Internal error: java.lang.RuntimeException: Invalid repository URL: ${eclipse-site}: no protocol: ${eclipse-site} -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Invalid repository URL: ${eclipse-site}
The project code seems to be ok. I can build the
project locally with maven without any problem:
$mvn clean install
-Pplatform-2022-06,sign
From the error message it looks like Maven did not
resolve the maven property <eclipse-site>. But
this property is set even if the maven profile is not
used (I had the suspicion that Jenkins ignores my
maven profile setting).
See details here: https://ci.eclipse.org/bpmn2/job/bpmn2-modeler.nightly/134/
Can someone give a hint what root of the problem
could be?
Thanks for any help
===
Ralph
--
Imixs Software Solutions GmbH
Web: www.imixs.com Phone:
+49 (0)89-452136 16
Timezone: Europe/Berlin - CET/CEST
Office: Agnes-Pockels-Bogen 1, 80992 München
Registergericht: Amtsgericht Muenchen, HRB 136045
Geschaeftsführer: Gaby Heinle u. Ralph Soika
Imixs is an open
source company, read more: www.imixs.org
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
--
Imixs Software Solutions GmbH
Web: www.imixs.com Phone:
+49 (0)89-452136 16
Timezone: Europe/Berlin - CET/CEST
Office: Agnes-Pockels-Bogen 1, 80992 München
Registergericht: Amtsgericht Muenchen, HRB 136045
Geschaeftsführer: Gaby Heinle u. Ralph Soika
Imixs is an open source
company, read more: www.imixs.org
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
--
Imixs Software Solutions GmbH
Web: www.imixs.com Phone:
+49 (0)89-452136 16
Timezone: Europe/Berlin - CET/CEST
Office: Agnes-Pockels-Bogen 1, 80992 München
Registergericht: Amtsgericht Muenchen, HRB 136045
Geschaeftsführer: Gaby Heinle u. Ralph Soika
Imixs is an open source
company, read more: www.imixs.org
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev