Closed sarveshtamba closed 4 years ago
it looks like that plugin is wrong in its platform detection, it uses go1.9.2.linux-amd64 instead of go1.9.2.linux-ppc64le, as a workaround it is possible to define architecture directly through <arch>ppc64le</arch>
in configuration of the plugin
Could the below piece of code be the problem in file mvn-golang-wrapper/src/main/java/com/igormaznitsa/mvngolang/AbstractGolangMojo.java
?
@Nonnull
private static String investigateArch() {
final String arch = System.getProperty("os.arch").toLowerCase(Locale.ENGLISH);
if (arch.contains("arm")) {
return "arm";
}
if (arch.equals("386") || arch.equals("i386") || arch.equals("x86")) {
return "386";
}
return "amd64";
}
yes, problem in this piece of code, could you provide your os.arch
value?
[root@p006n04 mvn-golang]# arch
ppc64le
I mean java property, it can be a bit different, you can get java property list through java -XshowSettings:properties -version
os.arch = ppc64le
ok, I will improve detector to support such arch
you can try snapshot version (you can just clone plugin and build it through mvn clean install
)
Thanks @raydac for the prompt response. You would need to rebuild the 'mvn-golang-wrapper' and upload the latest one at 'https://mvnrepository.com/artifact/com.igormaznitsa/mvn-golang-wrapper', is that correct ?
I public into maven central only release versions, I will make some extra testing and improvements and will make release in several days
@raydac sure, thanks! Appreciate your timely support.
I public into maven central only release versions, I will make some extra testing and improvements and will make release in several days
@raydac please do let us know here as and when you publish the release version of the plugin in maven central. Thanks in advance!
@sarveshtamba new 2.3.4 version is published in maven central, you can try
I am trying to build/install keycloak/keycloak on PPC64LE architecture with Red Hat Enterprise Linux 7, using the commands mentioned here - https://github.com/keycloak/keycloak/blob/master/docs/building.md
However I am seeing the following issues as below:-
Any inputs to support mvn-golang-wrapper for keycloak/keycloak on PowerPC64LE Platform would be appreciated.