-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Arquillian - Failed to locate project pom.xml #2701
Comments
I was able to fix this by adding |
@mkouba can you take a look at this one? |
Hm, I wasn't able to reproduce this locally:
I'm using Maven 3.5.4. |
Also a full stack trace would be useful ;-) |
Hi @mkouba, you're running
Note that as arquillian uses junit4 I needed to add
|
Also, to run via surefire plugin you'll need to add
However I could not get the full stacktrace via surefire but the error is the same:
|
I'm using Quarkus 0.16.1, don't know if #2736 is related to this issue though |
For me, it's running by default (mvn clean install, it should be picked up by default when suffix is IT I think). However, here is stacktrace https://pastebin.com/YmkGNbH0 |
Yea, now I see the failsafe plugin but you probably won't be able to run via eclipse without |
Ah, of course! Thanks for noticing. And good point with junit versions. Yes, Arquillian currently does not support junit5 and I'm not really sure that using So a workaround is to add Anyway, note that arquillian adapter is not supposed to be consumed by users! It's merely an internal tool to run the MP TCK runners. |
Got it, I also hit another issue after setting the tempDir property. I was trying arquillian maily because of drone and graphene, do you have any plans to integrate or make those frameworks compatible with quarkus? cc @MatousJobanek |
We don't have any plans regarding further Arqullian support ;-). |
@mkouba so IIUC we should rewrite Arquillian tests to @QuarkusTest? Should this issue be closed then? |
Yes, you should avoid using Arqullian for regular tests, at least for now. |
Running tests using gradle fails with the same error, do we need a pom.xml for gradle really? |
Is this issue still an issue or for Arquillian use, it's ok now? Wondering if we can close |
It seems that a workaround exists - see my comment #2701 (comment). Closing the isse. |
Describe the bug
Arquillian adapter doesn't generate pom.xml in created temp directory. The test cannot be run.
Expected behavior
Arquillian tests should be able to run.
Actual behavior
Integration test with arquillian fails with
To Reproduce
Reproducer: https://github.com/xstefank/learning-tests/tree/master/quarkus/arquillian
Environment (please complete the following information):
uname -a
orver
: Linux Set-FI 5.0.17-300.fc30.x86_64 Switch to the Maven distributed copy of the SubstrateVM annotations #1 SMP Mon May 20 15:36:26 UTC 2019 x86_64 x86_64 x86_64 GNU/Linuxjava -version
: openjdk version "1.8.0_212"OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode)
OpenJDK Runtime Environment (build 1.8.0_202-20190206132807.buildslave.jdk8u-src-tar--b08)
OpenJDK GraalVM CE 1.0.0-rc15 (build 25.202-b08-jvmci-0.58, mixed mode)
The text was updated successfully, but these errors were encountered: