Re: [m-javadoc-plugin] how to exclude transitive dependency

2023-03-27 Thread Maxim Solodovnik
from mobile (sorry for typos ;)


On Mon, Mar 27, 2023, 16:20 Tamás Cservenák  wrote:

> Maxim,
>
> Sorry, but please be more patient with us :)
> The project team is made of volunteers, and they are doing their best.
>

Thanks for all your hard work and contributions :)

But my first email was sent Feb 14 
Now it is the end of March :))

I did my best to not pushing :))


> Thanks
> Tamas
>
> On Mon, Mar 27, 2023 at 3:46 AM Maxim Solodovnik 
> wrote:
>
> > I get zero responses for my emails :((
> > Maybe I should provide more details?
> > Or my English is not good enough? :(
> >
> > This issue blocks our release process, I'd love to get some help
> >
> > Thanks in advance :)
> >
> > On Sat, 25 Mar 2023 at 23:34, Maxim Solodovnik 
> > wrote:
> > >
> > > Here is the sample project: https://github.com/solomax/javadoc-exclude
> > >
> > > The issue is NOT reproducible if "Automatic-Module-Name" is absent
> > >
> > > On Tue, 14 Feb 2023 at 13:42, Maxim Solodovnik 
> > wrote:
> > > >
> > > > Same results with version 3.5.0
> > > >
> > > > On Tue, 14 Feb 2023 at 12:07, Maxim Solodovnik  >
> > wrote:
> > > > >
> > > > > Hello All,
> > > > >
> > > > > I'm getting following error while running `javadoc:3.4.1:jar`:
> > > > >
> > > > > [ERROR] Failed to execute goal
> > > > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar
> > > > > (attach-javadocs) on project openmeetings-util: Execution
> > > > > attach-javadocs of goal
> > > > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar failed:
> > Unable
> > > > > to derive module descriptor for
> > > > >
> >
> /home/solomax/.m2/repository/org/jooq/jool-java-8/0.9.14/jool-java-8-0.9.14.jar:
> > > > > jool.java.8: Invalid module name: '8' is not a Java identifier ->
> > > > > [Help 1]
> > > > >
> > > > > this "broken" jar is transitive dependency I would like to exclude
> > > > > from javadoc generation
> > > > >
> > > > > [INFO] --- dependency:3.5.0:tree (default-cli) @ openmeetings-util
> > ---
> > > > > [INFO] org.apache.openmeetings:openmeetings-util:jar:7.1.0-SNAPSHOT
> > > > > [INFO] +- org.dom4j:dom4j:jar:2.1.4:compile
> > > > > [INFO] +- org.mnode.ical4j:ical4j:jar:4.0.0-beta5:compile
> > > > > [INFO] |  +-
> org.apache.commons:commons-collections4:jar:4.4:compile
> > > > > [INFO] |  +- commons-validator:commons-validator:jar:1.7:compile
> > > > > [INFO] |  |  +-
> commons-beanutils:commons-beanutils:jar:1.9.4:compile
> > > > > [INFO] |  |  +- commons-digester:commons-digester:jar:2.1:compile
> > > > > [INFO] |  |  +- commons-logging:commons-logging:jar:1.2:compile
> > > > > [INFO] |  |  \-
> > commons-collections:commons-collections:jar:3.2.2:compile
> > > > > [INFO] |  +- org.threeten:threeten-extra:jar:1.7.0:compile
> > > > > [INFO] |  \- org.jooq:jool-java-8:jar:0.9.14:compile
> > > > >
> > > > > How this can be achived?
> > > > >
> > > > > I've already tried
> > > > > 
> > > > > 
> > > > >
> > > > > with no luck
> > > > >
> > > > >  has default value `false`
> > > > >
> > > > > Will appreciate any help :)))
> > > > >
> > > > > My configuration is
> > > > >
> > > > > Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
> > > > > Maven home: /opt/maven
> > > > > Java version: 17.0.5, vendor: Private Build, runtime:
> > > > > /usr/lib/jvm/java-17-openjdk-amd64
> > > > > Default locale: en_US, platform encoding: UTF-8
> > > > > OS name: "linux", version: "5.15.0-60-generic", arch: "amd64",
> > family: "unix"
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Best regards,
> > > > > Maxim
> > > >
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > > Maxim
> > >
> > >
> > >
> > > --
> > > Best regards,
> > > Maxim
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
>


Re: [m-javadoc-plugin] how to exclude transitive dependency

2023-03-27 Thread Tamás Cservenák
Maxim,

Sorry, but please be more patient with us :)
The project team is made of volunteers, and they are doing their best.

Thanks
Tamas

On Mon, Mar 27, 2023 at 3:46 AM Maxim Solodovnik  wrote:

> I get zero responses for my emails :((
> Maybe I should provide more details?
> Or my English is not good enough? :(
>
> This issue blocks our release process, I'd love to get some help
>
> Thanks in advance :)
>
> On Sat, 25 Mar 2023 at 23:34, Maxim Solodovnik 
> wrote:
> >
> > Here is the sample project: https://github.com/solomax/javadoc-exclude
> >
> > The issue is NOT reproducible if "Automatic-Module-Name" is absent
> >
> > On Tue, 14 Feb 2023 at 13:42, Maxim Solodovnik 
> wrote:
> > >
> > > Same results with version 3.5.0
> > >
> > > On Tue, 14 Feb 2023 at 12:07, Maxim Solodovnik 
> wrote:
> > > >
> > > > Hello All,
> > > >
> > > > I'm getting following error while running `javadoc:3.4.1:jar`:
> > > >
> > > > [ERROR] Failed to execute goal
> > > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar
> > > > (attach-javadocs) on project openmeetings-util: Execution
> > > > attach-javadocs of goal
> > > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar failed:
> Unable
> > > > to derive module descriptor for
> > > >
> /home/solomax/.m2/repository/org/jooq/jool-java-8/0.9.14/jool-java-8-0.9.14.jar:
> > > > jool.java.8: Invalid module name: '8' is not a Java identifier ->
> > > > [Help 1]
> > > >
> > > > this "broken" jar is transitive dependency I would like to exclude
> > > > from javadoc generation
> > > >
> > > > [INFO] --- dependency:3.5.0:tree (default-cli) @ openmeetings-util
> ---
> > > > [INFO] org.apache.openmeetings:openmeetings-util:jar:7.1.0-SNAPSHOT
> > > > [INFO] +- org.dom4j:dom4j:jar:2.1.4:compile
> > > > [INFO] +- org.mnode.ical4j:ical4j:jar:4.0.0-beta5:compile
> > > > [INFO] |  +- org.apache.commons:commons-collections4:jar:4.4:compile
> > > > [INFO] |  +- commons-validator:commons-validator:jar:1.7:compile
> > > > [INFO] |  |  +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
> > > > [INFO] |  |  +- commons-digester:commons-digester:jar:2.1:compile
> > > > [INFO] |  |  +- commons-logging:commons-logging:jar:1.2:compile
> > > > [INFO] |  |  \-
> commons-collections:commons-collections:jar:3.2.2:compile
> > > > [INFO] |  +- org.threeten:threeten-extra:jar:1.7.0:compile
> > > > [INFO] |  \- org.jooq:jool-java-8:jar:0.9.14:compile
> > > >
> > > > How this can be achived?
> > > >
> > > > I've already tried
> > > > 
> > > > 
> > > >
> > > > with no luck
> > > >
> > > >  has default value `false`
> > > >
> > > > Will appreciate any help :)))
> > > >
> > > > My configuration is
> > > >
> > > > Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
> > > > Maven home: /opt/maven
> > > > Java version: 17.0.5, vendor: Private Build, runtime:
> > > > /usr/lib/jvm/java-17-openjdk-amd64
> > > > Default locale: en_US, platform encoding: UTF-8
> > > > OS name: "linux", version: "5.15.0-60-generic", arch: "amd64",
> family: "unix"
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > > Maxim
> > >
> > >
> > >
> > > --
> > > Best regards,
> > > Maxim
> >
> >
> >
> > --
> > Best regards,
> > Maxim
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: [m-javadoc-plugin] how to exclude transitive dependency

2023-03-27 Thread Daniel Widdis
Here's a good blog post to link to that explains why all maintainers should do 
this even if they're not migrating.

http://branchandbound.net/blog/java/2017/12/automatic-module-name/


On 3/26/23, 8:13 PM, "Maxim Solodovnik" mailto:solo...@apache.org>> wrote:


Thanks a lot for the answer!


I'll try to contact authors of problematic library.


It is weirs this library causing the issue, since it's classes are not
being used directly
(it it is transitive dependency)
Compilation is successful and only Javadoc is failing ...


On Mon, 27 Mar 2023 at 09:17, Daniel Widdis mailto:wid...@gmail.com>> wrote:
>
> The root of the problem is the automatic module name generation of the 
> jool-java-8 jar file. By default it becomes jool.java.8 and a number by 
> itself is an illegal portion of a module name.
>
> Without using "Automatic-Module-Name" your project builds on the classpath as 
> always. When including that, it attempts to build on the module path and the 
> Javadoc plugin apparently does not handle that well.
>
> I fought similar issues for a while and eventually got rid of the problematic 
> dependency.
>
> You might try moditect to insert a module name of your choice. You might try 
> approaching the authors of jool-java-8 and requesting they provide a valid 
> automatic module name.
>
> On 3/26/23, 6:46 PM, "Maxim Solodovnik"    >> wrote:
>
>
> I get zero responses for my emails :((
> Maybe I should provide more details?
> Or my English is not good enough? :(
>
>
> This issue blocks our release process, I'd love to get some help
>
>
> Thanks in advance :)
>
>
> On Sat, 25 Mar 2023 at 23:34, Maxim Solodovnik    >> wrote:
> >
> > Here is the sample project: https://github.com/solomax/javadoc-exclude 
> >  
> >  
> > 
> >
> > The issue is NOT reproducible if "Automatic-Module-Name" is absent
> >
> > On Tue, 14 Feb 2023 at 13:42, Maxim Solodovnik  >   > >> wrote:
> > >
> > > Same results with version 3.5.0
> > >
> > > On Tue, 14 Feb 2023 at 12:07, Maxim Solodovnik  > >   > > >> wrote:
> > > >
> > > > Hello All,
> > > >
> > > > I'm getting following error while running `javadoc:3.4.1:jar`:
> > > >
> > > > [ERROR] Failed to execute goal
> > > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar
> > > > (attach-javadocs) on project openmeetings-util: Execution
> > > > attach-javadocs of goal
> > > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar failed: Unable
> > > > to derive module descriptor for
> > > > /home/solomax/.m2/repository/org/jooq/jool-java-8/0.9.14/jool-java-8-0.9.14.jar:
> > > > jool.java.8: Invalid module name: '8' is not a Java identifier ->
> > > > [Help 1]
> > > >
> > > > this "broken" jar is transitive dependency I would like to exclude
> > > > from javadoc generation
> > > >
> > > > [INFO] --- dependency:3.5.0:tree (default-cli) @ openmeetings-util ---
> > > > [INFO] org.apache.openmeetings:openmeetings-util:jar:7.1.0-SNAPSHOT
> > > > [INFO] +- org.dom4j:dom4j:jar:2.1.4:compile
> > > > [INFO] +- org.mnode.ical4j:ical4j:jar:4.0.0-beta5:compile
> > > > [INFO] | +- org.apache.commons:commons-collections4:jar:4.4:compile
> > > > [INFO] | +- commons-validator:commons-validator:jar:1.7:compile
> > > > [INFO] | | +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
> > > > [INFO] | | +- commons-digester:commons-digester:jar:2.1:compile
> > > > [INFO] | | +- commons-logging:commons-logging:jar:1.2:compile
> > > > [INFO] | | \- commons-collections:commons-collections:jar:3.2.2:compile
> > > > [INFO] | +- org.threeten:threeten-extra:jar:1.7.0:compile
> > > > [INFO] | \- org.jooq:jool-java-8:jar:0.9.14:compile
> > > >
> > > > How this can be achived?
> > > >
> > > > I've already tried
> > > > 
> > > > 
> > > >
> > > > with no luck
> > > >
> > > >  has default value `false`
> > > >
> > > > Will appreciate any help :)))
> > > >
> > > > My configuration is
> > > >
> > > > Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
> > > > Maven home: /opt/maven
> > > > Java version: 17.0.5, vendor: Private Build, runtime:
> > > > /usr/lib/jvm/java-17-openjdk-amd64
> > > > Default locale: en_US, platform encoding: UTF-8
> > > > OS name: "linux", version: "5.15.0-60-generic", arch: "amd64", family: 
> > > > "unix"
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > > Maxim
> > >
> > >
> > >
> > > --
> > > Best regards,
> > > Maxim
> >
> >
> >
> > --
> > Best regards,
> > Maxim
>
>
> -
> To unsubscribe, e-mail: 

Re: [m-javadoc-plugin] how to exclude transitive dependency

2023-03-26 Thread Maxim Solodovnik
Thanks a lot for the answer!

I'll try to contact authors of problematic library.

It is weirs this library causing the issue, since it's classes are not
being used directly
(it it is transitive dependency)
Compilation is successful and only Javadoc is failing ...

On Mon, 27 Mar 2023 at 09:17, Daniel Widdis  wrote:
>
> The root of the problem is the automatic module name generation of the 
> jool-java-8 jar file.  By default it becomes jool.java.8 and a number by 
> itself is an illegal portion of a module name.
>
> Without using "Automatic-Module-Name" your project builds on the classpath as 
> always.  When including that, it attempts to build on the module path and the 
> Javadoc plugin apparently does not handle that well.
>
> I fought similar issues for a while and eventually got rid of the problematic 
> dependency.
>
> You might try moditect to insert a module name of your choice.  You might try 
> approaching the authors of jool-java-8 and requesting they provide a valid 
> automatic module name.
>
> On 3/26/23, 6:46 PM, "Maxim Solodovnik"  > wrote:
>
>
> I get zero responses for my emails :((
> Maybe I should provide more details?
> Or my English is not good enough? :(
>
>
> This issue blocks our release process, I'd love to get some help
>
>
> Thanks in advance :)
>
>
> On Sat, 25 Mar 2023 at 23:34, Maxim Solodovnik  > wrote:
> >
> > Here is the sample project: https://github.com/solomax/javadoc-exclude 
> > 
> >
> > The issue is NOT reproducible if "Automatic-Module-Name" is absent
> >
> > On Tue, 14 Feb 2023 at 13:42, Maxim Solodovnik  > > wrote:
> > >
> > > Same results with version 3.5.0
> > >
> > > On Tue, 14 Feb 2023 at 12:07, Maxim Solodovnik  > > > wrote:
> > > >
> > > > Hello All,
> > > >
> > > > I'm getting following error while running `javadoc:3.4.1:jar`:
> > > >
> > > > [ERROR] Failed to execute goal
> > > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar
> > > > (attach-javadocs) on project openmeetings-util: Execution
> > > > attach-javadocs of goal
> > > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar failed: Unable
> > > > to derive module descriptor for
> > > > /home/solomax/.m2/repository/org/jooq/jool-java-8/0.9.14/jool-java-8-0.9.14.jar:
> > > > jool.java.8: Invalid module name: '8' is not a Java identifier ->
> > > > [Help 1]
> > > >
> > > > this "broken" jar is transitive dependency I would like to exclude
> > > > from javadoc generation
> > > >
> > > > [INFO] --- dependency:3.5.0:tree (default-cli) @ openmeetings-util ---
> > > > [INFO] org.apache.openmeetings:openmeetings-util:jar:7.1.0-SNAPSHOT
> > > > [INFO] +- org.dom4j:dom4j:jar:2.1.4:compile
> > > > [INFO] +- org.mnode.ical4j:ical4j:jar:4.0.0-beta5:compile
> > > > [INFO] | +- org.apache.commons:commons-collections4:jar:4.4:compile
> > > > [INFO] | +- commons-validator:commons-validator:jar:1.7:compile
> > > > [INFO] | | +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
> > > > [INFO] | | +- commons-digester:commons-digester:jar:2.1:compile
> > > > [INFO] | | +- commons-logging:commons-logging:jar:1.2:compile
> > > > [INFO] | | \- commons-collections:commons-collections:jar:3.2.2:compile
> > > > [INFO] | +- org.threeten:threeten-extra:jar:1.7.0:compile
> > > > [INFO] | \- org.jooq:jool-java-8:jar:0.9.14:compile
> > > >
> > > > How this can be achived?
> > > >
> > > > I've already tried
> > > > 
> > > > 
> > > >
> > > > with no luck
> > > >
> > > >  has default value `false`
> > > >
> > > > Will appreciate any help :)))
> > > >
> > > > My configuration is
> > > >
> > > > Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
> > > > Maven home: /opt/maven
> > > > Java version: 17.0.5, vendor: Private Build, runtime:
> > > > /usr/lib/jvm/java-17-openjdk-amd64
> > > > Default locale: en_US, platform encoding: UTF-8
> > > > OS name: "linux", version: "5.15.0-60-generic", arch: "amd64", family: 
> > > > "unix"
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > > Maxim
> > >
> > >
> > >
> > > --
> > > Best regards,
> > > Maxim
> >
> >
> >
> > --
> > Best regards,
> > Maxim
>
>
> -
> 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
>

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



Re: [m-javadoc-plugin] how to exclude transitive dependency

2023-03-26 Thread Daniel Widdis
The root of the problem is the automatic module name generation of the 
jool-java-8 jar file.  By default it becomes jool.java.8 and a number by itself 
is an illegal portion of a module name.

Without using "Automatic-Module-Name" your project builds on the classpath as 
always.  When including that, it attempts to build on the module path and the 
Javadoc plugin apparently does not handle that well.

I fought similar issues for a while and eventually got rid of the problematic 
dependency.  

You might try moditect to insert a module name of your choice.  You might try 
approaching the authors of jool-java-8 and requesting they provide a valid 
automatic module name.

On 3/26/23, 6:46 PM, "Maxim Solodovnik" mailto:solo...@apache.org>> wrote:


I get zero responses for my emails :((
Maybe I should provide more details?
Or my English is not good enough? :(


This issue blocks our release process, I'd love to get some help


Thanks in advance :)


On Sat, 25 Mar 2023 at 23:34, Maxim Solodovnik mailto:solomax...@gmail.com>> wrote:
>
> Here is the sample project: https://github.com/solomax/javadoc-exclude 
> 
>
> The issue is NOT reproducible if "Automatic-Module-Name" is absent
>
> On Tue, 14 Feb 2023 at 13:42, Maxim Solodovnik  > wrote:
> >
> > Same results with version 3.5.0
> >
> > On Tue, 14 Feb 2023 at 12:07, Maxim Solodovnik  > > wrote:
> > >
> > > Hello All,
> > >
> > > I'm getting following error while running `javadoc:3.4.1:jar`:
> > >
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar
> > > (attach-javadocs) on project openmeetings-util: Execution
> > > attach-javadocs of goal
> > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar failed: Unable
> > > to derive module descriptor for
> > > /home/solomax/.m2/repository/org/jooq/jool-java-8/0.9.14/jool-java-8-0.9.14.jar:
> > > jool.java.8: Invalid module name: '8' is not a Java identifier ->
> > > [Help 1]
> > >
> > > this "broken" jar is transitive dependency I would like to exclude
> > > from javadoc generation
> > >
> > > [INFO] --- dependency:3.5.0:tree (default-cli) @ openmeetings-util ---
> > > [INFO] org.apache.openmeetings:openmeetings-util:jar:7.1.0-SNAPSHOT
> > > [INFO] +- org.dom4j:dom4j:jar:2.1.4:compile
> > > [INFO] +- org.mnode.ical4j:ical4j:jar:4.0.0-beta5:compile
> > > [INFO] | +- org.apache.commons:commons-collections4:jar:4.4:compile
> > > [INFO] | +- commons-validator:commons-validator:jar:1.7:compile
> > > [INFO] | | +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
> > > [INFO] | | +- commons-digester:commons-digester:jar:2.1:compile
> > > [INFO] | | +- commons-logging:commons-logging:jar:1.2:compile
> > > [INFO] | | \- commons-collections:commons-collections:jar:3.2.2:compile
> > > [INFO] | +- org.threeten:threeten-extra:jar:1.7.0:compile
> > > [INFO] | \- org.jooq:jool-java-8:jar:0.9.14:compile
> > >
> > > How this can be achived?
> > >
> > > I've already tried
> > > 
> > > 
> > >
> > > with no luck
> > >
> > >  has default value `false`
> > >
> > > Will appreciate any help :)))
> > >
> > > My configuration is
> > >
> > > Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
> > > Maven home: /opt/maven
> > > Java version: 17.0.5, vendor: Private Build, runtime:
> > > /usr/lib/jvm/java-17-openjdk-amd64
> > > Default locale: en_US, platform encoding: UTF-8
> > > OS name: "linux", version: "5.15.0-60-generic", arch: "amd64", family: 
> > > "unix"
> > >
> > >
> > >
> > >
> > > --
> > > Best regards,
> > > Maxim
> >
> >
> >
> > --
> > Best regards,
> > Maxim
>
>
>
> --
> Best regards,
> Maxim


-
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: [m-javadoc-plugin] how to exclude transitive dependency

2023-03-26 Thread Maxim Solodovnik
I get zero responses for my emails :((
Maybe I should provide more details?
Or my English is not good enough? :(

This issue blocks our release process, I'd love to get some help

Thanks in advance :)

On Sat, 25 Mar 2023 at 23:34, Maxim Solodovnik  wrote:
>
> Here is the sample project: https://github.com/solomax/javadoc-exclude
>
> The issue is NOT reproducible if "Automatic-Module-Name" is absent
>
> On Tue, 14 Feb 2023 at 13:42, Maxim Solodovnik  wrote:
> >
> > Same results with version 3.5.0
> >
> > On Tue, 14 Feb 2023 at 12:07, Maxim Solodovnik  wrote:
> > >
> > > Hello All,
> > >
> > > I'm getting following error while running `javadoc:3.4.1:jar`:
> > >
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar
> > > (attach-javadocs) on project openmeetings-util: Execution
> > > attach-javadocs of goal
> > > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar failed: Unable
> > > to derive module descriptor for
> > > /home/solomax/.m2/repository/org/jooq/jool-java-8/0.9.14/jool-java-8-0.9.14.jar:
> > > jool.java.8: Invalid module name: '8' is not a Java identifier ->
> > > [Help 1]
> > >
> > > this "broken" jar is transitive dependency I would like to exclude
> > > from javadoc generation
> > >
> > > [INFO] --- dependency:3.5.0:tree (default-cli) @ openmeetings-util ---
> > > [INFO] org.apache.openmeetings:openmeetings-util:jar:7.1.0-SNAPSHOT
> > > [INFO] +- org.dom4j:dom4j:jar:2.1.4:compile
> > > [INFO] +- org.mnode.ical4j:ical4j:jar:4.0.0-beta5:compile
> > > [INFO] |  +- org.apache.commons:commons-collections4:jar:4.4:compile
> > > [INFO] |  +- commons-validator:commons-validator:jar:1.7:compile
> > > [INFO] |  |  +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
> > > [INFO] |  |  +- commons-digester:commons-digester:jar:2.1:compile
> > > [INFO] |  |  +- commons-logging:commons-logging:jar:1.2:compile
> > > [INFO] |  |  \- commons-collections:commons-collections:jar:3.2.2:compile
> > > [INFO] |  +- org.threeten:threeten-extra:jar:1.7.0:compile
> > > [INFO] |  \- org.jooq:jool-java-8:jar:0.9.14:compile
> > >
> > > How this can be achived?
> > >
> > > I've already tried
> > > 
> > > 
> > >
> > > with no luck
> > >
> > >  has default value `false`
> > >
> > > Will appreciate any help :)))
> > >
> > > My configuration is
> > >
> > > Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
> > > Maven home: /opt/maven
> > > Java version: 17.0.5, vendor: Private Build, runtime:
> > > /usr/lib/jvm/java-17-openjdk-amd64
> > > Default locale: en_US, platform encoding: UTF-8
> > > OS name: "linux", version: "5.15.0-60-generic", arch: "amd64", family: 
> > > "unix"
> > >
> > >
> > >
> > >
> > > --
> > > Best regards,
> > > Maxim
> >
> >
> >
> > --
> > Best regards,
> > Maxim
>
>
>
> --
> Best regards,
> Maxim

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



Re: [m-javadoc-plugin] how to exclude transitive dependency

2023-03-25 Thread Maxim Solodovnik
Here is the sample project: https://github.com/solomax/javadoc-exclude

The issue is NOT reproducible if "Automatic-Module-Name" is absent

On Tue, 14 Feb 2023 at 13:42, Maxim Solodovnik  wrote:
>
> Same results with version 3.5.0
>
> On Tue, 14 Feb 2023 at 12:07, Maxim Solodovnik  wrote:
> >
> > Hello All,
> >
> > I'm getting following error while running `javadoc:3.4.1:jar`:
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar
> > (attach-javadocs) on project openmeetings-util: Execution
> > attach-javadocs of goal
> > org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar failed: Unable
> > to derive module descriptor for
> > /home/solomax/.m2/repository/org/jooq/jool-java-8/0.9.14/jool-java-8-0.9.14.jar:
> > jool.java.8: Invalid module name: '8' is not a Java identifier ->
> > [Help 1]
> >
> > this "broken" jar is transitive dependency I would like to exclude
> > from javadoc generation
> >
> > [INFO] --- dependency:3.5.0:tree (default-cli) @ openmeetings-util ---
> > [INFO] org.apache.openmeetings:openmeetings-util:jar:7.1.0-SNAPSHOT
> > [INFO] +- org.dom4j:dom4j:jar:2.1.4:compile
> > [INFO] +- org.mnode.ical4j:ical4j:jar:4.0.0-beta5:compile
> > [INFO] |  +- org.apache.commons:commons-collections4:jar:4.4:compile
> > [INFO] |  +- commons-validator:commons-validator:jar:1.7:compile
> > [INFO] |  |  +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
> > [INFO] |  |  +- commons-digester:commons-digester:jar:2.1:compile
> > [INFO] |  |  +- commons-logging:commons-logging:jar:1.2:compile
> > [INFO] |  |  \- commons-collections:commons-collections:jar:3.2.2:compile
> > [INFO] |  +- org.threeten:threeten-extra:jar:1.7.0:compile
> > [INFO] |  \- org.jooq:jool-java-8:jar:0.9.14:compile
> >
> > How this can be achived?
> >
> > I've already tried
> > 
> > 
> >
> > with no luck
> >
> >  has default value `false`
> >
> > Will appreciate any help :)))
> >
> > My configuration is
> >
> > Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
> > Maven home: /opt/maven
> > Java version: 17.0.5, vendor: Private Build, runtime:
> > /usr/lib/jvm/java-17-openjdk-amd64
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "linux", version: "5.15.0-60-generic", arch: "amd64", family: 
> > "unix"
> >
> >
> >
> >
> > --
> > Best regards,
> > Maxim
>
>
>
> --
> Best regards,
> Maxim



-- 
Best regards,
Maxim

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



Re: [m-javadoc-plugin] how to exclude transitive dependency

2023-02-13 Thread Maxim Solodovnik
Same results with version 3.5.0

On Tue, 14 Feb 2023 at 12:07, Maxim Solodovnik  wrote:
>
> Hello All,
>
> I'm getting following error while running `javadoc:3.4.1:jar`:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar
> (attach-javadocs) on project openmeetings-util: Execution
> attach-javadocs of goal
> org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar failed: Unable
> to derive module descriptor for
> /home/solomax/.m2/repository/org/jooq/jool-java-8/0.9.14/jool-java-8-0.9.14.jar:
> jool.java.8: Invalid module name: '8' is not a Java identifier ->
> [Help 1]
>
> this "broken" jar is transitive dependency I would like to exclude
> from javadoc generation
>
> [INFO] --- dependency:3.5.0:tree (default-cli) @ openmeetings-util ---
> [INFO] org.apache.openmeetings:openmeetings-util:jar:7.1.0-SNAPSHOT
> [INFO] +- org.dom4j:dom4j:jar:2.1.4:compile
> [INFO] +- org.mnode.ical4j:ical4j:jar:4.0.0-beta5:compile
> [INFO] |  +- org.apache.commons:commons-collections4:jar:4.4:compile
> [INFO] |  +- commons-validator:commons-validator:jar:1.7:compile
> [INFO] |  |  +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
> [INFO] |  |  +- commons-digester:commons-digester:jar:2.1:compile
> [INFO] |  |  +- commons-logging:commons-logging:jar:1.2:compile
> [INFO] |  |  \- commons-collections:commons-collections:jar:3.2.2:compile
> [INFO] |  +- org.threeten:threeten-extra:jar:1.7.0:compile
> [INFO] |  \- org.jooq:jool-java-8:jar:0.9.14:compile
>
> How this can be achived?
>
> I've already tried
> 
> 
>
> with no luck
>
>  has default value `false`
>
> Will appreciate any help :)))
>
> My configuration is
>
> Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
> Maven home: /opt/maven
> Java version: 17.0.5, vendor: Private Build, runtime:
> /usr/lib/jvm/java-17-openjdk-amd64
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-60-generic", arch: "amd64", family: "unix"
>
>
>
>
> --
> Best regards,
> Maxim



-- 
Best regards,
Maxim

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



[m-javadoc-plugin] how to exclude transitive dependency

2023-02-13 Thread Maxim Solodovnik
Hello All,

I'm getting following error while running `javadoc:3.4.1:jar`:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar
(attach-javadocs) on project openmeetings-util: Execution
attach-javadocs of goal
org.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar failed: Unable
to derive module descriptor for
/home/solomax/.m2/repository/org/jooq/jool-java-8/0.9.14/jool-java-8-0.9.14.jar:
jool.java.8: Invalid module name: '8' is not a Java identifier ->
[Help 1]

this "broken" jar is transitive dependency I would like to exclude
from javadoc generation

[INFO] --- dependency:3.5.0:tree (default-cli) @ openmeetings-util ---
[INFO] org.apache.openmeetings:openmeetings-util:jar:7.1.0-SNAPSHOT
[INFO] +- org.dom4j:dom4j:jar:2.1.4:compile
[INFO] +- org.mnode.ical4j:ical4j:jar:4.0.0-beta5:compile
[INFO] |  +- org.apache.commons:commons-collections4:jar:4.4:compile
[INFO] |  +- commons-validator:commons-validator:jar:1.7:compile
[INFO] |  |  +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
[INFO] |  |  +- commons-digester:commons-digester:jar:2.1:compile
[INFO] |  |  +- commons-logging:commons-logging:jar:1.2:compile
[INFO] |  |  \- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] |  +- org.threeten:threeten-extra:jar:1.7.0:compile
[INFO] |  \- org.jooq:jool-java-8:jar:0.9.14:compile

How this can be achived?

I've already tried



with no luck

 has default value `false`

Will appreciate any help :)))

My configuration is

Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
Maven home: /opt/maven
Java version: 17.0.5, vendor: Private Build, runtime:
/usr/lib/jvm/java-17-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-60-generic", arch: "amd64", family: "unix"




-- 
Best regards,
Maxim

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