|
|
|
@ -19,10 +19,11 @@
|
|
|
|
|
<main.basedir>${basedir}/../..</main.basedir>
|
|
|
|
|
</properties>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!-- Compile (should stick to the bare minimum) -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<!-- Shaded -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.vaadin.external.google</groupId>
|
|
|
|
|
<artifactId>android-json</artifactId>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- Test -->
|
|
|
|
|
<dependency>
|
|
|
|
@ -41,6 +42,34 @@
|
|
|
|
|
<proc>none</proc>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>shade</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<filters>
|
|
|
|
|
<filter>
|
|
|
|
|
<artifact>com.vaadin.external.google:android-json</artifact>
|
|
|
|
|
</filter>
|
|
|
|
|
</filters>
|
|
|
|
|
<relocations>
|
|
|
|
|
<relocation>
|
|
|
|
|
<pattern>org.json</pattern>
|
|
|
|
|
<shadedPattern>org.springframework.boot.configurationprocessor.json</shadedPattern>
|
|
|
|
|
</relocation>
|
|
|
|
|
</relocations>
|
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
|
<createSourcesJar>true</createSourcesJar>
|
|
|
|
|
<shadeSourcesContent>true</shadeSourcesContent>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|
|
|
|
|