You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2007/11/04 17:26:12 UTC

[jira] Commented: (MSITE-258) Deployment on network drive for multi-modules fails for modules sites

    [ http://jira.codehaus.org/browse/MSITE-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_112736 ] 

Dennis Lundberg commented on MSITE-258:
---------------------------------------

This might be related to MSITE-232.

> Deployment on network drive for multi-modules fails for modules sites
> ---------------------------------------------------------------------
>
>                 Key: MSITE-258
>                 URL: http://jira.codehaus.org/browse/MSITE-258
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: inheritance, multi module, site:deploy
>    Affects Versions: 2.0-beta-5
>         Environment: Windows, Maven 2.0.5, site plugin version 2.0-beta-5
>            Reporter: Romain Linsolas
>            Priority: Minor
>
> I work on a project with several modules, for example :
> myproject
>   + commons
>   + business
>   + ...
> (myproject is also the parent project for all modules)
> In the parent pom.xml, I define the distribution management in order to deploy my whole site on a network drive (which is not mapped):
> <distributionManagement>
>     <site>
>         <id>website</id>
>         <url>file://///xxxx/yyy/sites/my-site</url>
>     </site>
> </distributionManagement>
> When I deploy the whole site (command mvn site-deploy run on the parent directory), the "core" site is correctly deployed on my network drive, but all modules are deployed on my C: drive (in the directory C:\xxxx\y\sites\my-site\...).
> As the core site is correctly deployed, I think the problem is that the deployment URL is not correctly given to all project children. Maybe it is a Maven bug, not a Site Plugin problem?
> The only way to make the deployment works correctly is to redefine, for each modules, the distributionManagement!
> Note that this problem does not occur if the network drive is mapped (for example if the distribution URL is something like "F:/sites/my-site/").

-- 
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