[ http://jira.codehaus.org/browse/MECLIPSE-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171004#action_171004 ]
Richard van der Hoff commented on MECLIPSE-104: ----------------------------------------------- The problem I am facing is that some of the .java files in my source tree won't build against the dependency versions maven chooses for me. Unfortunately fixing this isn't an option. It would require moving lots of stuff around in CVS which I really don't have time for. The compiler plugin allows me to exclude classes with the <excludes> tag. It therefore seems to make sense for the eclipse plugin to do so as well. > Add the ability to specify source exclusions > -------------------------------------------- > > Key: MECLIPSE-104 > URL: http://jira.codehaus.org/browse/MECLIPSE-104 > Project: Maven 2.x Eclipse Plugin > Issue Type: New Feature > Reporter: James Mitchell > Assignee: Arnaud Heritier > Priority: Minor > Fix For: 2.7 > > Attachments: fix-eclipse-classpaths.sh, MECLIPSE-104.patch, > srcExclusions-patch.zip > > > When source files contain scm information (**/.svn/** or **/CVS/**), which is > pretty much a given, there's currently no way to specify that those > directories be excluded except through the GUI. This isn't so much of a > problem except that the next time a change is needed and this plugin is ran, > it will overwrite this exclusion and will force me to exclude it, by hand, > again. > The above case is the driving reason why I decided to get involved and help > out. So, I have written everything (I think) that is needed for this > enhancement including, adding to the javadoc, creating a new test that > verifies this enhancement, and fully testing this with my own projects (many > of them @ Struts). If there is anything else I need to do as far as site > documentation, please tell me where it is and I'll add it. > This is my first patch to Maven. If this sucks, please don't ignore it, just > say 'it sucks, no thanks" and I'll go about working on something else. > Thanks so much for your attention. > -- > James Mitchell -- 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