fix websocket-core-test pom.xml file

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2020-05-14 16:02:21 +10:00
parent f1815b6938
commit dacd5e7e36
1 changed files with 13 additions and 39 deletions

View File

@ -41,45 +41,19 @@
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-deploy-plugin</artifactId>
<executions> <configuration>
<execution> <!-- No point deploying testing projects -->
<id>ban-ws-apis</id> <skip>true</skip>
<goals> </configuration>
<goal>enforce</goal> </plugin>
</goals> <plugin>
<configuration> <groupId>org.apache.maven.plugins</groupId>
<rules> <artifactId>maven-javadoc-plugin</artifactId>
<bannedDependencies> <configuration>
<includes> <!-- No point building javadoc on testing projects -->
<include>org.eclipse.jetty.websocket:websocket-jetty-api</include> <skip>true</skip>
<include>javax.websocket</include> </configuration>
</includes>
</bannedDependencies>
</rules>
</configuration>
</execution>
<execution>
<id>ban-java-servlet-api</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<bannedDependencies>
<includes>
<include>javax.servlet</include>
<include>servletapi</include>
<include>org.eclipse.jetty.orbit:javax.servlet</include>
<include>org.mortbay.jetty:servlet-api</include>
<include>jetty:servlet-api</include>
<include>jetty-servlet-api</include>
</includes>
</bannedDependencies>
</rules>
</configuration>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>