title: How to exclude source files using Clojure maven plugin?
body: <p>I'm trying to compile some Clojure code into a jar, using Maven and the clojure-maven-plugin.</p>
  
  <p>The generated jar includes the source *.clj files, i would like to <strong>exclude</strong> these files from the final jar,
  and include only the <strong>AOT compiled files</strong>.</p>
  
  <p>My pom file is as follows:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  
      &lt;artifactId&gt;clojure-interop&lt;/artifactId&gt;
      &lt;groupId&gt;com.testing.clojure&lt;/groupId&gt;
      &lt;version&gt;1.0.0&lt;/version&gt;
  
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;com.theoryinpractise&lt;/groupId&gt;
                  &lt;artifactId&gt;clojure-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.3.13&lt;/version&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;compile-clojure&lt;/id&gt;
                          &lt;phase&gt;compile&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;compile&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                      &lt;execution&gt;
                          &lt;id&gt;test-clojure&lt;/id&gt;
                          &lt;phase&gt;test&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;test&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;clojars&lt;/id&gt;
              &lt;url&gt;http://clojars.org/repo/&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.clojure&lt;/groupId&gt;
              &lt;artifactId&gt;clojure&lt;/artifactId&gt;
              &lt;version&gt;1.5.0&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>Can someone point me in the right direction?</p>