Reduce server classpath size by excluding dynamically loaded deps

This commit is contained in:
Antonin Delpeuch 2018-09-11 11:33:53 +01:00
parent df53cf9117
commit 4457c7fd30

View File

@ -113,6 +113,7 @@
<version>3.1.1</version> <version>3.1.1</version>
<configuration> <configuration>
<outputFile>target/classpath.txt</outputFile> <outputFile>target/classpath.txt</outputFile>
<includeScope>runtime</includeScope>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
@ -125,12 +126,12 @@
<artifactId>main</artifactId> <artifactId>main</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<type>pom</type> <type>pom</type>
<scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>javax.servlet</groupId> <groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId> <artifactId>servlet-api</artifactId>
<version>2.5</version> <version>2.5</version>
<scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mortbay.jetty</groupId> <groupId>org.mortbay.jetty</groupId>