You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2005/05/14 14:29:21 UTC

[jira] Created: (MNG-392) Make an abstract mojo that works with MavenProject

Make an abstract mojo that works with MavenProject
--------------------------------------------------

         Key: MNG-392
         URL: http://jira.codehaus.org/browse/MNG-392
     Project: m2
        Type: Task
    Versions: 2.0-alpha-3    
    Reporter: Jason van Zyl
     Fix For: 2.0-alpha-3


For mojos like eclipse:eclipse and idea:idea it would be nice to have an abstract mojo that can have common code for validation. Like checking for the existence of a project. Any of the IDEA mojos would be candidates for use.

-- 
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


[jira] Closed: (MNG-392) Make an abstract mojo that works with MavenProject

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-392?page=all ]
     
Brett Porter closed MNG-392:
----------------------------

    Fix Version:     (was: 2.0-alpha-3)
     Resolution: Won't Fix

please reopen if you disagree.

> Make an abstract mojo that works with MavenProject
> --------------------------------------------------
>
>          Key: MNG-392
>          URL: http://jira.codehaus.org/browse/MNG-392
>      Project: Maven 2
>         Type: Task
>     Versions: 2.0-alpha-3
>     Reporter: Jason van Zyl

>
>
> For mojos like eclipse:eclipse and idea:idea it would be nice to have an abstract mojo that can have common code for validation. Like checking for the existence of a project. Any of the IDEA mojos would be candidates for use.

-- 
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


[jira] Commented: (MNG-392) Make an abstract mojo that works with MavenProject

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-392?page=comments#action_39038 ]
     
Brett Porter commented on MNG-392:
----------------------------------

Jason, there is an open bug to flag a mojo as "requiring a project" to work in the mojo descriptor instead of this - do you think that is a better alternative than changing base classes? This could also then require a project, without actually having to take a project as a field - keeping it separated from Maven, but allowing Maven to handle it smartly.

I'd actually think that the Eclipse and IDEA plugins should be able to take a Model, not a MavenProject so that they could work with a POM-like structure from Ant. The barrier to this is the use of resolved artifacts instead of the dependencies list, so if they were passed in separately and the Ant tasks were used to resolve them, there shouldn't really be a need for a project at all.


> Make an abstract mojo that works with MavenProject
> --------------------------------------------------
>
>          Key: MNG-392
>          URL: http://jira.codehaus.org/browse/MNG-392
>      Project: m2
>         Type: Task
>     Versions: 2.0-alpha-3
>     Reporter: Jason van Zyl
>      Fix For: 2.0-alpha-3

>
>
> For mojos like eclipse:eclipse and idea:idea it would be nice to have an abstract mojo that can have common code for validation. Like checking for the existence of a project. Any of the IDEA mojos would be candidates for use.

-- 
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