[ 
https://issues.apache.org/jira/browse/MCOMPILER-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270557#comment-16270557
 ] 

Vimal commented on MCOMPILER-316:
---------------------------------

problem with -X option is that it dumps lot of information, and more than half 
of entire output is :



{noformat}
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
[DEBUG] Using mirror inner 
(http://so-and-so-ip:so-and-so-port/nexus/content/groups/so-and-so-group/) for 
central (http://repo.maven.apache.org/maven2).
{noformat}



each plugin {compile, resourses, surefire, jar, clea} prints DEBUG log

compile plugin *does* print complete command line options after printing 
classpath , stale java files, again classpath.

i am thinking if it is possible to print the "command line options" alone by 
using another flag.

Thanks,





> maven should *always* print classpath used to compile the java files
> --------------------------------------------------------------------
>
>                 Key: MCOMPILER-316
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-316
>             Project: Maven Compiler Plugin
>          Issue Type: Improvement
>         Environment: ALL
>            Reporter: Vimal
>
> mostly i use "{{maven clean install}}" to build my packages
> by default maven doesnt print the classpath used to compile java files. It 
> should.
> it prints information like which jars it is downloading. thats fine.
> but it should *always* print the classpath used.
> there is a "-X" option which prints classpath , but it prints TONS and TONS 
> of information which i think no one is interested in (except perhaps the 
> maven developers)
> so there is no easy way to get the classpath used.
> Please make maven to print classpath for each java file compiled, by default.
> OR give a easy option to enable it along with other options.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to