Re: Support for Java 9+

2023-04-21 Thread Nils Breunese
A lot of libraries are not suitable for use with modulepath applications yet, 
like this one. I think using Maven modules with classpath (and optionally some 
ArchUnit rules to enforce some architectural rules about what can access what) 
is also a fine way to modularize a project.

Nils.

> Op 21 apr. 2023, om 14:29 heeft Rodrigo Bourbon 
>  het volgende geschreven:
> 
> Hi Nils, you're right, the thing is that I'm working with the modulepath.
> I'm in the process of modularizing my project and I got stuck because of
> the mentioned issue.
> 
> Rodrigo.
> 
> On Thu, Apr 20, 2023 at 8:49 PM Nils Breunese  wrote:
> 
>> As far as I know this is only an issue on Java 9+ if you use a modulepath
>> instead of a classpath. I can use these dependencies just fine on Java 11
>> and 17.
>> 
>> Nils.
>> 
>>> Op 20 apr. 2023, om 18:50 heeft Rodrigo Bourbon 
>>> 
>> het volgende geschreven:
>>> 
>>> Hi, I'm currently working with Java 11 and my project relies upon the
>>> maven-model <
>> https://urldefense.com/v3/__https://github.com/apache/maven/tree/master/maven-model__;!!DCbAVzZNrAf4!DqxxLDpCuG6lh3Bizi0rlaUY25z2uCURWafVjcsNusPvoBDjqZ2wffqnuPCkhvUtXFpx4hdQ5uf-DwU$
>>> and
>>> maven-model-builder
>>> <
>> https://urldefense.com/v3/__https://github.com/apache/maven/tree/master/maven-model-builder__;!!DCbAVzZNrAf4!DqxxLDpCuG6lh3Bizi0rlaUY25z2uCURWafVjcsNusPvoBDjqZ2wffqnuPCkhvUtXFpx4hdQlfSJuTc$
>>> artifacts.
>>> The problem is that both have the package org.apache.maven.model.merge,
>> hence
>>> giving a split package issue when compiling with Java 9+. Is there any
>> plan
>>> on being compatible with Java 9+ in the short term? What alternatives do
>>> you suggest?
>>> 
>>> Thanks in advance, Rodrigo.
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>> 
>> 


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Support for Java 9+

2023-04-21 Thread Nils Breunese
As far as I know this dependency is not suitable for use with JMS. Using JMS is 
optional in Java 9+. You can use this dependency when using classpath instead 
of modulepath.

Nils.

> Op 21 apr. 2023, om 15:31 heeft Rodrigo Bourbon 
>  het volgende geschreven:
> 
> Hi Karl, indeed I'm talking about Java's Module System. In essence, I'm
> using maven-model because I need to analyze POM files.
> 
> Rodrigo.
> 
> On Fri, Apr 21, 2023 at 10:27 AM Karl Heinz Marbaise 
> wrote:
> 
>> Hi,
>> 
>> On 20.04.23 17:32, Rodrigo Bourbon wrote:
>>> Hi, I'm currently working with Java 11 and my project relies upon the
>>> maven-model 
>> and
>>> maven-model-builder
>>> 
>> artifacts.
>>> The problem is that both have the package org.apache.maven.model.merge,
>> hence
>>> giving a split package issue when compiling with Java 9+. Is there any
>> plan
>>> on being compatible with Java 9+ in the short term? What alternatives do
>>> you suggest?
>>> 
>>> Thanks in advance, Rodrigo.
>> Why does your project rely on maven-model? Creating a plugin or alike?
>> 
>> 
>> And what do you mean by Java 9+ compatible... ? Are you talking about
>> Java Module System?
>> 
>> Kind regards
>> Karl Heinz Marbaise
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>> 
>> 


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Support for Java 9+

2023-04-21 Thread Rodrigo Bourbon
Hi Karl, indeed I'm talking about Java's Module System. In essence, I'm
using maven-model because I need to analyze POM files.

Rodrigo.

On Fri, Apr 21, 2023 at 10:27 AM Karl Heinz Marbaise 
wrote:

> Hi,
>
> On 20.04.23 17:32, Rodrigo Bourbon wrote:
> > Hi, I'm currently working with Java 11 and my project relies upon the
> > maven-model 
> and
> > maven-model-builder
> > 
> artifacts.
> > The problem is that both have the package org.apache.maven.model.merge,
> hence
> > giving a split package issue when compiling with Java 9+. Is there any
> plan
> > on being compatible with Java 9+ in the short term? What alternatives do
> > you suggest?
> >
> > Thanks in advance, Rodrigo.
> Why does your project rely on maven-model? Creating a plugin or alike?
>
>
> And what do you mean by Java 9+ compatible... ? Are you talking about
> Java Module System?
>
> Kind regards
> Karl Heinz Marbaise
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Support for Java 9+

2023-04-21 Thread Karl Heinz Marbaise

Hi,

On 20.04.23 17:32, Rodrigo Bourbon wrote:

Hi, I'm currently working with Java 11 and my project relies upon the
maven-model  and
maven-model-builder
 artifacts.
The problem is that both have the package org.apache.maven.model.merge, hence
giving a split package issue when compiling with Java 9+. Is there any plan
on being compatible with Java 9+ in the short term? What alternatives do
you suggest?

Thanks in advance, Rodrigo.

Why does your project rely on maven-model? Creating a plugin or alike?


And what do you mean by Java 9+ compatible... ? Are you talking about
Java Module System?

Kind regards
Karl Heinz Marbaise

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Support for Java 9+

2023-04-21 Thread Rodrigo Bourbon
Hi Nils, you're right, the thing is that I'm working with the modulepath.
I'm in the process of modularizing my project and I got stuck because of
the mentioned issue.

Rodrigo.

On Thu, Apr 20, 2023 at 8:49 PM Nils Breunese  wrote:

> As far as I know this is only an issue on Java 9+ if you use a modulepath
> instead of a classpath. I can use these dependencies just fine on Java 11
> and 17.
>
> Nils.
>
> > Op 20 apr. 2023, om 18:50 heeft Rodrigo Bourbon 
> > 
> het volgende geschreven:
> >
> > Hi, I'm currently working with Java 11 and my project relies upon the
> > maven-model <
> https://urldefense.com/v3/__https://github.com/apache/maven/tree/master/maven-model__;!!DCbAVzZNrAf4!DqxxLDpCuG6lh3Bizi0rlaUY25z2uCURWafVjcsNusPvoBDjqZ2wffqnuPCkhvUtXFpx4hdQ5uf-DwU$
> > and
> > maven-model-builder
> > <
> https://urldefense.com/v3/__https://github.com/apache/maven/tree/master/maven-model-builder__;!!DCbAVzZNrAf4!DqxxLDpCuG6lh3Bizi0rlaUY25z2uCURWafVjcsNusPvoBDjqZ2wffqnuPCkhvUtXFpx4hdQlfSJuTc$
> > artifacts.
> > The problem is that both have the package org.apache.maven.model.merge,
> hence
> > giving a split package issue when compiling with Java 9+. Is there any
> plan
> > on being compatible with Java 9+ in the short term? What alternatives do
> > you suggest?
> >
> > Thanks in advance, Rodrigo.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Support for Java 9+

2023-04-20 Thread Nils Breunese
As far as I know this is only an issue on Java 9+ if you use a modulepath 
instead of a classpath. I can use these dependencies just fine on Java 11 and 
17.

Nils.

> Op 20 apr. 2023, om 18:50 heeft Rodrigo Bourbon 
>  het volgende geschreven:
> 
> Hi, I'm currently working with Java 11 and my project relies upon the
> maven-model  and
> maven-model-builder
>  artifacts.
> The problem is that both have the package org.apache.maven.model.merge, hence
> giving a split package issue when compiling with Java 9+. Is there any plan
> on being compatible with Java 9+ in the short term? What alternatives do
> you suggest?
> 
> Thanks in advance, Rodrigo.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org