You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Pascal Schumacher <pa...@gmx.net> on 2020/04/15 19:03:32 UTC

Remove the "jdk9+-build" maven profile?

Hi,

what do you think about removing the "jdk9+-build" profile in the parent
pom which adds a lot of JAXB/SOAP etc. related dependencies?

When I remove this profile and try to build on Java I get no further
than the "camel-api" module:

[ERROR]
/camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[19,32]
error: package javax.xml.bind.annotation does not exist
[ERROR]
/camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[20,32]
error: package javax.xml.bind.annotation does not exist
[ERROR]
/camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[25,1]
error: cannot find symbol
[ERROR]   symbol: class XmlType
[ERROR]
/camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[26,1]
error: cannot find symbol

[ERROR]   symbol: class XmlEnum

..

Or should this wait until Camel requires Java 11?

Cheers,

Pascal



Re: Remove the "jdk9+-build" maven profile?

Posted by Claus Ibsen <cl...@gmail.com>.
On Thu, Apr 16, 2020 at 8:05 AM Zheng Feng <zf...@redhat.com> wrote:
>
> will we target for building camel with jdk-11 ?
>

Yes later this year we will drop JDK8 - current plan is after the 1st
LTS release, eg Camel 3.4 LTS release, then Camel 3.5 is JDK11
onwards.

> On Thu, Apr 16, 2020 at 1:28 PM Claus Ibsen <cl...@gmail.com> wrote:
>
> > I created a ticket
> > https://issues.apache.org/jira/browse/CAMEL-14917
> >
> > On Thu, Apr 16, 2020 at 7:11 AM Claus Ibsen <cl...@gmail.com> wrote:
> > >
> > > Hi
> > >
> > > Yeah lets take a look at that. Its some old cruft from the early JDK9
> > days.
> > >
> > > On Wed, Apr 15, 2020 at 9:03 PM Pascal Schumacher
> > > <pa...@gmx.net> wrote:
> > > >
> > > > Hi,
> > > >
> > > > what do you think about removing the "jdk9+-build" profile in the
> > parent
> > > > pom which adds a lot of JAXB/SOAP etc. related dependencies?
> > > >
> > > > When I remove this profile and try to build on Java I get no further
> > > > than the "camel-api" module:
> > > >
> > > > [ERROR]
> > > >
> > /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[19,32]
> > > > error: package javax.xml.bind.annotation does not exist
> > > > [ERROR]
> > > >
> > /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[20,32]
> > > > error: package javax.xml.bind.annotation does not exist
> > > > [ERROR]
> > > >
> > /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[25,1]
> > > > error: cannot find symbol
> > > > [ERROR]   symbol: class XmlType
> > > > [ERROR]
> > > >
> > /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[26,1]
> > > > error: cannot find symbol
> > > >
> > > > [ERROR]   symbol: class XmlEnum
> > > >
> > > > ..
> > > >
> > > > Or should this wait until Camel requires Java 11?
> > > >
> > > > Cheers,
> > > >
> > > > Pascal
> > > >
> > > >
> > >
> > >
> > > --
> > > 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

Re: Remove the "jdk9+-build" maven profile?

Posted by Zheng Feng <zf...@redhat.com>.
will we target for building camel with jdk-11 ?

On Thu, Apr 16, 2020 at 1:28 PM Claus Ibsen <cl...@gmail.com> wrote:

> I created a ticket
> https://issues.apache.org/jira/browse/CAMEL-14917
>
> On Thu, Apr 16, 2020 at 7:11 AM Claus Ibsen <cl...@gmail.com> wrote:
> >
> > Hi
> >
> > Yeah lets take a look at that. Its some old cruft from the early JDK9
> days.
> >
> > On Wed, Apr 15, 2020 at 9:03 PM Pascal Schumacher
> > <pa...@gmx.net> wrote:
> > >
> > > Hi,
> > >
> > > what do you think about removing the "jdk9+-build" profile in the
> parent
> > > pom which adds a lot of JAXB/SOAP etc. related dependencies?
> > >
> > > When I remove this profile and try to build on Java I get no further
> > > than the "camel-api" module:
> > >
> > > [ERROR]
> > >
> /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[19,32]
> > > error: package javax.xml.bind.annotation does not exist
> > > [ERROR]
> > >
> /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[20,32]
> > > error: package javax.xml.bind.annotation does not exist
> > > [ERROR]
> > >
> /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[25,1]
> > > error: cannot find symbol
> > > [ERROR]   symbol: class XmlType
> > > [ERROR]
> > >
> /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[26,1]
> > > error: cannot find symbol
> > >
> > > [ERROR]   symbol: class XmlEnum
> > >
> > > ..
> > >
> > > Or should this wait until Camel requires Java 11?
> > >
> > > Cheers,
> > >
> > > Pascal
> > >
> > >
> >
> >
> > --
> > 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
>
>

Re: Remove the "jdk9+-build" maven profile?

Posted by Claus Ibsen <cl...@gmail.com>.
I created a ticket
https://issues.apache.org/jira/browse/CAMEL-14917

On Thu, Apr 16, 2020 at 7:11 AM Claus Ibsen <cl...@gmail.com> wrote:
>
> Hi
>
> Yeah lets take a look at that. Its some old cruft from the early JDK9 days.
>
> On Wed, Apr 15, 2020 at 9:03 PM Pascal Schumacher
> <pa...@gmx.net> wrote:
> >
> > Hi,
> >
> > what do you think about removing the "jdk9+-build" profile in the parent
> > pom which adds a lot of JAXB/SOAP etc. related dependencies?
> >
> > When I remove this profile and try to build on Java I get no further
> > than the "camel-api" module:
> >
> > [ERROR]
> > /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[19,32]
> > error: package javax.xml.bind.annotation does not exist
> > [ERROR]
> > /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[20,32]
> > error: package javax.xml.bind.annotation does not exist
> > [ERROR]
> > /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[25,1]
> > error: cannot find symbol
> > [ERROR]   symbol: class XmlType
> > [ERROR]
> > /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[26,1]
> > error: cannot find symbol
> >
> > [ERROR]   symbol: class XmlEnum
> >
> > ..
> >
> > Or should this wait until Camel requires Java 11?
> >
> > Cheers,
> >
> > Pascal
> >
> >
>
>
> --
> 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

Re: Remove the "jdk9+-build" maven profile?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yeah lets take a look at that. Its some old cruft from the early JDK9 days.

On Wed, Apr 15, 2020 at 9:03 PM Pascal Schumacher
<pa...@gmx.net> wrote:
>
> Hi,
>
> what do you think about removing the "jdk9+-build" profile in the parent
> pom which adds a lot of JAXB/SOAP etc. related dependencies?
>
> When I remove this profile and try to build on Java I get no further
> than the "camel-api" module:
>
> [ERROR]
> /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[19,32]
> error: package javax.xml.bind.annotation does not exist
> [ERROR]
> /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[20,32]
> error: package javax.xml.bind.annotation does not exist
> [ERROR]
> /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[25,1]
> error: cannot find symbol
> [ERROR]   symbol: class XmlType
> [ERROR]
> /camel/core/camel-api/src/main/java/org/apache/camel/ExchangePattern.java:[26,1]
> error: cannot find symbol
>
> [ERROR]   symbol: class XmlEnum
>
> ..
>
> Or should this wait until Camel requires Java 11?
>
> Cheers,
>
> Pascal
>
>


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