Hm, I don't think that's required, forbiddenapis is just a Maven plugin and the plugin is already defined.
On November 18, 2016 12:54:19 AM GMT+01:00, [email protected] wrote: >Author: elecharny >Date: Thu Nov 17 23:54:19 2016 >New Revision: 1770289 > >URL: http://svn.apache.org/viewvc?rev=1770289&view=rev >Log: >Added the forbiddenapis dependency in the main pom > >Modified: > directory/shared/trunk/pom.xml > >Modified: directory/shared/trunk/pom.xml >URL: >http://svn.apache.org/viewvc/directory/shared/trunk/pom.xml?rev=1770289&r1=1770288&r2=1770289&view=diff >============================================================================== >--- directory/shared/trunk/pom.xml (original) >+++ directory/shared/trunk/pom.xml Thu Nov 17 23:54:19 2016 >@@ -52,6 +52,7 @@ > <commons.pool.version>1.6</commons.pool.version> > <dom4j.version>1.6.1</dom4j.version> > <findbugs.annotations.version>1.0.0</findbugs.annotations.version> >+ <forbiddenapis.version>2.2</forbiddenapis.version> > <junit.version>4.12</junit.version> > <log4j.version>1.2.17</log4j.version> > <logback.version>1.1.7</logback.version> >@@ -561,6 +562,12 @@ > </dependency> > > <dependency> >+ <groupId>de.thetaphi</groupId> >+ <artifactId>forbiddenapis</artifactId> >+ <version>${forbiddenapis.version}</version> >+ </dependency> >+ >+ <dependency> > <groupId>org.apache.servicemix.bundles</groupId> > <artifactId>org.apache.servicemix.bundles.antlr</artifactId> > <version>${antlr.version}_5</version>
