Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Log Maven version in p2-master and p2-gerrit jobs

Hi there,

Using apache-maven-latest (which is Maven 3.6.1 now) causes problems
[1]. As I understand, this would break any other jobs that are using
apache-maven-latest and has org.eclipse:eclipse-platform-parent as a
parent.

It is not clear from a build log what Maven version was actually
used. It makes it harder to troubleshoot build failures when Maven
version is to blame.

I've added '--show-version' to Maven target for both p2-master [2] and
p2-gerrit [3] jobs. This would log some useful information about Maven
version like:

--8<---------------cut here---------------start------------->8---
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.19.0-5-amd64", arch: "amd64", family: "unix"
--8<---------------cut here---------------end--------------->8---

[1] https://www.eclipse.org/lists/tycho-dev/msg01595.html
[2] https://ci.eclipse.org/equinox/job/p2-master/jobConfigHistory/showDiffFiles?timestamp1=2019-03-27_04-40-03&timestamp2=2019-06-01_08-13-22
[3] https://ci.eclipse.org/equinox/job/p2-gerrit/jobConfigHistory/showDiffFiles?timestamp1=2019-05-31_21-05-59&timestamp2=2019-06-01_08-14-25

-- 
Mykola

Libre/Free Java Software Developer
https://manandbytes.gitlab.io/



Back to the top