[
http://jira.codehaus.org/browse/MSITE-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263032#action_263032
]
Lukas Theussl commented on MSITE-579:
-------------------------------------
The scm url and directory structure is not stored when your poms are deployed,
so this information is lost when reading poms from the repository, and your
build will not be reproducible. The artifactId OTOH is stored, so this is what
is used for constructing the urls. Btw, the calculation of scm urls is done in
maven core, so it's not a site-plugin issue anyway.
You opened this as a bug, I pointed out that the behavior corresponds to the
documentation, therefore it is not a bug. If you think the behavior should be
changed, open a feature request for improvement.
> SCM URLs Incorrect for Multi-Module Build Where Module Name != artifactId
> -------------------------------------------------------------------------
>
> Key: MSITE-579
> URL: http://jira.codehaus.org/browse/MSITE-579
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: multi module, relative links
> Affects Versions: 3.0-beta-3
> Reporter: James Carman
> Assignee: Lukas Theussl
>
> I have a multi-module project:
> https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/
> In the main pom.xml file, I have:
> <modules>
> ...
> <module>example</module>
> </modules>
> In my generated site, here:
> http://wicketopia.sourceforge.net/wicketopia-example/source-repository.html
> The SCM urls are all messed up. They have "wicketopia-example" rather than
> just "example" in them. I do not set up SCM URLs in the submodules. I just
> let it inherit stuff from the parent POM. Since we specify
> <module>example</module> in the parent pom rather than
> <module>wicketopia-example</module>, shouldn't it know that the SCM URLs
> shouldn't have "wicketopia-example" in them?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira