On 27 August 2015 at 05:02, Hervé Boutemy (JIRA) <[email protected]> wrote:
>
> > Say you have this project structure:
> > {noformat}
> > /
> > |-- module1
> > |-- module2
> > {noformat}
> > and artifactIds are named:
> > {noformat}
> > my-parent
> > |-- my-module1
> > |-- my-module2
> > {noformat}
> > Prefix {{my-}} is omitted for brevity in module names. For instance,
> Jersey does that.
> > When the SCM report is built, the artifactId is always used for path
> composition which leads to incorrect URLs. You can of course set the
> parameter {{checkoutDirectoryName}} but this would be extremely tedious for
> all modules down the tree.
> > The code should obtain the module name and use it for URL composition.
Is this a feature or a bug of Maven?
I've always named my modules == artifactId because of this problem in lots
of of other places.
Is module name really allowed to be different to the artifactId?