jbosstools / m2e-apt

Maven integration with Eclipse JDT Annotation Processor Toolkit
39 stars 19 forks source link

m2e-apt doesnt delete old build path #39

Closed rawagner closed 8 years ago

rawagner commented 9 years ago

I cant reproduce this 100%, but it happened to me 4-5 times. The best steps I have are here:

  1. Create maven project, add hibernate-jpamodelgen dependency and maven-processor-plugin
  2. Set project's maven annotation processing strategy to experimental
  3. Let the project update ASSERT: target/generated-sources/apt was added to build path
  4. delete maven-processor-plugin
  5. change project's maven annotation processing strategy to JDT, update project FAIL (sometimes..): build path contains both target/generated-sources/apt and target/generated-sources/annotations

apt

You can find test project attached to this JIRA https://issues.jboss.org/browse/JBIDE-19464