I'm trying to get the hang of creating bare bones camel projects using
the archetype for camel-main and docker.

When I run the code I get the following

 azure-day-one % docker compose up
[+] Building 0.0s (0/0)


docker:desktop-linux
[+] Running 2/1
 ✔ Network azure-day-one_default    Created


             0.0s
 ✔ Container azure-day-one-camel-1  Created


             0.1s
Attaching to azure-day-one-camel-1
azure-day-one-camel-1  | no main manifest attribute, in /app.jar
azure-day-one-camel-1 exited with code 1

My code is here:
https://github.com/lucidguppy/azure-day-one/tree/main

I would have thought that specifying the main class would have avoided
the need for configuring a manifest attribute in the jar - I thought
the plugin would have done that.

Any help is appreciated.  Note: when I just use the mvn camel:run -
everything works.

-Matt

Reply via email to