[ 
http://jira.codehaus.org/browse/MOJO-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dillon closed MOJO-524.
-----------------------------

    Resolution: Fixed

I've added {{translate-project}} goal, which will only execute on {{java}} 
projects, based on your patch.

See 1.0-alpha-2-SNAPSHOT for changes.


> Mojo should not execute for non-Java projects
> ---------------------------------------------
>
>                 Key: MOJO-524
>                 URL: http://jira.codehaus.org/browse/MOJO-524
>             Project: Mojo
>          Issue Type: Bug
>          Components: retrotranslator
>            Reporter: Johannes Brodwall
>         Assigned To: Jason Dillon
>            Priority: Critical
>         Attachments: AvoidExecutionForNonJavaProjects.patch
>
>
> Adding the plugin to a non-Java project gives the following error when the 
> project is executed:
> "Invalid srcdir: ....\target\classes"
> This is important because many will want to add the retrotranslator plugin in 
> a parent POM (project type "pom").
> The attached patch fixes this by exiting if its a non-Java Project.
> I have verified that the patch works on a POM multiproject.

-- 
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 from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to