Skip to content

Commit

Permalink
Fix "Maven" dependency issues
Browse files Browse the repository at this point in the history
Using dependency type "gwt-lib" causes Maven caching issues when using
devmode. Adding gwt-ol3 as normal + sources dependencies solves these
issues. Now you can also additionally edit the gwt-ol3 client code while
running devmode.
  • Loading branch information
TDesjardins committed Jun 26, 2017
1 parent 16e6da0 commit a80760a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion gwt-ol3-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
</dependency>
<!-- gwt-ol3 normal dependency -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>gwt-ol3</artifactId>
<version>${project.version}</version>
<type>gwt-lib</type>
</dependency>
<!-- gwt-ol3 sources dependency for devmode -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>gwt-ol3</artifactId>
<version>${project.version}</version>
<classifier>sources</classifier>
</dependency>
</dependencies>

Expand Down

0 comments on commit a80760a

Please sign in to comment.