maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud Heritier (JIRA)" <>
Subject [jira] Commented: (MECLIPSE-443) Only include **/*.java in Java source directories
Date Fri, 28 Nov 2008 06:54:19 GMT


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:
>             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:
For more information on JIRA, see:


View raw message