I am trying to deploy each version of a site to a different URL, and
use a single configuration in a parent pom. Given a project:

P1
- M1
- M2

where P1 inherits its config from a P0 master pom.

My intent is to obtain something like:

P1 be: http://my.domaine.com/projects/P1/${project.version}/
M1 be: http://my.domaine.com/projects/P1/${project.version}/M1

It works if I specify <url> for the pom and distributionManagement in
each project, but I am trying to get it to work in a single pom.


I tried various things, including

 <distributionManagement>
   <site>
     ...
    
<url>http://my.domaine.com/projects/${project.artifactId}/${project.version}/

in P0

P1 gets http://my.domaine.com/projects/P1/${project.version}/P1
and
M1 gets http://my.domaine.com/projects/M1/${project.version}/P1/M1

I could live with the superfluous P1 for the moment, but the P1
replaced by M1 obviously breaks browsing...

Any comment?

Anyone else dealing with versionned sites ?

Jerome

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

Reply via email to