ah ok, I got it
it's a specific configuration written in maven-enforcer-plugin

IIUC, it's a try to handle the case where a project (defining its top level 
directory) contains a plugin (published in /plugins/), with the question of 
the staging directory.
This is a question common with archetype, surefire, plugin-tools, and scm, for 
which we looked for a global solution over the last year.
The actual consensus (just surefire isn't done yet) is to publish the plugin in 
the top level directory (no specific m-site-p configuration for the plugin 
module) and a rewrite rule in site's .htaccess.
AFAIK, this will be a prerequisite when we switch to svnpubsub, because 
svnpubsub would cause hard problems to the enforcer's solution.

IMHO, enforcer should switch. Tell me if you need help.

Regards,

Hervé

Le mardi 10 juillet 2012 08:03:24 Barrie Treloar a écrit :
> On Tue, Jul 10, 2012 at 6:24 AM, Hervé BOUTEMY <[email protected]> 
wrote:
> >> From what I can tell the automated steps now put things at
> >> /www/maven.apache.org/staging
> > 
> > no, there is no "staging" directory.
> > Where did you get this info?
> 
> From the command logs..
> 
> > mvn site site:stage-deploy -Preporting
> 
> ...
> INFO] --- maven-site-plugin:3.0:stage-deploy (default-cli) @
> maven-enforcer-plugin ---
> [INFO] Using this server ID for stage deploy: apache.website
> [INFO] Using this base URL for stage deploy:
> scp://people.apache.org/www/maven.apache.org/staging
> [INFO] Parent project loaded from repository:
> org.apache.maven:maven-parent:pom:21
> [INFO] Parent project loaded from repository: org.apache:apache:pom:10
> Using private key: /Users/barrie/.ssh/[email protected]
> scp://people.apache.org/www/maven.apache.org/staging/ - Session: Opened
> [INFO] Pushing
> /Users/barrie/ide/maven/enforcer/target/checkout/maven-enforcer-plugin/targ
> et/site [INFO]    >>> to
> scp://people.apache.org/www/maven.apache.org/staging/plugins/maven-enforcer-
> plugin Executing command: mkdir -p
> /www/maven.apache.org/staging/plugins/maven-enforcer-plugin
> Executing command: mkdir -p
> /www/maven.apache.org/staging/plugins/maven-enforcer-plugin
> Executing command: scp -t
> "/www/maven.apache.org/staging/plugins/maven-enforcer-plugin/wagon3077837942
> 66116250.zip" Uploading:
> plugins/maven-enforcer-plugin/wagon307783794266116250.zip to
> scp://people.apache.org/www/maven.apache.org/staging/
> 
> ############################################################################
> ##################### Transfer finished. 396475 bytes copied in 11.214
> seconds
> Executing command: cd
> /www/maven.apache.org/staging/plugins/maven-enforcer-plugin; unzip -q
> -o wagon307783794266116250.zip; rm -f wagon307783794266116250.zip
> Executing command: chmod -Rf g+w,a+rX /www/maven.apache.org/staging/
> scp://people.apache.org/www/maven.apache.org/staging/ - Session:
> Disconnecting scp://people.apache.org/www/maven.apache.org/staging/ -
> Session: Disconnected
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to