Maven 1.x Announcement Plugin

Maven does not display anything when "maven announcement" is called

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1
  • Fix Version/s: 1.1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

Calling "maven announcement" leads to:

E:\Dev\maven-plugins\announcement>maven announcement -Dmaven.announcement.version=1.0
__ __

\/ __ Apache_ ___
  \/ / ` \ V / -) ' \ ~ intelligent projects ~
_   _,_ _/___ _ _ v. 1.0-rc3-SNAPSHOT

Plugin cache will be regenerated
BUILD SUCCESSFUL
Total time: 8 seconds
Finished at: Mon Apr 12 21:34:22 CEST 2004

E:\Dev\maven-plugins\announcement>

Maven does not display the goal called for example. Nor does it display the message:

<j:echo>Generating announcement for release ${maven.announcement.version} ...</j:echo>

which is supposed to de displayed.

Activity

Hide
fabrizio giustina added a comment -

here is the patch.

  • the message is fixed + check for the presence of the selected version and fail if missing
  • maven.announcement.version defaults to ${pom.version}
  • download url is changed to a generic pom.url (distributionDirectory was wrong, sorry. There is no info in the pom for the distribution url)
Show
fabrizio giustina added a comment - here is the patch.
  • the message is fixed + check for the presence of the selected version and fail if missing
  • maven.announcement.version defaults to ${pom.version}
  • download url is changed to a generic pom.url (distributionDirectory was wrong, sorry. There is no info in the pom for the distribution url)
Hide
Vincent Massol added a comment -

Applied! Thanks!

Show
Vincent Massol added a comment - Applied! Thanks!

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: