I think you're asking on the right list.  And it's not a "basic" question but 
it isn't an obvious answer either.

I'm not sure your question has enough detail for anyone to deduce the answer.  
Linking to your project may help you get more attention on it.

FWIW, I have both an automatic module name and module-info in my modular 
projects and it doesn't cause any problems, but that's clearly not your problem.

On 7/18/22, 10:55 PM, "Maxim Solodovnik" <[email protected]> wrote:

    Hello,

    Is the question too basic?
    Or maybe I'm asking wrong list? :)

    On Fri, 15 Jul 2022 at 15:41, Maxim Solodovnik <[email protected]> wrote:
    >
    > Hello All,
    >
    > I'm trying to migrate our project to JPMS
    > After adding module-info.java to my modules (and removing explicitly
    > set `Automatic-Module-Name`)
    > I'm getting:
    >
    > [INFO] --- maven-javadoc-plugin:3.4.0:javadoc-no-fork (default)
    > [ERROR] Creating an aggregated report for both named and unnamed
    > modules is not possible.
    > [ERROR] Ensure that every module has a module descriptor or is a jar
    > with a MANIFEST.MF containing an Automatic-Module-Name.
    >
    > I thought `Automatic-Module-Name` should be added only if
    > `module-info.java` is missing
    > Is it bug in maven-javadoc-plugin or maybe I'm doing something wrong? :)
    >
    > java 17
    > Apache Maven 3.8.5
    >
    > --
    > Best regards,
    > Maxim



    -- 
    Best regards,
    Maxim

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to