You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "WuShouXing (Jira)" <ji...@apache.org> on 2020/04/01 11:32:00 UTC

[jira] [Issue Comment Deleted] (COMMONSSITE-46) Multi-module projects fail when using the "rc" profile in commons-parent

     [ https://issues.apache.org/jira/browse/COMMONSSITE-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

WuShouXing updated COMMONSSITE-46:
----------------------------------
    Comment: was deleted

(was: How can I take this task

 )

> Multi-module projects fail when using the "rc" profile in commons-parent
> ------------------------------------------------------------------------
>
>                 Key: COMMONSSITE-46
>                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-46
>             Project: Apache Commons All
>          Issue Type: Bug
>          Components: Commons Parent Pom
>            Reporter: Niall Pemberton
>            Priority: Major
>         Attachments: commons-parent-pom.patch
>
>
> The "rc" profile doesn't current work with multi-module projects (when the project has not been previously installed in your local repo for the current version)
> For example running the following command on JCI
> {code}
>     mvn -Prc clean install
> {code}
> fails with the following error:
> {code}
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Missing:
> ----------
> 1) org.apache.commons:commons-jci-core:jar:1.1-SNAPSHOT
> ...
> {code}
> I found this is caused by trying to run the site plugin in the "rc" profile:
> {code}
>           <plugin>
>             <artifactId>maven-site-plugin</artifactId>
>             <executions>
>               <execution>
>                 <goals>
>                   <goal>site</goal>
>                 </goals>
>                 <phase>package</phase>
>               </execution>
>             </executions>
>           </plugin>
> {code}
> The intention of the above was so that when the assembly plugin ran to create the binary distros then the site would be available to include in the distro. AFAIK we are now only shipping javadocs in the binary distros and not any component sites. So I plan to remove the site plugin from the "rc" profile and add a "javadoc" goal in the javadoc plugin in the "rc" profile. This resolves the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)