You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "zetfactor (via GitHub)" <gi...@apache.org> on 2023/04/05 21:43:46 UTC

[GitHub] [camel-karavan] zetfactor opened a new issue, #707: Code build steps [question]

zetfactor opened a new issue, #707:
URL: https://github.com/apache/camel-karavan/issues/707

   **Environment:**
   Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8)
   Maven home: C:\Program Files\Maven\apache-maven-3.9.1
   Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11
   Default locale: en_US, platform encoding: Cp1252
   OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
   
   Any tips on what I am doing wrong, on how to build the code would be highly appreciated.
   
   I tried to follow the steps here https://github.com/apache/camel-karavan/blob/main/DEV.md  however I am still unable to build the code successfully.
   
   I tried both with the main branch and the latest release code.
   
   **when I run :**  `mvn clean package -Dquarkus.container-image.build=true`
   
   **I get the following error:**
   
   `[WARNING] Some problems were encountered while building the effective model for org.apache.camel.karavan:karavan:jar:3.20.2-SNAPSHOT
   [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.quarkus:quarkus-scheduler:jar -> duplicate declaration of version (?) @ line 118, column 21
   [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 213, column 21
   [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 >------------------
   [INFO] Building karavan 3.20.2-SNAPSHOT
   [INFO]   from pom.xml
   [INFO] --------------------------------[ jar ]---------------------------------
   [INFO]
   [INFO] --- clean:3.2.0:clean (default-clean) @ karavan ---
   [INFO] Deleting C:\Users\mz\Downloads\camel-karavan\karavan-app\target
   [INFO]
   [INFO] --- resources:3.3.0:resources (default-resources) @ karavan ---
   [INFO] Copying 13 resources
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  5.323 s
   [INFO] Finished at: 2023-04-06T00:31:36+03:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.3.0:resources (default-resources) on project karavan: filtering C:\camel-karavan\karavan-app\src\main\resources\kamelets\kamelets.yaml to C:\camel-karavan\karavan-app\target\classes\kamelets\kamelets.yaml failed with MalformedInputException: Input length = 1 -> [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/MojoExecutionException`
    
    
   Thank you.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karavan] mgubaidullin closed issue #707: Code build steps [question]

Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin closed issue #707: Code build steps [question]
URL: https://github.com/apache/camel-karavan/issues/707


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org