wcomponents-examples-lde
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.bordertech.wcomponents</groupId>
<artifactId>wcomponents-examples-lde</artifactId>
<version>1.5.39</version>
</dependency><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>wcomponents-examples-lde</name>
<artifactId>wcomponents-examples-lde</artifactId>
<parent>
<groupId>com.github.bordertech.wcomponents</groupId>
<artifactId>wcomponents-parent</artifactId>
<version>1.5.39</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>jar</packaging>
<profiles>
<profile>
<id>skipExamplesLdeOptionalQA</id>
<activation>
<property>
<name>skipOptionalQA</name>
<value>true</value>
</property>
</activation>
<properties>
<bt.qa.skip>true</bt.qa.skip>
</properties>
</profile>
</profiles>
<properties>
<checkstyle.suppressions.location>${basedir}/checkstyle-exclude.xml</checkstyle.suppressions.location>
</properties>
<dependencies>
<dependency>
<groupId>com.github.bordertech.wcomponents</groupId>
<artifactId>wcomponents-bundle</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.github.bordertech.wcomponents</groupId>
<artifactId>wcomponents-examples</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.github.bordertech.wcomponents</groupId>
<artifactId>wcomponents-lde</artifactId>
<version>${project.version}</version>
</dependency>
<!-- SLF4J implementation for basic logging. -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
<!-- The reduced pom impacts the use of the main attached jar as it removes all dependencies -->
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
<filter>
<artifact>*:*</artifact>
<!-- These files cause an Invalid Signature File error when launching LDE. -->
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<transformers>
<!-- Merge the wcomponents-app.preoprties from LDE and examples as they are all assembled on top of each other. -->
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>wcomponents-app.properties</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.github.bordertech.wcomponents.examples.lde.StandaloneLauncherProxy</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>