Maven Eclipse Plugin
  1. Maven Eclipse Plugin
  2. MECLIPSE-104

Add the ability to specify source inclusions/exclusions

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: None
    • Labels:
      None

      Description

      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

      1. srcExclusions-patch.zip
        7 kB
        James L. Mitchell
      2. MECLIPSE-104.patch
        5 kB
        Richard van der Hoff
      3. MECLIPSE-104.patch
        5 kB
        Richard van der Hoff
      4. fix-eclipse-classpaths.sh
        0.2 kB
        Cameron Fieber

        Issue Links

          Activity

          James Mitchell created issue -
          Lukas Theussl made changes -
          Field Original Value New Value
          Project maven-eclipse-plugin [ 10352 ] Maven 2.x Eclipse Plugin [ 11133 ]
          Workflow jira [ 56391 ] Maven New [ 56490 ]
          Key MPECLIPSE-117 MECLIPSE-104
          Cameron Fieber made changes -
          Attachment fix-eclipse-classpaths.sh [ 24237 ]
          Richard van der Hoff made changes -
          Attachment MECLIPSE-104.patch [ 34024 ]
          Arnaud HERITIER made changes -
          Assignee Arnaud Heritier [ aheritier ]
          Fix Version/s 2.5.2 [ 14163 ]
          Barrie Treloar made changes -
          Fix Version/s 2.6 [ 14163 ]
          Fix Version/s 2.7 [ 14813 ]
          Richard van der Hoff made changes -
          Attachment MECLIPSE-104.patch [ 40941 ]
          Barrie Treloar made changes -
          Assignee Arnaud Heritier [ aheritier ] Barrie Treloar [ baerrach ]
          Barrie Treloar made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Barrie Treloar made changes -
          Summary Add the ability to specify source exclusions Add the ability to specify source inclusions/exclusions
          Barrie Treloar made changes -
          Fix Version/s 2.6.1 [ 15130 ]
          Fix Version/s 2.7 [ 14813 ]
          Barrie Treloar made changes -
          Status In Progress [ 3 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Arnaud HERITIER made changes -
          Link This issue supercedes MECLIPSE-538 [ MECLIPSE-538 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 10:00:37 UTC 2015 [ 1428228037919 ]
          Mark Thomas made changes -
          Workflow jira [ 12720524 ] Default workflow, editable Closed status [ 12750915 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 23:47:18 UTC 2015 [ 1428277638729 ]
          Mark Thomas made changes -
          Workflow jira [ 12958046 ] Default workflow, editable Closed status [ 12994879 ]

            People

            • Assignee:
              Barrie Treloar
              Reporter:
              James Mitchell
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development