Created
September 16, 2011 14:09
-
-
Save krams915/1222200 to your computer and use it in GitHub Desktop.
Maven Copy Plugin (evgeny-goldin)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>com.goldin.plugins</groupId> | |
| <artifactId>maven-copy-plugin</artifactId> | |
| <version>0.2.3</version> | |
| <executions> | |
| <execution> | |
| <id>create-archive</id> | |
| <!-- Select compile phase so that resources are copied first before being | |
| packaged! --> | |
| <phase>compile</phase> | |
| <goals> | |
| <goal>copy</goal> | |
| </goals> | |
| <configuration> | |
| <resources> | |
| <!-- ~~~~~~~~~~~~~~ --> | |
| <!-- Copy directory --> | |
| <!-- ~~~~~~~~~~~~~~ --> | |
| <resource> | |
| <targetPath>${project.build.outputDirectory}/META-INF</targetPath> | |
| <directory>${project.basedir}/src/main/java/META-INF</directory> | |
| </resource> | |
| </resources> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment