Dennis Lundberg wrote:
Hi

I've done some testing, and as far as site generation all is well.

Unfortunately site:stage-deploy deploys the site to the wrong place.
This is the same issue I saw when releasing, and staging the site for,
Maven Site Plugin 2.3.

Here's what I get when doing 'mvn clean site:site site:deploy' on
maven-checkstyle-plugin using maven-site-plugin:3.0.
maven-site-plugin:2.3 does the same thing, but 3.0-beta-3 works
correctly. So this is a regression compared to 3.0-beta-3.



[INFO] --- maven-site-plugin:3.0:stage-deploy (default-cli) @
maven-checkstyle-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/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT
[INFO] Parent project loaded from repository:
org.apache.maven.plugins:maven-plugins:pom:21
[INFO] Parent project loaded from repository:
org.apache.maven:maven-parent:pom:20
[INFO] Parent project loaded from repository: org.apache:apache:pom:9

: Keyboard interactive required, supplied password is ignored
Password: : ********
scp://people.apache.org/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/
- Session: Opened
[INFO] Pushing
G:\apache\maven\trunks\plugins\maven-checkstyle-plugin\target\site
[INFO]>>>  to
scp://people.apache.org/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin
Executing command: mkdir -p
/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin
Executing command: mkdir -p
/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin
Executing command: scp -t
"/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin/wagon592489540427231356.zip"
Uploading: plugins/maven-checkstyle-plugin/wagon592489540427231356.zip
to
scp://people.apache.org/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/

#######################################################
Transfer finished. 224640 bytes copied in 1.699 seconds
Executing command: cd
/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin;
unzip -q -o wagon592489540427231356.zip; rm -f wagon592489540427231356.zip
Executing command: chmod -Rf g+w,a+rX
/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/
scp://people.apache.org/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/
- Session: Disconnecting
scp://people.apache.org/www/maven.apache.org/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/
- Session: Disconnected



Notice how it gets deployed to

/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/plugins/maven-checkstyle-plugin/

instead of

/plugins/maven-checkstyle-plugin-2.7-SNAPSHOT/


Lukas, can this have anything to do with your refactoring of the staging
functionality?


Yes, most probably. After MSITE-537, if you stage-deploy from a sub-module, the relative path from the top-level site is added to the stage-deploy url. This doesn't seem to work if the default <stagingSiteURL> is overridden somewhere on the way, probably related to MSITE-600. Unfortunately, I don't have time right now to look at it, but promise I will ASAP when I'm back.

-Lukas




How should we handle this? I propose we go ahead with the release, but
add this as a known issue in the announcement. And then we get started
on a fix right away. This release is way to big as it is.


On 2011-07-30 17:03, Dennis Lundberg wrote:
Hi,

We solved 46+1 issues:
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11146&styleName=Html&version=16829
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11761&styleName=Html&version=17501

There are still a couple of issues left in JIRA:
http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&pid=11146&status=1

Staging repos:
https://repository.apache.org/content/repositories/maven-015/
https://repository.apache.org/content/repositories/maven-016/

Staging sites:
http://maven.apache.org/plugins/maven-site-plugin-3.0/
http://maven.apache.org/shared/maven-reporting-exec-1.0.1/

Guide to testing staged releases:
http://maven.apache.org/guides/development/guide-testing-releases.html

Vote open for 72 hours.

[ ] +1
[ ] +0
[ ] -1



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to