Return to Snippet

Revision: 65247
at November 11, 2013 18:40 by alces


Initial Code
<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>

Initial URL
copy-dependencies-lib

Initial Description
Copy all runtime dependencies into single flat directory (ant-like lib setup) - maybe useful for trimming too long classpathes.

Initial Title
Making ant-like flat lib directory in pom.xml

Initial Tags

                                

Initial Language
XML