title: Tycho: How do I deploy sources jars optional?
body: <p>Based on <a href="https://stackoverflow.com/questions/5702701/tycho-how-do-i-deploy-sources-jars-of-packaging-eclipse-plugin">this</a> i use this code to ship the source of my project.</p>
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.eclipse.tycho&lt;/groupId&gt;
      &lt;artifactId&gt;tycho-source-plugin&lt;/artifactId&gt;
      &lt;version&gt;${tycho.version}&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;id&gt;plugin-source&lt;/id&gt;
              &lt;goals&gt;
                  &lt;goal&gt;plugin-source&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  <p>So far this works fine. I got a <strong>xxxx.jar</strong> and a <strong>xxxx.source.jar</strong></p>
  <p>But what if I want to ship the source optional?</p>
  <p>Is there a way to make it possible to ship the source only on demand? Like the normal User gets it without source and an other Developer gets it with?</p>
  <p><strong>EDIT</strong></p>
  <p>after looking into the tycho-soure-feature-plugin this is what i get as result:</p>
  <blockquote>
  <p>[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-source-feature-plugin:1.0.0:source-feature (source-feature) on project projectname.feature: Execution source-feature of goal org.eclipse.tycho.extras:tycho-source-feature-plugin:1.0.0:source-feature failed: An API incompatibility was encountered while executing org.eclipse.tycho.extras:tycho-source-feature-plugin:1.0.0:source-feature: java.lang.UnsupportedClassVersionError: org/eclipse/tycho/packaging/LicenseFeatureHelper : Unsupported major.minor version 52.0</p>
  </blockquote>
  <p>so i looked up why there is an error -&gt; i use JDK 1.6 and on the build server there is no other JDK installed so i cant use this plugin even if i would use Maven Toolchain</p>
  <p><a href="https://chat.stackoverflow.com/rooms/135558/tycho-help-room">Room</a></p>