You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Hao Chen (JIRA)" <ji...@codehaus.org> on 2005/09/24 15:45:12 UTC
[jira] Commented: (MNG-1011) doesn't work
[ http://jira.codehaus.org/browse/MNG-1011?page=comments#action_47071 ]
Hao Chen commented on MNG-1011:
-------------------------------
my opinion:
- To be consistent with goals explicitly run, it should run the goal for all modules by default. There could be a property called "recursive" to control whether goals are applied recursively.
- Yes, the default should be inherited. If the child needs a different default, it can override (same amount of work as if there is no inheritance). But if the children need the same default goal as the parent, we don't need to specify for each child.
> <defaultGoal> doesn't work
> --------------------------
>
> Key: MNG-1011
> URL: http://jira.codehaus.org/browse/MNG-1011
> Project: Maven 2
> Type: Bug
> Versions: 2.0-beta-1
> Reporter: Hao Chen
> Assignee: Brett Porter
> Fix For: 2.0-beta-3
>
> Original Estimate: 30 minutes
> Remaining: 30 minutes
>
> added the following to pom.xml:
> <build>
> <defaultGoal>install</defaultGoal>
> </build>
> On command line, type: m2
> Error:
> You must specify at least one goal. Try 'install'
> usage: maven [options] [goal [goal2 [goal3] ...]]
> ...
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org