You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is. Make sure that you have read the documentation and that you are using the latest plugin version.
Unable to apply parallel builds to thread-unsafe native-maven-plugin.
To Reproduce
When possible, provide a link to a repository which reproduces the issue, with instructions on how to use.
The reproducer must make use of either the Maven or Gradle plugin.
Steps to reproduce the behavior:
git clone [email protected]:linghengqian/hive-server2-jdbc-driver.git
cd ./hive-server2-jdbc-driver/
git reset --hard d4458d75483224f47a63dd0e13c47258f5ed6abf
sdk install java 22.0.2-graalce
sudo apt-get install build-essential zlib1g-dev -y
sdk use java 22.0.2-graalce
./mvnw -T 1.5C -PnativeTestInCustom clean test
If I change ./mvnw -T 1.5C -PnativeTestInCustom clean test to ./mvnw -PnativeTestInCustom clean test, everything works fine.
Expected behavior
A clear and concise description of what you expected to happen.
Make parallel builds work properly with thread-unsafe native-maven-plugin.
Logs
Add logs to help explain your problem.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for io.github.linghengqian:hive-parent 1.4.0-SNAPSHOT:
[INFO]
[INFO] io.github.linghengqian:hive-parent ................. SUCCESS [ 0.104 s]
[INFO] hive-server2-jdbc-driver-thin ...................... FAILURE [ 34.512 s]
[INFO] hive-server2-jdbc-driver-uber ...................... SUCCESS [02:31 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:31 min (Wall Clock)
[INFO] Finished at: 2024-09-06T09:51:18+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.10.2:test (test-native) on project hive-server2-jdbc-driver-thin: Execution test-native of goal org.graalvm.buildtools:native-maven-plugin:0.10.2:test failed.: FileSystemNotFoundException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :hive-server2-jdbc-driver-thin
System Info (please complete the following information):
OS: [e.g. Windows] Ubuntu 22.04.4
GraalVM Version [e.g. 22.0 CE] 24.0.2 CE
Java Version [e.g. 17] 22
Plugin version [e.g. native-gradle-plugin:0.9.10] native-maven-plugin:0.10.2
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
Make sure that you have read the documentation and that you are using the latest plugin version.
native-maven-plugin
.To Reproduce
When possible, provide a link to a repository which reproduces the issue, with instructions on how to use.
The reproducer must make use of either the Maven or Gradle plugin.
Steps to reproduce the behavior:
./mvnw -T 1.5C -PnativeTestInCustom clean test
to./mvnw -PnativeTestInCustom clean test
, everything works fine.Expected behavior
A clear and concise description of what you expected to happen.
native-maven-plugin
.Logs
Add logs to help explain your problem.
System Info (please complete the following information):
Windows
]Ubuntu 22.04.4
22.0 CE
]24.0.2 CE
17
]22
native-gradle-plugin:0.9.10
]native-maven-plugin:0.10.2
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: