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

        

Reply via email to