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

Only include **/*.java in Java source directories

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.6
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch

      Description

      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.

      1. MECLIPSE-443.2.patch
        1.0 kB
        Michael Johns
      2. MECLIPSE-443.patch
        1 kB
        Michael Johns

        Issue Links

          Activity

          Michael Johns created issue -
          Michael Johns made changes -
          Field Original Value New Value
          Attachment MECLIPSE-443.patch [ 34140 ]
          Michael Johns made changes -
          Attachment MECLIPSE-443.2.patch [ 34142 ]
          Arnaud HERITIER made changes -
          Fix Version/s 2.5.2 [ 14163 ]
          Assignee Arnaud Heritier [ aheritier ]
          Barrie Treloar made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Arnaud HERITIER made changes -
          Assignee Arnaud Heritier [ aheritier ] Barrie Treloar [ baerrach ]
          Benjamin Bentmann made changes -
          Link This issue relates to MECLIPSE-551 [ MECLIPSE-551 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MECLIPSE-553 [ MECLIPSE-553 ]
          Ari Meyer made changes -
          Link This issue is depended upon by MECLIPSE-551 [ MECLIPSE-551 ]
          Ari Meyer made changes -
          Link This issue is depended upon by MECLIPSE-551 [ MECLIPSE-551 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 10:00:37 UTC 2015 [ 1428228037919 ]
          Mark Thomas made changes -
          Workflow jira [ 12720841 ] Default workflow, editable Closed status [ 12750753 ]
          Mark Thomas made changes -
          Flags Patch [ 10430 ]
          Patch Submitted Yes [ 10763 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 23:47:18 UTC 2015 [ 1428277638729 ]
          Mark Thomas made changes -
          Workflow jira [ 12958633 ] Default workflow, editable Closed status [ 12995513 ]

            People

            • Assignee:
              Barrie Treloar
              Reporter:
              Michael Johns
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development