Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-443

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.1
    • 2.6
    • None
    • None
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              baerrach Barrie Treloar
              arabull Michael Johns
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: