It's me again...

After getting the project site built correctly, I then tried to sshdeploy it to SourceForge using the new site-plugin. It didn't go all that well. Having switched back and forth between 1.6.1 and 1.7-SNAPSHOT I have found one thing that's different in 1.7. This might be by design, looking at the resolved issues MPSITE-28 and MPSITE-34.

There are a couple of errors from [exec] using either version. It's about directories that can't be unlinked. Not sure what that means. In 1.6.1 these are ignored by the plugin and the build succeeds. In 1.7-SNAPSHOT, on the other hand, the build fails. In both cases the site is in fact deployed and working. But because the 1.7-SNAPSHOT build fails there is a file (the .tar file) left on the server that doesn't get cleaned away. This prevents prevents subsequent site deploys from succeeding. I had to log in and manually remove that file. See the logs below.

Reading Fabrizios comments on MPSITE-34 I realize that he had the exact same problem. This was supposed to have been fixed by that issue, but the default value for maven.site.failonerror=true in plugin.properties. This means that everyone with a SF project who upgrades to site-plugin-1.7 has to add this property with a value of false, to their own project.properties file.

May I suggest that we either change the default value to false, to remain 
backwards compatible, or add a BIG note about this somewhere.



Using 1.6.1
-----------

site:sshdeploy:
    [tar] Building tar: G:\sourceforge\jetstyle-0_9\target\jetstyle-site.tar
    [gzip] Building: G:\sourceforge\jetstyle-0_9\target\jetstyle-site.tar.gz
    [delete] Deleting: G:\sourceforge\jetstyle-0_9\target\jetstyle-site.tar
    [exec]
    [exec] jetstyle-site.tar.gz      |          4 kB |   4.0 kB/s | ETA: 
00:00:05 |  16%
    [exec] jetstyle-site.tar.gz      |         16 kB |   5.3 kB/s | ETA: 
00:00:01 |  64%
    [exec] jetstyle-site.tar.gz      |         24 kB |   8.3 kB/s | ETA: 
00:00:00 | 100%
    [exec] images/
    [exec] tar: images: Cannot unlink: Is a directory
    [exec] images/logos/
    [exec] style/
    [exec] changes-report.html
    [exec] changes.rss
    [exec] cvs-usage.html
    [exec] dependencies.html
    [exec] downloads.html
    [exec] faq.html
    [exec] images/add.gif
    [exec] images/collapsed.gif
    [exec] images/expanded.gif
    [exec] images/external.png
    [exec] images/fix.gif
    [exec] images/icon_error_sml.gif
    [exec] tar: images/logos: Cannot unlink: Is a directory
    [exec] tar: style: Cannot unlink: Is a directory
    [exec] images/icon_info_sml.gif
    [exec] images/icon_success_sml.gif
    [exec] images/icon_warning_sml.gif
    [exec] images/logos/maven-button-1.png
    [exec] images/newwindow.png
    [exec] images/pdf.gif
    [exec] images/remove.gif
    [exec] images/rss.png
    [exec] images/update.gif
    [exec] index.html
    [exec] issue-tracking.html
    [exec] mail-lists.html
    [exec] tar: Error exit delayed from previous errors
    [exec] maven-reports.html
    [exec] project-info.html
    [exec] style/maven-base.css
    [exec] style/maven-classic.css
    [exec] style/maven-theme.css
    [exec] style/print.css
    [exec] task-list.html
    [exec] team-list.html
    [exec] [ERROR] Result: 2
    [delete] Deleting: G:\sourceforge\jetstyle-0_9\target\jetstyle-site.tar.gz
BUILD SUCCESSFUL


Using 1.7-SNAPSHOT
------------------

site:sshdeploy:
    [echo] Creating site archive
    [tar] Building tar: G:\sourceforge\jetstyle-0_9\target\jetstyle-site.tar
    [gzip] Building: G:\sourceforge\jetstyle-0_9\target\jetstyle-site.tar.gz
    [delete] Deleting: G:\sourceforge\jetstyle-0_9\target\jetstyle-site.tar
    [echo] Creating remote site directory
    [echo] Copying site archive to the remote host
    [exec]
    [exec] jetstyle-site.tar.gz      |          4 kB |   4.0 kB/s | ETA: 
00:00:05 |  16%
    [exec] jetstyle-site.tar.gz      |         24 kB |  24.8 kB/s | ETA: 
00:00:00 | 100%
    [echo] Unzipping site archive on the remote host
    [echo] Untarring site archive on the remote host
    [exec] images/
    [exec] images/logos/
    [exec] style/
    [exec] changes-report.html
    [exec] changes.rss
    [exec] cvs-usage.html
    [exec] dependencies.html
    [exec] downloads.html
    [exec] faq.html
    [exec] images/add.gif
    [exec] tar: images: Cannot unlink: Is a directory
    [exec] tar: images/logos: Cannot unlink: Is a directory
    [exec] images/collapsed.gif
    [exec] images/expanded.gif
    [exec] tar: style: Cannot unlink: Is a directory
    [exec] images/external.png
    [exec] images/fix.gif
    [exec] images/icon_error_sml.gif
    [exec] images/icon_info_sml.gif
    [exec] images/icon_success_sml.gif
    [exec] images/icon_warning_sml.gif
    [exec] images/logos/maven-button-1.png
    [exec] images/newwindow.png
    [exec] images/pdf.gif
    [exec] images/remove.gif
    [exec] images/rss.png
    [exec] images/update.gif
    [exec] index.html
    [exec] tar: Error exit delayed from previous errors
    [exec] issue-tracking.html
    [exec] mail-lists.html
    [exec] maven-reports.html
    [exec] project-info.html
    [exec] style/maven-base.css
    [exec] style/maven-classic.css
    [exec] style/maven-theme.css
    [exec] style/print.css
    [exec] task-list.html
    [exec] team-list.html

BUILD FAILED
File...... C:\Documents and 
Settings\dlg01\.maven\cache\maven-site-plugin-1.7-SNAPSHOT\plugin.jelly
Element... exec
Line...... 205
Column.... 96
null returned: 2
Total time: 35 seconds
Finished at: Thu May 04 16:40:13 CEST 2006


Using 1.6.1 (after running one failed build with 1.7-SNAPSHOT first)
-----------

site:sshdeploy:
    [tar] Building tar: G:\sourceforge\jetstyle-0_9\target\jetstyle-site.tar
    [gzip] Building: G:\sourceforge\jetstyle-0_9\target\jetstyle-site.tar.gz
    [delete] Deleting: G:\sourceforge\jetstyle-0_9\target\jetstyle-site.tar
    [exec]
    [exec] jetstyle-site.tar.gz      |          4 kB |   4.0 kB/s | ETA: 
00:00:05 |  16%
    [exec] jetstyle-site.tar.gz      |         24 kB |  24.8 kB/s | ETA: 
00:00:00 | 100%
    [exec] gunzip: jetstyle-site.tar already exists;    not overwritten
    [exec] [ERROR] Result: 2
    [delete] Deleting: G:\sourceforge\jetstyle-0_9\target\jetstyle-site.tar.gz
BUILD SUCCESSFUL



Lukas Theussl wrote:

Hi,

I think the following m1 plugins are ready for a release:

[] maven-jalopy-plugin-1.5
[] maven-multiproject-plugin-1.5
[] maven-site-plugin-1.7
[] maven-test-plugin-1.8


For changes in each version, check the jira and changes reports on the
stage sites given below.

+1, 72h...

Cheers,
-Lukas



http://people.apache.org/~ltheussl/maven-stage-site/maven-1.x/plugins/jalopy/ http://people.apache.org/~ltheussl/maven-stage-site/maven-1.x/plugins/multiproject/
http://people.apache.org/~ltheussl/maven-stage-site/maven-1.x/plugins/site/
http://people.apache.org/~ltheussl/maven-stage-site/maven-1.x/plugins/test/


maven plugin:download
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
-DgroupId=maven -DartifactId=maven-jalopy-plugin -Dversion=1.5-SNAPSHOT

maven plugin:download
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/ -DgroupId=maven -DartifactId=maven-multiproject-plugin -Dversion=1.5-SNAPSHOT

maven plugin:download
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
-DgroupId=maven -DartifactId=maven-site-plugin -Dversion=1.7-SNAPSHOT

maven plugin:download
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
-DgroupId=maven -DartifactId=maven-test-plugin -Dversion=1.8-SNAPSHOT


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



--
Dennis Lundberg

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

Reply via email to