How do I install a test-jar in maven?
You don’t need to install them manually. Maven will do this for you when executing: mvn clean install You need a configuration along the lines of: … <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.2</version> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> … Then, later on in your other module where you’ll need to … Read more