-
New Feature
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
-
Empty show more show less
We currently copy & paste this snippet when we need to share test-jars:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <!-- let's also attach the test sources --> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-test-sources</id> <goals> <goal>test-jar-no-fork</goal> </goals> </execution> </executions>
Doing this in the parent pom by default might result in unnecessary disk space usage (and perhaps some confusion as to which projects do provide valuable reusable test code)
It'd be nice if we could somehow avoid the redundancy.
Acceptance criteria