You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Roussel <na...@diroussel.xsmail.com> on 2008/08/29 14:07:24 UTC

Site deploy corrupting URL in multi-module project

Hi,

I'm just setting up my site deployment and came across a little quirk.  I'm
running Maven 2.0.9.

I have apache running on windows and I want to deploy my sites to
http://myserver.domain/module-docs/, I have created a network share for
uploading the files:
  \\myserver.domain\module-docs\

I configured by parent POM for this:


<url>http://gcm-svn/module-docs/${project.artifactId}-${project.version}</url>
	<distributionManagement>
		<site>
			<id>my.website</id>
			<name>MYT Website</name>
		
<url>file://///myserver.domain/module-docs/${project.artifactId}-${project.version}</url>
		</site>
	</distributionManagement>

And ran a deployment of my multi-module project.

The parent module's site works fine, I can see the site on the network
share, but the submodules are not there!  Looking at the logs, at first it
seems fine.  Then I noticed a small discrepancy.  Can you spot it?


[INFO] [site:deploy]
file://///myserver.domain/module-docs/parent-module-0.9-SNAPSHOT - Session:
Opened  
file://///myserver.domain/module-docs/parent-module-0.9-SNAPSHOT - Session:
Disconnecting  
file://///myserver.domain/module-docs/parent-module-0.9-SNAPSHOT - Session:
Disconnected

...

[INFO] [site:deploy]
file:///myserver.domain/module-docs/modeule-A-plugin-0.9-SNAPSHOT/modeule-A-plugin
- Session: Opened  
file:///myserver.domain/module-docs/modeule-A-plugin-0.9-SNAPSHOT/modeule-A-plugin
- Session: Disconnecting  
file:///myserver.domain/module-docs/modeule-A-plugin-0.9-SNAPSHOT/modeule-A-plugin
- Session: Disconnected

...

[INFO] [site:deploy]
file:///myserver.domain/module-docs/modeule-B-plugin-0.9-SNAPSHOT/modeule-B-plugin
- Session: Opened  
file:///myserver.domain/module-docs/modeule-B-plugin-0.9-SNAPSHOT/modeule-B-plugin
- Session: Disconnecting  
file:///myserver.domain/module-docs/modeule-B-plugin-0.9-SNAPSHOT/modeule-B-plugin
- Session: Disconnected

Turn out the site's are being deployed to
D:\myserver.domain/module-docs/modeule-B-plugin-0.9-SNAPSHOT/modeule-B-plugin
not the network share!

Anyone else run into this?  Is it a recent problem?  I'm sure we had this
working ok at the previous company I worked at.

Any neat tricks or work arounds?  Should I raise a defect?

Thanks

David
-- 
View this message in context: http://www.nabble.com/Site-deploy-corrupting-URL-in-multi-module-project-tp19218655p19218655.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org