title: How to disable Spring's JpaExceptionTranslatorAspect
body: <p>I'm migrating from Spring 2.5.6 to 3.2.5. The jar spring-aspects-3.2.5 contains the new aspect JpaExceptionTranslatorAspect which translates standard JPA exceptions into Spring exceptions. <a href="https://jira.springsource.org/browse/SPR-7649" rel="nofollow">It seems to be a Roo-specific aspect</a>. This aspect gets automatically weaved into repositories (annotated with @Repository). Consequently, standard JPA exceptions are not caught anymore and the application is broken.</p>
  
  <p>How can I exclude JpaExceptionTranslatorAspect from being weaved? If it can't be done, is there any other workaround? Or am I missing some piece of configuration?</p>
  
  <p>I'm using AspectJ 1.7.4 and AspectJ Maven Plugin 1.4.</p>
  
  <p>What I have already gathered:</p>
  
  <ul>
  <li><a href="https://jira.springsource.org/browse/SPR-7649" rel="nofollow">Spring rejected the issue because it's a build issue</a></li>
  <li><a href="http://jira.codehaus.org/browse/MASPECTJ-94" rel="nofollow">AspectJ Maven Plugin rejected the issue because the AspectJ compiler doesn't support excluding specific aspects from a library</a></li>
  </ul>
  
  <p>However, I wonder if those pieces of information are up to date.</p>