title: Skip Build of Tycho Module
body: <p>I want to skip the build of a couple tycho modules for a specific profile, but evidently the Maven way does not work.</p>
  
  <p>I tried <code>mvn install -pl "!org.acme.project"</code> but got:</p>
  
  <pre><code>[INFO] Scanning for projects...
  [ERROR] [ERROR] Could not find the selected project in the reactor: org.acme.project @ 
  [ERROR] Could not find the selected project in the reactor: org.acme.project -&gt; [Help 1]
  [ERROR] 
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
  </code></pre>
  
  <p>(Which makes sense, because Tycho artifacts are never known as Maven artifacts, so of course Maven does not find them.)</p>
  
  <p>And I tried overridding the modules like this:</p>
  
  <pre><code>&lt;modules&gt;
      &lt;module&gt;org.acme.project&lt;/module&gt;
      &lt;module&gt;org.acme.other&lt;/module&gt;
  &lt;/modules&gt;
  
  &lt;profiles&gt;
      &lt;profile&gt;
          &lt;id&gt;my-great-profile&lt;/id&gt;
  
          &lt;modules&gt;
              &lt;module&gt;org.acme.other&lt;/module&gt;
          &lt;/modules&gt;
      &lt;/profile&gt;
  &lt;/profiles&gt;
  </code></pre>
  
  <p>But all projects are built that way (I'm not sure if that <em>should</em> work, or if I can only add modules that way). </p>
  
  <p>Creating a default profile does not work, because then Eclipse won't let me import these projects. </p>
  
  <p>I could probably disable all used Maven / Tycho plug-ins manually, but that's tedious. </p>
  
  <p>Is there an easy way to skip Tycho modules?</p>