GitHub user arockiaraj1994 added a comment to the discussion: Question

Thanks @mgubaidullin, Still i am facing same issue. I have attached full logs

```shell
>  git checkout 4.14.2                                  
Note: switching to '4.14.2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false


HEAD is now at 1901f4cc Default credentials

camel-karavan  HEAD    
>  git pull           
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>


camel-karavan  HEAD    
>  mvn clean compile exec:java 
> -Dexec.mainClass="org.apache.camel.karavan.generator.KaravanGenerator" -f 
> karavan-generator
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.camel.karavan:karavan-generator:jar:4.14.2
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found 
duplicate declaration of plugin org.apache.maven.plugins:maven-compiler-plugin 
@ line 134, column 21
[WARNING] 'dependencies.dependency.exclusions.exclusion.artifactId' for 
org.apache.camel.kamelets:camel-kamelets-catalog:jar with value 
':jackson-dataformat-yaml' does not match a valid id pattern. @ line 80, column 
33
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO] 
[INFO] -------------< org.apache.camel.karavan:karavan-generator >-------------
[INFO] Building karavan-generator 4.14.2
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ karavan-generator ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
karavan-generator ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ 
karavan-generator ---
[INFO] Changes detected - recompiling the module!

[INFO] --- exec-maven-plugin:3.6.2:java (default-cli) @ karavan-generator ---
Generating Root Path: 
    Generating Path: karavan-core/test
    Generating Path: karavan-app/src/main/resources
    Generating Path: karavan-designer/public
    Generating Path: karavan-vscode
[WARNING] 
java.nio.file.NoSuchFileException: 
/karavan-core/src/core/model/CamelDefinition.ts
    at sun.nio.fs.UnixException.translateToIOException (UnixException.java:92)
    at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:106)
    at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:111)
    at sun.nio.fs.UnixFileSystemProvider.newByteChannel 
(UnixFileSystemProvider.java:218)
    at java.nio.file.spi.FileSystemProvider.newOutputStream 
(FileSystemProvider.java:484)
    at java.nio.file.Files.newOutputStream (Files.java:228)
    at java.nio.file.Files.write (Files.java:3512)
    at java.nio.file.Files.writeString (Files.java:3734)
    at java.nio.file.Files.writeString (Files.java:3674)
    at org.apache.camel.karavan.generator.AbstractGenerator.writeFileText 
(AbstractGenerator.java:277)
    at 
org.apache.camel.karavan.generator.CamelDefinitionGenerator.createCamelDefinitions
 (CamelDefinitionGenerator.java:56)
    at org.apache.camel.karavan.generator.CamelDefinitionGenerator.generate 
(CamelDefinitionGenerator.java:40)
    at org.apache.camel.karavan.generator.KaravanGenerator.main 
(KaravanGenerator.java:34)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:569)
    at org.codehaus.mojo.exec.AbstractExecJavaBase.executeMainMethod 
(AbstractExecJavaBase.java:402)
    at org.codehaus.mojo.exec.ExecJavaMojo.executeMainMethod 
(ExecJavaMojo.java:142)
    at org.codehaus.mojo.exec.AbstractExecJavaBase.doExecClassLoader 
(AbstractExecJavaBase.java:377)
    at org.codehaus.mojo.exec.AbstractExecJavaBase.lambda$execute$0 
(AbstractExecJavaBase.java:287)
    at java.lang.Thread.run (Thread.java:840)
```

GitHub link: 
https://github.com/apache/camel-karavan/discussions/1600#discussioncomment-15843031

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to