Eclipse or Maven creates bin directory - problem with .launch files

I have a maven (main) project with two modules (each module has this main project as a parent). Everything works fine, but last week I noticed that I can save the launch configuration from eclipse to regular * .launch files.

So, I created a folder under the main name: main / conf

where all my launch configurations are stored (* .launch). But after a while I noticed that eclipse or maven creates a directcotry bin in the main project (main / bin) with an exact copy of the main project (including the pom.xml and .project file).

In both other projects, this directory is missing.

The problem is that eclipse scans the entire tree of directives for * .launch files and eclipse finds them in main / conf and main / bin / conf.

I thought that building the plugin from maven could be a problem and removed, but without any luck. I'm not sure if this is a problem with maven because I have a teamcity building my banks and there are no bunker bans on my build agents. So maybe the problem is with eclipse?

Thanks Hauke

+4
source share
2 answers

I noticed the same thing. The easiest way to suppress them is with a great resource filter. Right-click on your project and open Properties. Then go to Resource -> Resource Filters. Add the โ€œExclude all foldersโ€ filter with โ€œAll children (recursive)โ€ checked for โ€œbinโ€. I also do the same for "target" to exclude build directories. Good luck

+2
source

Make sure this is a Maven project. in the upper left corner of the icon should be a small letter M If you do not right-click on the project, configure / convert to maven

Now try right-clicking on the project, maven / "Update Project". After that, try to delete the basket again.

0
source

All Articles