Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

broken assembly xml using excludes

By: a guest on Aug 5th, 2011  |  syntax: XML  |  size: 0.97 KB  |  views: 113  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
  3.  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
  5.         <id>jar-with-dependencies</id>
  6.         <formats>
  7.                 <format>jar</format>
  8.         </formats>
  9.         <includeBaseDirectory>false</includeBaseDirectory>
  10.         <dependencySets>
  11.                 <dependencySet>
  12.                         <outputDirectory>/</outputDirectory>
  13.                         <useProjectArtifact>true</useProjectArtifact>
  14.                         <unpack>true</unpack>
  15.                         <scope>runtime</scope>
  16.                         <useDefaultExcludes>true</useDefaultExcludes>
  17.                         <!--<useTransitiveFiltering>true</useTransitiveFiltering>-->
  18.                         <!--<useStrictFiltering>true</useStrictFiltering>-->
  19.                         <excludes>
  20.                                 <exclude>META-INF</exclude>
  21.                                 <exclude>**/*.java</exclude>
  22.                                 <exclude>*.java</exclude>
  23.                                 <exclude>*:sources</exclude>
  24.                         </excludes>
  25.                 </dependencySet>
  26.         </dependencySets>
  27. </assembly>