You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2011/04/09 11:27:23 UTC
[jira] Commented: (MSITE-579) SCM URLs Incorrect for Multi-Module
Build Where Module Name != artifactId
[ http://jira.codehaus.org/browse/MSITE-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=263021#action_263021 ]
Lukas Theussl commented on MSITE-579:
-------------------------------------
>From the [site docs|http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/usage.html]:
{noformat}
If subprojects inherit the site URL from a parent POM, they will automatically append their <artifactId> to form their effective deployment location.
{noformat}
So if the ArtifactId does not match the scm structure, you have to override the <scm> settings in the sub-project(s).
> 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
>
> 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