HI,
Just like WAR can I as well exclude some files from JAR builds as well?

I have used this, but not working.

  </plugin>
    <plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-jar-plugin</artifactId>
  <version>2.1</version>
  <executions>
       <execution>
          <goals>
             <goal>jar</goal>
        </goals>
       </execution>
    </executions>
    <configuration>
        <excludes>**/*.xsd</excludes>
           <schemaDirectory>src/schema/xsd</schemaDirectory>
    </configuration>
  </plugin>

Am I missing something?

Amit

Reply via email to