Pasquale Congiusti created CAMEL-23752:
------------------------------------------

             Summary: [build] Enhance Camel JBang container image release 
configuration
                 Key: CAMEL-23752
                 URL: https://issues.apache.org/jira/browse/CAMEL-23752
             Project: Camel
          Issue Type: Task
            Reporter: Pasquale Congiusti
            Assignee: Pasquale Congiusti


Follows CAMEL-23750

 

The actual configuration is hardcoded by picking up the committed class at 
[https://github.com/apache/camel/blob/main/dsl/camel-jbang/camel-jbang-main/dist/CamelJBang.java]

This class has to be changed and committed before starting the release process, 
and the release process has to provide such a commit.

We should simplify the process and, instead, use the base class available in 
the release tag branch (or even main) and change the following values on the 
fly:
{code:java}
//JAVA 21+
//REPOS 
central=https://repo1.maven.org/maven2,apache-snapshot=https://repository.apache.org/content/groups/snapshots/
//JAVA_OPTIONS -Dcamel.jbang.quarkusVersion=3.33.1.1
//JAVA_OPTIONS --enable-native-access=ALL-UNNAMED
//DEPS org.apache.camel:camel-bom:${camel.jbang.version:4.18.2}@pom
//DEPS org.apache.camel:camel-jbang-core:${camel.jbang.version:4.18.2}
//DEPS 
org.apache.camel.kamelets:camel-kamelets:${camel-kamelets.version:4.18.1} {code}
These values can be changed during build process in order to avoid the need to 
commit anything and rely on such commit id.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to