You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Prasad Kashyap <go...@gmail.com> on 2006/02/24 17:39:45 UTC

Test drive the site:stage goal

I tried the site:stage goal and this is what I found when I used the
goal from inside the pom.

Since site:stage goal is yet to be released, use this in your pom
<pluginRepositories>
    <pluginRepository>
      <id>snapshots</id>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>daily</updatePolicy>
      </snapshots>
      <name>Maven Central Plugins Development Repository</name>
      <url>http://snapshots.maven.codehaus.org/maven2</url>
      <releases>
        <updatePolicy>daily</updatePolicy>
      </releases>
    </pluginRepository>
  </pluginRepositories>

Also, it depends on the maven-default-skins which is again not yet
released. So invoke this once
$> svn checkout http://svn.apache.org/repos/asf/maven/skins/trunk/
$> mvn install -DupdateReleaseInfo=true

1) <stagingDirectory> is a required configuration parameter for this goal.

2)  If the <distributionManagement> section exists, then it's
<site><url> element has to exist. I wonder if this requirement is
really necessary.

3) The final staging directory is created by appending the relative
path set in the <site><url> to the path set in goal's configuration
element <stagingDirectory>

4) If the <dist..Mgmt> section does not exist, then the final staging
directory is created by appending the POM <name> to the path set in
the goal's configuration element <stagingDirectory>.

Cheers
Prasad

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