title: aspectj-maven-plugin, declare soft how to compile
body: <p>Is it possible to compile project with softened Exceptions (e.g.: <code>declare soft: Exception : execution(* *.*());</code>) aspects in it using only aspectj-maven-plugin ? I can't handle it... I am still getting compilation error </p>
  
  <pre><code>unreported exception Exception; must be caught or declared to be thrown
  </code></pre>
  
  <p>So it is compiled without taking aspects in account.</p>
  
  <p>I am using this command to compile:</p>
  
  <pre><code>mvn clean aspectj:compile
  </code></pre>
  
  <p>and my pom.xml is:</p>
  
  <pre><code>&lt;project&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;pl.group.id&lt;/groupId&gt;
  &lt;artifactId&gt;aop&lt;/artifactId&gt;
  &lt;version&gt;1.0.0&lt;/version&gt;
  
  &lt;dependencies&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
          &lt;artifactId&gt;aspectjrt&lt;/artifactId&gt;
          &lt;version&gt;1.7.4&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
          &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
          &lt;version&gt;3.1&lt;/version&gt;
      &lt;/dependency&gt;
  
  
  &lt;/dependencies&gt;
  
  &lt;build&gt;
  
      &lt;plugins&gt;
  
          &lt;plugin&gt;
  
  
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;aspectj-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.6&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;complianceLevel&gt;1.7&lt;/complianceLevel&gt;
                  &lt;source&gt;1.7&lt;/source&gt;
                  &lt;target&gt;1.7&lt;/target&gt;
                  &lt;aspectDirectory&gt;src/main/aspect&lt;/aspectDirectory&gt;
              &lt;/configuration&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;compile&lt;/goal&gt;
                          &lt;goal&gt;test-compile&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  
      &lt;/plugins&gt;
  &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>What am I doing wrong?     </p>