[jira] Commented: (MECLIPSE-443) Only include **/*.java in Java source directories

2008-12-01 Thread Michael Johns (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156002#action_156002
 ] 

Michael Johns commented on MECLIPSE-443:


Yes, that's the default behavior of the compiler plugin: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/CompilerMojo.java?view=markup

You can override that behavior to include other types of files.  I suppose this 
plugin should follow that same pattern.

> Only include **/*.java in Java source directories
> -
>
> Key: MECLIPSE-443
> URL: http://jira.codehaus.org/browse/MECLIPSE-443
> Project: Maven 2.x Eclipse Plugin
>  Issue Type: Improvement
>Affects Versions: 2.5.1
>Reporter: Michael Johns
>Assignee: Barrie Treloar
>Priority: Minor
> Fix For: 2.6
>
> Attachments: MECLIPSE-443.2.patch, MECLIPSE-443.patch
>
>
> Since Maven only recognizes *.java files in Java source directories 
> (src/main/java, or src/test/java, for example), it would be nice if the 
> plugin produced .classpath files configured the same way.  Right now, a 
> developer can inadvertently leave a non-Java resource in one of those 
> directories, and everything will work fine in Eclipse.  But when the time 
> comes to produce a package, that artifact will be missing since Maven won't 
> pick it up.

-- 
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: (MECLIPSE-443) Only include **/*.java in Java source directories

2008-11-27 Thread Arnaud Heritier (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=155714#action_155714
 ] 

Arnaud Heritier commented on MECLIPSE-443:
--

Are we sure it won't break many projects which stored other files (like 
properties, xml) in the java dir (even it's a bad practice)
What is the behavior of the compiler plugin in maven ??
Is it strict like this ?

> Only include **/*.java in Java source directories
> -
>
> Key: MECLIPSE-443
> URL: http://jira.codehaus.org/browse/MECLIPSE-443
> Project: Maven 2.x Eclipse Plugin
>  Issue Type: Improvement
>Affects Versions: 2.5.1
>Reporter: Michael Johns
>Assignee: Arnaud Heritier
>Priority: Minor
> Fix For: 2.6
>
> Attachments: MECLIPSE-443.2.patch, MECLIPSE-443.patch
>
>
> Since Maven only recognizes *.java files in Java source directories 
> (src/main/java, or src/test/java, for example), it would be nice if the 
> plugin produced .classpath files configured the same way.  Right now, a 
> developer can inadvertently leave a non-Java resource in one of those 
> directories, and everything will work fine in Eclipse.  But when the time 
> comes to produce a package, that artifact will be missing since Maven won't 
> pick it up.

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