Skip to content
Browse files

FORGE-700

  • Loading branch information...
1 parent 3f8ad42 commit c9c108ae4eaefc246319e5ef067b0846a7057324 @gastaldi gastaldi committed Oct 31, 2012
View
3 javaee-impl/src/main/java/org/jboss/forge/spec/javaee/jpa/PersistenceMetaModelFacetImpl.java
@@ -127,6 +127,9 @@ private void addProcessorPlugin(MetaModelProvider provider)
.addPluginDependency(aptDependency);
project.getFacet(MavenPluginFacet.class).addPlugin(processorPlugin);
+ // FORGE-700
+ project.getFacet(DependencyFacet.class).addDirectDependency(
+ DependencyBuilder.create(aptDependency).setScopeType("provided"));
}
private DependencyBuilder createProcessorDependency()

0 comments on commit c9c108a

Please sign in to comment.
Something went wrong with that request. Please try again.