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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to