Have you tried to set the properties maven.compiler.source, 
maven.compiler.target, and maven.compiler.release like 
https://github.com/apache/camel/blob/main/pom.xml#L114-L116? See the compiler 
plugin documentation for more details 
https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html
[https://opengraph.githubassets.com/e5d400780d6259a437dde976fdb2b9578500cb8781471f86fd1b266a581f6b0a/apache/camel]<https://github.com/apache/camel/blob/main/pom.xml#L114-L116>
camel/pom.xml at main · 
apache/camel<https://github.com/apache/camel/blob/main/pom.xml#L114-L116>
Apache Camel is an open source integration framework that empowers you to 
quickly and easily integrate various systems consuming or producing data. - 
camel/pom.xml at main · apache/camel
github.com

________________________________
From: Petr Kuzel <petrku...@eurofins.com.INVALID>
Sent: Friday, May 12, 2023 10:22
To: dev@camel.apache.org <dev@camel.apache.org>
Subject: RE: What is the recommended way to depend on Java 11, pls?

Hi Nicolas,

I have meant Java 11. I assume the Java backward compatibility
allows me to target Java 11 regardless that some other Camel 4
components require Java 17.

 (I plan to backport to Camel 3.16+.) A good point after all.

  Hope it helps
  Cc.

--
  Mr. Petr Kužel, Software Engineer
  Eurofins International Support Services s.à r.l.
  Val Fleuri 23
  L-1526 LUXEMBOURG

-----Original Message-----
From: Nicolas Filotto <nfilo...@talend.com>
Sent: Friday, May 12, 2023 10:14
To: dev@camel.apache.org
Subject: Re: What is the recommended way to depend on Java 11, pls?



CAUTION: EXTERNAL EMAIL - Sent from an email domain that is not formally 
trusted by Eurofins.

Do not click on links or open attachments unless you recognise the sender and 
are certain that the content is safe.

Did you mean Java 17? As stated in the page that you are referring to, Camel 4 
only supports Java 17+
________________________________
From: Petr Kuzel <petrku...@eurofins.com.INVALID>
Sent: Friday, May 12, 2023 10:10
To: dev@camel.apache.org <dev@camel.apache.org>
Subject: What is the recommended way to depend on Java 11, pls?

Hi Camel devs,

I have cloned the Camel FTP and Azure components
blending them together to develop a new Azure Files
component.

When I use

    <parent>
        <groupId>org.apache.camel</groupId>
        <artifactId>camel-azure-parent</artifactId>
        <version>4.0.0-SNAPSHOT</version>
    </parent>

    <properties>
    </properties>

Eclipse maven project leaves me with Java 8.  But I'd like
to use Java 11. (the dep on 11 is aligned with
https://urldefense.com/v3/__https://camel.apache.org/manual/what-are-the-dependencies.html__;!!CiXD_PY!X4fmazwO2q9nXiI2v8iAzLBcV6DJ9HvlHaxt8SUV5qpUDfn8cXEgoJgnhvxMmitudjrWdheG5fdCuN1t15ZkU-PBUw$
 )

Should I specify any properties, or ask for
updating of camel-azure-parent,
or declare it out-of-bound in Eclipse, pls?

  Regards
  Cc.

--
  Mr. Petr Kužel, Software Engineer
  Eurofins International Support Services s.à r.l.
  Val Fleuri 23
  L-1526 LUXEMBOURG


As a recipient of an email from the Talend Group, your personal data will be 
processed by our systems. Please see our Privacy Notice 
<https://www.talend.com/privacy-policy/> for more information about our 
collection and use of your personal information, our security practices, and 
your data protection rights, including any rights you may have to object to 
automated-decision making or profiling we use to analyze support or marketing 
related communications. To manage or discontinue promotional communications, 
use the communication preferences 
portal<https://info.talend.com/emailpreferencesen.html>. To exercise your data 
protection rights, use the privacy request 
form<https://urldefense.com/v3/__https://talend.my.onetrust.com/webform/ef906c5a-de41-4ea0-ba73-96c079cdd15a/b191c71d-f3cb-4a42-9815-0c3ca021704cl__;!!CiXD_PY!QmTQSzQryZO9HtF6rAgA3ndt3m0IHTQEl5Af06czFcQ6pyGzWld-DGLkUhozMUvG8qN4rZ6lnrTBnV1KJqlvQlmO2Q$
 >. Contact us here <https://www.talend.com/contact/> or by mail to either of 
our co-headquarters: Talend, Inc.: 400 South El Camino Real, Ste 1400, San 
Mateo, CA 94402; Talend SAS: 5/7 rue Salomon De Rothschild, 92150 Suresnes, 
France

As a recipient of an email from the Talend Group, your personal data will be 
processed by our systems. Please see our Privacy Notice 
<https://www.talend.com/privacy-policy/> for more information about our 
collection and use of your personal information, our security practices, and 
your data protection rights, including any rights you may have to object to 
automated-decision making or profiling we use to analyze support or marketing 
related communications. To manage or discontinue promotional communications, 
use the communication preferences 
portal<https://info.talend.com/emailpreferencesen.html>. To exercise your data 
protection rights, use the privacy request 
form<https://talend.my.onetrust.com/webform/ef906c5a-de41-4ea0-ba73-96c079cdd15a/b191c71d-f3cb-4a42-9815-0c3ca021704cl>.
 Contact us here <https://www.talend.com/contact/> or by mail to either of our 
co-headquarters: Talend, Inc.: 400 South El Camino Real, Ste 1400, San Mateo, 
CA 94402; Talend SAS: 5/7 rue Salomon De Rothschild, 92150 Suresnes, France

Reply via email to