Dear, I'm trying to set up my first maven project for my code which can be found here: https://github.com/jkinable/jorlib
I have 3 pom files: https://github.com/jkinable/jorlib/blob/master/pom.xml https://github.com/jkinable/jorlib/blob/master/jorlib-core/pom.xml https://github.com/jkinable/jorlib/blob/master/jorlib-demo/pom.xml I would like to exclude all files in the following directory from both compilation and testing (but the sources need to be retained): jorlib-core/src/test/java/org/jorlib/frameworks/columnGeneration/tsp I've tried to include pretty much every <exclude> ... </exclude> pattern I could think of to the following plugins: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> in https://github.com/jkinable/jorlib/blob/master/pom.xml and <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> in https://github.com/jkinable/jorlib/blob/master/jorlib-core/pom.xml Yet "mvn package" keeps compiling (and crashing) on files in the directory jorlib-core/src/test/java/org/jorlib/frameworks/columnGeneration/tsp Any suggestions on how to solve this? Thank you, Joris
