[prev in list] [next in list] [prev in thread] [next in thread]
List: maven-dev
Subject: [jira] [Closed] (MJAVADOC-682) Reactor builds fail when multiple modules with same groupId:artifactI
From: "Michael Osipov (Jira)" <jira () apache ! org>
Date: 2023-11-30 21:31:00
Message-ID: JIRA.13387000.1625130391000.29665.1701379860024 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/MJAVADOC-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Michael Osipov closed MJAVADOC-682.
-----------------------------------
Resolution: Fixed
Fixed with [b69af90253f769a2669754aa978eded271bf690e|https://gitbox.apache.org/repos/a \
sf?p=maven-javadoc-plugin.git;a=commit;h=b69af90253f769a2669754aa978eded271bf690e].
> Reactor builds fail when multiple modules with same groupId:artifactId, but \
> different versions
> ----------------------------------------------------------------------------------------------
>
> Key: MJAVADOC-682
> URL: https://issues.apache.org/jira/browse/MJAVADOC-682
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Components: jar, javadoc
> Affects Versions: 3.1.0, 3.1.1, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.4.0, 3.4.1, 3.5.0, \
> 3.6.0, 3.6.2
> Environment: Debian Linux versions 10.10 through 12.2
> OpenJDK 64-bit versions 11.0.11 through 17.0.9
> Maven versions 3.8.1 through 3.9.5
> Reporter: AO Industries, Inc.
> Assignee: Michael Osipov
> Priority: Major
> Labels: jpms
> Fix For: 3.6.3
>
>
> In versions 3.1.0 through 3.6.2, when a reactor build has multiple projects with \
> the same groupId and artifactId, even when different versions, the javadoc fails \
> with: Exit code: 1 - error: module not found: com.aoindustries.example
> Plugin 3.0.1 works.
> We have created a minimal example project that demonstrates this bug:
> [https://github.com/aoindustries/maven-javadoc-plugin-failing-multiple-projects-same-name]
>
> — Copy from demo project README.md —
> h2. To Reproduce:
> # Clone this project: {{git clone \
> [https://github.com/aoindustries/maven-javadoc-plugin-failing-multiple-projects-same-name.git]}}
> # Change to project directory: {{cd \
> maven-javadoc-plugin-failing-multiple-projects-same-name}} # Perform build to see \
> error in {{jar}} goal: {{mvn verify}} # Also fails with {{javadoc}} goal: {{mvn \
> clean compile javadoc:javadoc}} h2. Notes:
> * Can build individual modules directly, such as {{(cd module-1 && mvn verify)}}
> * Reverting to maven-javadoc-plugin version 3.0.1 makes it work
> * Changing the groupId or artifactId in either module-1 or module-2 makes it work.
> * Changing module names, package names, or class names in modules has no effect.
> * We believe this to be distinct from [Issue \
> #673|https://issues.apache.org/jira/projects/MJAVADOC/issues/MJAVADOC-673]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic