Skip to content

Commit

Permalink
change gwt-dev scope to be excluded from the .war [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
hmiguim committed Mar 2, 2020
1 parent ce9e574 commit 7183faf
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<maven.compiler.target>1.8</maven.compiler.target>

<version.gwt>2.8.2-jetty941</version.gwt>
<scope.gwt-dev>provided</scope.gwt-dev>
<version.dbptk>2.6.5</version.dbptk>
<version.roda>3.0.2</version.roda>

Expand All @@ -37,6 +38,7 @@
<springboot.version>2.2.2.RELEASE</springboot.version>
<desktop>com.databasepreservation.desktop.Desktop</desktop>
<server>com.databasepreservation.server.Server</server>

</properties>

<repositories>
Expand Down Expand Up @@ -114,15 +116,18 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${springboot.version}</version>
<configuration>
<excludes>
<exclude>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.3</version>
<configuration>
<packagingExcludes>
WEB-INF/lib/gwt-dev-*.jar
</packagingExcludes>
</configuration>
</plugin>
</plugins>

Expand Down Expand Up @@ -400,18 +405,17 @@
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${version.gwt}</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${version.gwt}</version>
<exclusions>
<exclusion>
<groupId>org.mortbay.jasper</groupId>
<artifactId>apache-jsp</artifactId>
</exclusion>
</exclusions>
<scope>${scope.gwt-dev}</scope>
</dependency>
<!-- viewer -->
<dependency>
Expand Down

0 comments on commit 7183faf

Please sign in to comment.