[JBoss JIRA] (ISPN-12017) Set java8.home property to java8-test profile
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/ISPN-12017?page=com.atlassian.jira.plugi... ]
Diego Lovison updated ISPN-12017:
---------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/8489
> Set java8.home property to java8-test profile
> ---------------------------------------------
>
> Key: ISPN-12017
> URL: https://issues.redhat.com/browse/ISPN-12017
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 11.0.0.Final
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Critical
>
> {{jboss-parent}} from {{build-configuration/pom.xml}} set java8.home to java8-test profile{{}}
> {noformat}
> lineage = {ArrayList@3512} size = 4
> 2 = {ModelData@3553} "org.jboss:jboss-parent:pom:36"
> activeProfiles = {ArrayList@3560} size = 2
> id = "java8-test"
> build = {BuildBase@3302}
> plugins = {ArrayList@3303} size = 1
> artifactId = "maven-surefire-plugin"
> id = "java8-test"
> configuration = {Xpp3Dom@3596} "<?xml version="1.0" encoding="UTF-8"?>\n<configuration>\n <jvm>${java8.home}/bin/java</jvm>\n <additionalClasspathElements>\n <additionalClasspathElement>${java8.home}/lib/tools.jar</additionalClasspathElement>\n </additionalClasspathElements>\n</configuration>"{noformat}
> {{}}
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-12017) Set java8.home property to java8-test profile
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/ISPN-12017?page=com.atlassian.jira.plugi... ]
Diego Lovison updated ISPN-12017:
---------------------------------
Description:
{{jboss-parent}} from {{build-configuration/pom.xml}} set java8.home to java8-test profile{{}}
{noformat}
lineage = {ArrayList@3512} size = 4
2 = {ModelData@3553} "org.jboss:jboss-parent:pom:36"
activeProfiles = {ArrayList@3560} size = 2
id = "java8-test"
build = {BuildBase@3302}
plugins = {ArrayList@3303} size = 1
artifactId = "maven-surefire-plugin"
id = "java8-test"
configuration = {Xpp3Dom@3596} "<?xml version="1.0" encoding="UTF-8"?>\n<configuration>\n <jvm>${java8.home}/bin/java</jvm>\n <additionalClasspathElements>\n <additionalClasspathElement>${java8.home}/lib/tools.jar</additionalClasspathElement>\n </additionalClasspathElements>\n</configuration>"{noformat}
{{}}
was:
The logs say the following:
{noformat}
[DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
....
<jvm>/Users/dlovison/.sdkman/candidates/java/8/bin/java</jvm>
....
[DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (java8-test)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
....
<jvm>${java8.home}/bin/java</jvm>{noformat}
and then it failed with
{noformat}
Caused by: org.apache.maven.plugin.MojoFailureException: Given path to java executor does not exist "/Users/dlovison/Documents/GitHub/infinispan/infinispan/${java8.home}/bin/java".
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.getEffectiveJvm (AbstractSurefireMojo.java:2421)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1191)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1063)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:889)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146){noformat}
It seems like {{$\{env.JAVA8_HOME}}} is translated to {{java8.home}}
> Set java8.home property to java8-test profile
> ---------------------------------------------
>
> Key: ISPN-12017
> URL: https://issues.redhat.com/browse/ISPN-12017
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 11.0.0.Final
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Critical
>
> {{jboss-parent}} from {{build-configuration/pom.xml}} set java8.home to java8-test profile{{}}
> {noformat}
> lineage = {ArrayList@3512} size = 4
> 2 = {ModelData@3553} "org.jboss:jboss-parent:pom:36"
> activeProfiles = {ArrayList@3560} size = 2
> id = "java8-test"
> build = {BuildBase@3302}
> plugins = {ArrayList@3303} size = 1
> artifactId = "maven-surefire-plugin"
> id = "java8-test"
> configuration = {Xpp3Dom@3596} "<?xml version="1.0" encoding="UTF-8"?>\n<configuration>\n <jvm>${java8.home}/bin/java</jvm>\n <additionalClasspathElements>\n <additionalClasspathElement>${java8.home}/lib/tools.jar</additionalClasspathElement>\n </additionalClasspathElements>\n</configuration>"{noformat}
> {{}}
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-12017) Set java8.home property to java8-test profile
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/ISPN-12017?page=com.atlassian.jira.plugi... ]
Diego Lovison updated ISPN-12017:
---------------------------------
Summary: Set java8.home property to java8-test profile (was: Surefire plugin is not able to read the JAVA8_HOME environment variable)
> Set java8.home property to java8-test profile
> ---------------------------------------------
>
> Key: ISPN-12017
> URL: https://issues.redhat.com/browse/ISPN-12017
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 11.0.0.Final
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Critical
>
> The logs say the following:
> {noformat}
> [DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test)
> [DEBUG] Style: Regular
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
> ....
> <jvm>/Users/dlovison/.sdkman/candidates/java/8/bin/java</jvm>
> ....
> [DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (java8-test)
> [DEBUG] Style: Regular
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
> ....
> <jvm>${java8.home}/bin/java</jvm>{noformat}
> and then it failed with
> {noformat}
> Caused by: org.apache.maven.plugin.MojoFailureException: Given path to java executor does not exist "/Users/dlovison/Documents/GitHub/infinispan/infinispan/${java8.home}/bin/java".
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.getEffectiveJvm (AbstractSurefireMojo.java:2421)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1191)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1063)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:889)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146){noformat}
> It seems like {{$\{env.JAVA8_HOME}}} is translated to {{java8.home}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-12017) Set java8.home property to java8-test profile
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/ISPN-12017?page=com.atlassian.jira.plugi... ]
Diego Lovison commented on ISPN-12017:
--------------------------------------
The logs say the following:
{noformat}
[DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
....
<jvm>/Users/dlovison/.sdkman/candidates/java/8/bin/java</jvm>
....
[DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (java8-test)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
....
<jvm>${java8.home}/bin/java</jvm>{noformat}
and then it failed with
{noformat}
Caused by: org.apache.maven.plugin.MojoFailureException: Given path to java executor does not exist "/Users/dlovison/Documents/GitHub/infinispan/infinispan/${java8.home}/bin/java".
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.getEffectiveJvm (AbstractSurefireMojo.java:2421)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1191)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1063)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:889)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146){noformat}
It seems like {{$\{env.JAVA8_HOME}}} is translated to {{java8.home}}
> Set java8.home property to java8-test profile
> ---------------------------------------------
>
> Key: ISPN-12017
> URL: https://issues.redhat.com/browse/ISPN-12017
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 11.0.0.Final
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Critical
>
> The logs say the following:
> {noformat}
> [DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test)
> [DEBUG] Style: Regular
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
> ....
> <jvm>/Users/dlovison/.sdkman/candidates/java/8/bin/java</jvm>
> ....
> [DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (java8-test)
> [DEBUG] Style: Regular
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
> ....
> <jvm>${java8.home}/bin/java</jvm>{noformat}
> and then it failed with
> {noformat}
> Caused by: org.apache.maven.plugin.MojoFailureException: Given path to java executor does not exist "/Users/dlovison/Documents/GitHub/infinispan/infinispan/${java8.home}/bin/java".
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.getEffectiveJvm (AbstractSurefireMojo.java:2421)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1191)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1063)
> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:889)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146){noformat}
> It seems like {{$\{env.JAVA8_HOME}}} is translated to {{java8.home}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months