Maven 1.x Site Plugin

Maven site 1.6.1 plugin always results in 'Build Successful'.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.1
  • Fix Version/s: 1.7
  • Component/s: plugin
  • Labels:
    None
  • Environment:
    Not of importance.
  • Number of attachments :
    0

Description

In previous versions of the Maven site plugin, deploying the site documentation through SSH always resulted in 'Build Successful', even when e.g. the SSH isn't available.

This was supposed to have been corrected in version 1.6.1, as indicated here:

http://maven.apache.org/reference/plugins/site/announcements/announcement-1.6.1.txt

However, the problem is still present.

The solution is simple : just add an attribute failonerror="true" in <exec> calls in plugin.jelly.

Issue Links

Activity

Hide
Arnaud Heritier added a comment -

Modification applied.
you can download and test the new snapshot (available in few hours) :
maven plugin:download -Dmaven.repo.remote=http://cvs.apache.org/repository -DgroupId=maven -DartifactId=maven-site-plugin -Dversion=SNAPSHOT
Thanks.

Show
Arnaud Heritier added a comment - Modification applied. you can download and test the new snapshot (available in few hours) : maven plugin:download -Dmaven.repo.remote=http://cvs.apache.org/repository -DgroupId=maven -DartifactId=maven-site-plugin -Dversion=SNAPSHOT Thanks.
Hide
Arnaud Heritier added a comment -

The fix for MPSITE-28 created this problem :-/

Show
Arnaud Heritier added a comment - The fix for MPSITE-28 created this problem :-/

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
5m
Original Estimate - 5 minutes
Remaining:
5m
Remaining Estimate - 5 minutes
Logged:
Not Specified
Time Spent - Not Specified