I have 2 projects named PARENT and A. For both I want to deploy a site.
Why can't I just define the site deployment url like
sites/${project.artifactId} in the parent and inherit in the sub project
(using the pom parent element).

 I have tried many variations come to the conclusion that in order to get
the right directory I have to define the deployment site in every sub
project:
1.) Parent site url is 'sites/',  A defines no url, resulting url is
'sites/A'
2.) Parent site url is 'sites/',  A defines url as
sites/${project.artifactId}, resulting url is 'sites/A'

3.) Parent site url is 'sites',   A defines no url, resulting url is
'sites/A'
4.) Parent site url is 'sites',   A defines url as
sites/${project.artifactId}, resulting url is 'sites/A'

5.) Parent site url is 'sites/${project.artifactId}',   A defines no url,
resulting url is 'sites/A/A'
6.) Parent site url is 'sites/${project.artifactId}',   A defines url as
'sites/${project.artifactId}', resulting url is 'sites/A'

7.) Parent site url is 'sites/${project.artifactId}/',   A defines no url,
resulting url is 'sites/A/A'
8.) Parent site url is 'sites/${project.artifactId}/',   A defines url as
'sites/${project.artifactId}', resulting url is 'sites/A'

I have even tried the formerly documented feature with the trailing / that
should control whether a subproject should add its aritfactId to the url.
I find it strange that when using the ${project.artifactId} expression in
the parent project the resulting url is sites/A/A.

>From the above results I see that I need to specifiy the url in every
project, the parent and all of the sub projects (I have a large number!)


-----
http://www.martinahrer.at/blog http://www.martinahrer.at/blog 
-- 
View this message in context: 
http://www.nabble.com/site-deployment-url-tp16807725s177p16807725.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to