[
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