Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Fri, 9 Apr 2004 9:28 PM
set maven.default.goal in plugin manager
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCONSOLE-4
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPCONSOLE-4
Summary: maven.default.goal incorrect?
Type: Bug
Status: Closed
Priority: Trivial
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-console-plugin
Assignee: Brett Porter
Reporter: Charlie Dobbie
Created: Wed, 29 Oct 2003 7:16 AM
Updated: Fri, 9 Apr 2004 9:28 PM
Environment: maven-console-plugin-1.0, seems to appear in current HEAD as well.
Description:
The console goal contains the following line:
<j:set var="lastGoal" value="${maven.console.first}"/>
Where maven.console.first is defined in the plugin.properties as:
maven.console.first = ${maven.default.goal}
But this appears not to work - no default goal is presented on the i:ask line and
pressing return without typing anything does not execute the default goal. If you
execute the following:
lastGoal=war:webapp
Then the goal is correctly displayed and executes as expected. Hardcoding the value
of lastGoal works, and hardcoding the value of maven.console.first works, so I assume
${maven.default.goal} isn't the correct property for the project's default goal?
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]