Import servlet-api dependency as last in gerrit-war

This fixes NoSuchMethodError when Gerrit is run inside Eclipse using
tools/pgm_daemon launch configuration.

Change-Id: I5ef856677b030b56c23775010edfad0e57c8af23
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
This commit is contained in:
Dariusz Luksza 2012-11-20 15:23:36 +01:00
parent d85df6496d
commit aea7618b7e

View File

@ -34,12 +34,6 @@ limitations under the License.
</description>
<dependencies>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
@ -118,6 +112,12 @@ limitations under the License.
<artifactId>jetty-servlet</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>