corehunter-base
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.corehunter</groupId> <artifactId>corehunter-base</artifactId> <version>3.2.0</version> </dependency>
<?xml version="1.0"?> <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> <parent> <groupId>org.corehunter</groupId> <artifactId>corehunter</artifactId> <version>3.2.0</version> </parent> <artifactId>corehunter-base</artifactId> <packaging>jar</packaging> <name>Core Hunter with base data structures</name> <dependencies> <dependency> <groupId>org.jamesframework</groupId> <artifactId>james-extensions</artifactId> </dependency> <dependency> <groupId>uno.informatics.common</groupId> <artifactId>informatics-data-impl</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <scope>test</scope> <version>2.44.0</version> </dependency> <dependency> <groupId>com.opera</groupId> <artifactId>operadriver</artifactId> <scope>test</scope> <version>1.5</version> <exclusions> <exclusion> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-remote-driver</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-jar-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> </plugin> <!-- checkstyle --> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <!-- jar with dependencies --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>2.4.3</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <shadedArtifactAttached>true</shadedArtifactAttached> <transformers> <!-- exclude LICENSE and NOTICE files of dependencies --> <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer"> <resources> <resource>LICENSE</resource> <resource>LICENSE.txt</resource> <resource>NOTICE</resource> <resource>NOTICE.txt</resource> </resources> </transformer> <!-- include Core Hunter README, LICENSE and NOTICE --> <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> <resource>META-INF/README.md</resource> <file>../README.md</file> </transformer> <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> <resource>META-INF/LICENSE</resource> <file>../LICENSE</file> </transformer> <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> <resource>META-INF/NOTICE</resource> <file>../NOTICE</file> </transformer> </transformers> <!-- omit unused components of dependencies --> <minimizeJar>true</minimizeJar> <filters> <!-- explicitly include slf4j classes because some are loaded at runtime --> <filter> <artifact>org.slf4j:slf4j-api</artifact> <includes> <include>**</include> </includes> </filter> </filters> </configuration> </execution> </executions> </plugin> <!-- attach ant tasks to maven phases --> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <phase>package</phase> <configuration> <target> <!-- copy jar with dependencies to bin directory after packaging --> <copy file="${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar" tofile="bin/corehunter-${project.version}.jar" /> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> <!-- extend clean phase --> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.0.0</version> <configuration> <filesets> <!-- remove contents of bin directory --> <fileset> <directory>bin</directory> </fileset> </filesets> </configuration> </plugin> </plugins> </build> </project>