Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

"./mvnw quarkus:list-extensions" fails #671

Open
dinogun opened this issue Feb 14, 2020 · 1 comment
Open

"./mvnw quarkus:list-extensions" fails #671

dinogun opened this issue Feb 14, 2020 · 1 comment
Labels
stack/quarkus Issues related to quarkus stack

Comments

@dinogun
Copy link

dinogun commented Feb 14, 2020

Describe the bug

$ ./mvnw quarkus:list-extensions
./mvnw: line 276: /data/dev/kabanero/quarkus/.mvn/wrapper/maven-wrapper.properties: No such file or directory
/data/dev/kabanero/quarkus/.mvn/wrapper/maven-wrapper.jar: No such file or directory
Error: Could not find or load main class org.apache.maven.wrapper.MavenWrapperMain
Caused by: java.lang.ClassNotFoundException: org.apache.maven.wrapper.MavenWrapperMain

Environment Details (please complete the following information):
appsody version - 0.5.8
Using the quarkus stack from the experimental repo

experimental	quarkus                  	0.2.3    	*default         	Quarkus runtime for running Java applications

Additional context
The workaround mentioned in #448 does not help either. However what helps if we copy the .mvn dir from the workaround above to the directory where the quarkus application was initialized. The command then works.

@neeraj-laad neeraj-laad added the stack/quarkus Issues related to quarkus stack label Feb 25, 2020
@nastacio
Copy link
Contributor

nastacio commented Mar 28, 2020

The direct mvnw calls used to work.

My workaround for now is a bit simpler:

docker exec $container-name /project/user-app/mvnw quarkus:list-extensions

For instance, my app dir is quarkus-microservice, so I used

docker exec quarkus-microservice-dev /project/user-app/mvnw quarkus:list-extensions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stack/quarkus Issues related to quarkus stack
Projects
None yet
Development

No branches or pull requests

3 participants