Hey Imran

What does the top of your rest-json POM look like?

If you follow the steps it should look something like this, with
camel-quarkus-bom as the parent:

```
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
    <parent>
        <groupId>org.apache.camel.quarkus</groupId>
        <artifactId>camel-quarkus-bom</artifactId>
        <version>1.0.0-M2</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <groupId>org.my-org</groupId>
    <artifactId>my-app</artifactId>
    <version>0.0.1-SNAPSHOT</version>
```

Then I see this on startup:

```
$ mvn clean compile quarkus:dev
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------< org.my-org:my-app
>--------------------------
[INFO] Building Camel Quarkus :: Examples :: Rest Json 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar
]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ my-app ---
[INFO] Deleting /home/tdonohue/Code/repos/rest-json-working/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce
(camel-quarkus-enforcer-rules) @ my-app ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @
my-app ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process
(process-resource-bundles) @ my-app ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @
my-app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ my-app
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to
/home/tdonohue/Code/repos/rest-json-working/target/classes
[INFO]
[INFO] --- quarkus-maven-plugin:1.1.0.Final:dev (default-cli) @ my-app ---
Listening for transport dt_socket at address: 5005
2020-01-02 09:52:16,292 INFO  [org.apa.cam.mai.BaseMainSupport] (main)
Using properties from classpath:application.properties
...
2020-01-02 09:52:16,562 INFO  [org.apa.cam.qua.cor.FastCamelContext] (main)
Apache Camel 3.0.0 (CamelContext: quarkus-camel-example-rest-json) started
in 0.145 seconds
```

Tom


On Wed, 1 Jan 2020 at 23:55, Imran Raza Khan <imranrazak...@gmail.com>
wrote:

> I followed the instruction mentioned on
> https://camel.apache.org/camel-quarkus/latest/first-steps.html to run
> simple example, but its throwing error while running
>
> $ mvn clean compile quarkus:dev
>
> Error:
>
> [INFO] Scanning for projects...
>
> [INFO]
>
> [INFO] -----< org.apache.camel.quarkus:camel-quarkus-examples-rest-json
> >------
>
> [INFO] Building Camel Quarkus :: Examples :: Rest Json 1.0.0-M2
>
> [INFO] --------------------------------[ jar
> ]---------------------------------
>
> [INFO]
>
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @
> camel-quarkus-examples-rest-json ---
>
> [INFO]
>
> [INFO] --- directory-maven-plugin:0.3.1:highest-basedir (directories) @
> camel-quarkus-examples-rest-json ---
>
> [INFO] Highest basedir set to: /Users/imran/testcamel/rest-json
>
> [INFO]
>
> [INFO] --- groovy-maven-plugin:2.1.1:execute (sanity-checks) @
> camel-quarkus-examples-rest-json ---
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time:  1.654 s
>
> [INFO] Finished at: 2020-01-02T00:51:04+01:00
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute (sanity-checks) on
> project camel-quarkus-examples-rest-json: Execution sanity-checks of goal
> org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute failed: Impossible to
> read the text content from
>
> file:/Users/imran/testcamel/rest-json/tooling/scripts/validate-dependencies.groovy:
>
> /Users/imran/testcamel/rest-json/tooling/scripts/validate-dependencies.groovy
> (No such file or directory) -> [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
>

Reply via email to