You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "stephane bouchet (JIRA)" <ji...@codehaus.org> on 2006/05/16 18:07:41 UTC

[jira] Created: (MPJAVA-45) java report fails build if no source files present

java report fails build if no source files present
--------------------------------------------------

         Key: MPJAVA-45
         URL: http://jira.codehaus.org/browse/MPJAVA-45
     Project: maven-java-plugin
        Type: Bug

    Versions: 1.6    
 Environment: Win 2000, Maven 1.1-beta2, jdk 1.5.0
    Reporter: stephane bouchet


Hi,

In a multiprojet environment, i tried the new java report (maven-java-plugin).
this report is located in the parent of the multiproject .

When i tried to do "maven site",  maven fails because no "compile.log" is generated. 

There is no java source files in parent, so that is why no file is generated. 


a simple way to avoid that could be to test if the source files are present, like in the java:compile goal.


Cheers,

Stéphane 

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


[jira] Closed: (MPJAVA-45) java report fails build if no source files present

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

      Assign To: Lukas Theussl
     Resolution: Fixed
    Fix Version: 1.6.1

Fixed, please test:

maven plugin:download -Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/ -DgroupId=maven -DartifactId=maven-java-plugin -Dversion=1.6.1-SNAPSHOT

> java report fails build if no source files present
> --------------------------------------------------
>
>          Key: MPJAVA-45
>          URL: http://jira.codehaus.org/browse/MPJAVA-45
>      Project: maven-java-plugin
>         Type: Bug

>     Versions: 1.6
>  Environment: Win 2000, Maven 1.1-beta2, jdk 1.5.0
>     Reporter: stephane bouchet
>     Assignee: Lukas Theussl
>      Fix For: 1.6.1

>
>
> Hi,
> In a multiprojet environment, i tried the new java report (maven-java-plugin).
> this report is located in the parent of the multiproject .
> When i tried to do "maven site",  maven fails because no "compile.log" is generated. 
> There is no java source files in parent, so that is why no file is generated. 
> a simple way to avoid that could be to test if the source files are present, like in the java:compile goal.
> Cheers,
> Stéphane 

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


[jira] Commented: (MPJAVA-45) java report fails build if no source files present

Posted by "stephane bouchet (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPJAVA-45?page=comments#action_65511 ] 

stephane bouchet commented on MPJAVA-45:
----------------------------------------

Tested, and working great.

Thanks for your celerity for correcting this ! 


Cheers,

Stephane

> java report fails build if no source files present
> --------------------------------------------------
>
>          Key: MPJAVA-45
>          URL: http://jira.codehaus.org/browse/MPJAVA-45
>      Project: maven-java-plugin
>         Type: Bug

>     Versions: 1.6
>  Environment: Win 2000, Maven 1.1-beta2, jdk 1.5.0
>     Reporter: stephane bouchet
>     Assignee: Lukas Theussl
>      Fix For: 1.6.1

>
>
> Hi,
> In a multiprojet environment, i tried the new java report (maven-java-plugin).
> this report is located in the parent of the multiproject .
> When i tried to do "maven site",  maven fails because no "compile.log" is generated. 
> There is no java source files in parent, so that is why no file is generated. 
> a simple way to avoid that could be to test if the source files are present, like in the java:compile goal.
> Cheers,
> Stéphane 

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