s243a

Unpack a Jar

Jun 2nd, 2015
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.91 KB | None | 0 0
  1. <!-- The following let me unpack dependencies but in the all dependencies were copied into a target sub-folder.
  2. I'm going to try changing the output directory to "/"
  3. -->
  4.  
  5.             </plugin>
  6.                    
  7.                         <plugin>
  8.                 <groupId>org.apache.maven.plugins</groupId>
  9.                 <artifactId>maven-dependency-plugin</artifactId>
  10.                 <version>2.8</version>
  11.                 <executions>
  12.                     <execution>
  13.                         <id>copy</id>
  14.                         <phase>package</phase>
  15.                         <goals>
  16.                             <goal>unpack-dependencies</goal>
  17.                         </goals>
  18.                         <configuration>
  19.                             <outputDirectory>${project.build.directory}</outputDirectory>
  20.                         </configuration>
  21.                     </execution>
  22.                 </executions>
  23.             </plugin>
Advertisement
Add Comment
Please, Sign In to add comment