maven-jar-plugin excludes
Answered
I am running the maven-jar-plugin to exclude certain class files I need during complication for tests. This works fine thru maven, but intellij is not reading these excludes. Anything I can do here?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<configuration>
<excludes>
<exclude>**/MyClassToExclude*.*</exclude>
</excludes>
</configuration>
<id>test-jar</id>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
Please sign in to leave a comment.
Hello,
We have related issues on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-204719, https://youtrack.jetbrains.com/issue/IDEA-87868
Please follow them for updates.