Using eclipse and maven, is there a quick way to mark all targets and subfolders as received?

I work with eclipse in a mavenized project that has a significant number of modules / subfolders / maven subprojects.

Whenever I search for a resource or do some research, it shows me every appearance in every project two times because of the target folder ...

Example:

PROJECTA / projectB / SRC / Primary / Resource /.../ Foo.xml

if I look for the line that is in the foo.xml file, it will show:

  • PROJECTA / projectB / SRC / Primary / Resource /.../ Foo.xml
  • projectB / SRC / main / resource /.../ Foo.xml
  • PROJECTA / projectB / target / Primary / resource /.../ Foo.xml
  • PROJECTA / projectB / target / Primary / resource /.../ Foo.xml

This is a lot for a single file. In addition, let’s say that prohectA ​​is designed to create a pump, not a war, can or ear ... The problem is that if I select this entry, I will not be able to use autocomplete, or the functionality of the check item (with which I don’t I can work without !!!!). Even worse: if I select the destination directory, my changes will be overwritten on the next maven build ...

What can I do? At the moment I’m just paying attention, but it’s a little painful ... And I don’t have time to go through the whole project to mark them one by one as received (basically about 1000 clicks), so they don’t come in search .. In addition, the destination folder will simply appear again after the next maven build.

Any ideas?

, eclipse , ... , , ... , .

script, , , eclipse , .

+5
2

Eclipse ( , Maven ). -, . , , , .

+1

AutoDeriv Eclipse AutoDeriv, , , .., .gitignore.

, , / maven.

[] , . , . 1.3.0, Eclipse .

Disclamer, =)

0

All Articles