-
Notifications
You must be signed in to change notification settings - Fork 161
Replies: 3 comments · 1 reply
-
You could try to reproduce application build from github actions https://github.com/apache/camel-karavan/blob/main/.github/workflows/app.yml |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi, @mgubaidullin thanks for your response.
Failed Step - Build application public : `[INFO] Building jar: /home/runner/work/camel-karavan/camel-karavan/karavan/karavan-app/target/karavan-3.20.2-SNAPSHOT.jar
[INFO] [io.quarkus.deployment.util.ExecUtil] WARNING! Using -*** the CLI is insecure. Use --password-stdin. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Looks like an issue with your docker account
|
Beta Was this translation helpful? Give feedback.
All reactions
-
closing old tickets |
Beta Was this translation helpful? Give feedback.
All reactions
This discussion was converted from issue #707 on April 05, 2023 23:28.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions