Hi

Ah okay so we have upgraded to JDK11 in the Jenkinsfile
def JDK_NAME = env.JDK_NAME ?: 'jdk_11_latest'

So we should do this for the main branch for the deploy file too


On Fri, Jun 17, 2022 at 3:50 PM Claus Ibsen <[email protected]> wrote:

> Hi
>
> Hmm this fails with a maven compile error in that osgi bundle plugin.
>
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile 
> (default-compile) on project camel-bundle-plugin: Compilation failure
> [ERROR] javac: invalid target release: 11
> [ERROR] Usage: javac <options> <source files>
> [ERROR] use -help for a list of possible options
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile 
> (default-compile) on project camel-bundle-plugin: Compilation failure
> javac: invalid target release: 11
> Usage: javac <options> <source files>
> use -help for a list of possible options
>
>
>
>
> It also looks like the Jenkinsfile we have are a bit outdated they refer
> to JDK8 by default
> def JDK_NAME = env.JDK_NAME ?: 'adoptopenjdk_hotspot_8u282'
>
>
>
> On Fri, Jun 17, 2022 at 3:44 PM Claus Ibsen <[email protected]> wrote:
>
>> Hi
>>
>> I added branch: main to the CI job that does a daily snapshot build and
>> deploy to Apache Maven Snapshot repository
>>
>> https://ci-builds.apache.org/job/Camel/job/Camel%20Daily%20Snapshot%20Deploy/
>>
>> This is needed so we have updated SNAPSHOTs on a daily basis.
>>
>> We may want to remove "deploy" from the big build that runs all unit
>> tests (takes 8h) as this is too slow and if tests fails then we dont have
>> new SNAPSHOTs
>> https://ci-builds.apache.org/job/Camel/job/Apache%20Camel/job/main/
>>
>> --
>> Claus Ibsen
>> -----------------
>> http://davsclaus.com @davsclaus
>> Camel in Action 2: https://www.manning.com/ibsen2
>>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>


-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to