/ Published in: XML

Copy all runtime dependencies into single flat directory (ant-like lib setup) - maybe useful for trimming too long classpathes.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<project> ... <build> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <includeScope>runtime</includeScope> <outputDirectory>lib</outputDirectory> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>
Comments
