You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Guy Rixon (JIRA)" <ji...@codehaus.org> on 2005/08/25 20:19:02 UTC

[jira] Created: (MPJAVA-39) Plug-in ignores source generated during Maven run

Plug-in ignores source generated during Maven run
-------------------------------------------------

         Key: MPJAVA-39
         URL: http://jira.codehaus.org/browse/MPJAVA-39
     Project: maven-java-plugin
        Type: Bug
 Environment: Windows XP SP2; JDK 1.5; Maven 1.0.2;
 Reporter: Guy Rixon
    Priority: Critical


My project generates its Java source-code and then tries to compile it: I have a custom goal that does both in one run of Maven . The java plug-in ignores the generated source and claims that there are no Java files to compile. If I run java:compile again, without cleaning the directory,then the plug-in  notices the source-code and compiles it.

It looks like the check for files to compile is done when Maven starts, not when the goals in the Java plug-in are run. This is a BAD design decision and is causing me real grief. Please support generated code.

-- 
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: (MPJAVA-39) Plug-in ignores source generated during Maven run

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJAVA-39?page=all ]
     
Lukas Theussl closed MPJAVA-39:
-------------------------------

    Resolution: Duplicate

> Plug-in ignores source generated during Maven run
> -------------------------------------------------
>
>          Key: MPJAVA-39
>          URL: http://jira.codehaus.org/browse/MPJAVA-39
>      Project: maven-java-plugin
>         Type: Bug

>  Environment: Windows XP SP2; JDK 1.5; Maven 1.0.2;
>     Reporter: Guy Rixon
>     Priority: Critical

>
>
> My project generates its Java source-code and then tries to compile it: I have a custom goal that does both in one run of Maven . The java plug-in ignores the generated source and claims that there are no Java files to compile. If I run java:compile again, without cleaning the directory,then the plug-in  notices the source-code and compiles it.
> It looks like the check for files to compile is done when Maven starts, not when the goals in the Java plug-in are run. This is a BAD design decision and is causing me real grief. Please support generated code.

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