Skip to content

Instantly share code, notes, and snippets.

@EdGruberman
Last active December 10, 2015 18:49
Show Gist options
  • Save EdGruberman/4477567 to your computer and use it in GitHub Desktop.
Save EdGruberman/4477567 to your computer and use it in GitHub Desktop.
Copy the file
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.6</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>install</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <resources>
+ <resource>
+ <directory>target</directory>
+ <includes>
+ <include>craftbukkit*.jar</include>
+ </includes>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ <outputDirectory>${deploy-dir}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment