Hmm, I have this:

<plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
                <source>1.5</source>
                <target>1.5</target>
                <fork>true</fork>
        </configuration>
</plugin>

And the only output I see as far as compiling (that's useful) is:

[INFO] Compiling 1 source file to
E:\work\up-svcs\lty\proj\LTY-P200711\capi\target\classes 

What am I missing?

-----Original Message-----
From: Tim Kettler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 10, 2007 8:58 AM
To: Maven Users List
Subject: Re: getting mvn to output what source files its compiling

Hi,

do you mean the 'listfiles' option? When you configure the 
compiler-plugin to fork the java compiler and then run with -X maven 
prints the command line it invokes, it includes the classes to be 
compiled. This is obviously not as good as the option ant provides but 
should help debugging your problem.

-Tim

EJ Ciramella schrieb:
> Hate to "simpson's did it", but this was always a great feature of
ant.
> 
> Turning on this feature allowed me to see which class(es) were getting
> recompiled with each compiler pass.  Typically it was a packaging
> statement gone awry.  But I have no idea how to do this with maven
> unless I start pulling apart the source for the compiler plugin. 
> 
> -----Original Message-----
> From: Wayne Fay [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 09, 2007 8:04 PM
> To: Maven Users List
> Subject: Re: getting mvn to output what source files its compiling
> 
> This would probably require that javac ouput what class it is
> currently compiling, at a minimum. Can you make this work? If so, then
> there is a possibility that Maven compiler can be modified to do it as
> well. If not, there is very little chance of this happening in Maven.
> 
> Wayne
> 
> On 10/9/07, EJ Ciramella <[EMAIL PROTECTED]> wrote:
>> We have a little issue with a single class file that keeps getting
>> compiled time after time.
>>
>> Is there any way to get mvn to spit out what class it is building?  I
>> tried -X -e and also -g -verbose, but its still not spitting it out.
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to