Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eap64-basic-s2i using Maven version from cretaceous period #146

Open
fbricon opened this issue Apr 13, 2016 · 4 comments
Open

eap64-basic-s2i using Maven version from cretaceous period #146

fbricon opened this issue Apr 13, 2016 · 4 comments

Comments

@fbricon
Copy link

fbricon commented Apr 13, 2016

When building a new app from eap64-basic-s2i, the log shows:
Using Apache Maven 3.0.5 (Red Hat 3.0.5-16)

3.0.5 was released in Feb. 2013 (https://maven.apache.org/docs/history.html) The builder should use the latest version (3.3.9 to this day). Any project depending on bug fixes/features from the past 3 years might not build on openshift when using s2i

@rcernich
Copy link
Contributor

This comes from the base rhel 7 image, so there's not much we can do about it.

@willemvd
Copy link

Is there any workaround to use an updated maven version?
In our build we depend on a plugin that wants at least maven version 3.1

@jmtd
Copy link
Contributor

jmtd commented Nov 1, 2016

The "proper" way would be to get the maven package updated in RHEL. Someone has already requested this, and the bug is marked "CLOSED WONTFIX" https://bugzilla.redhat.com/show_bug.cgi?id=1365671

The comments in that bug indicate that a newer version of Maven is available from Red Hat Software Collections: https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/2/html/2.2_Release_Notes/chap-RHSCL.html#sect-RHSCL-Changes-maven

So the question might be, how does one go about using RHSCL with our images? Is it possible?

@willemvd
Copy link

willemvd commented Nov 5, 2016

I'm not sure if it is possible, but maybe some extra template variable that can be used to execute additional commands? (something like the post-hook in a DeploymentConfig)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants