2024 Feb 06 7:40 AM - edited 2024 Feb 06 7:41 AM
Hi community,
I have built a very simple CAP Java application with the following commands. (using BAS)
Git repo: https://github.com/miyasuta/cap-java-simple
When I try to run the service via `mvn cds:watch` command, it fails with the following message:
[ERROR] No plugin found for prefix 'cds' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/user/.m2/repository), public (https://repo.maven.apache.org/maven2/), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
On the other hand, if I run `mvn cds:watch`, the service starts successfully. I would like to know why `mvn cds:watch` command is failing. Any inputs are appreciated.
Regards,
Mio
Request clarification before answering.
I think the plugin is configured only in srv project.
Try
mvn cds:watch -pl srv
or
cd srv; mvn cds:watch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
52 | |
8 | |
5 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.