thin-jar-launcher
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.develrulez.thinjar</groupId> <artifactId>thin-jar-launcher</artifactId> <version>1.0.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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.develrulez.thinjar</groupId> <artifactId>thin-jar-parent</artifactId> <version>1.0.0</version> </parent> <artifactId>thin-jar-launcher</artifactId> <name>Thin-JAR Launcher</name> <description>Contributes the required components, to download the thin-jar dependencies while starting</description> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>3.0.1</version> <configuration> <debug>true</debug> <projectsDirectory>${basedir}/src/test-projects</projectsDirectory> <cloneProjectsTo>${project.build.directory}/test-projects</cloneProjectsTo> <pomIncludes> <pomInclude>*/pom.xml</pomInclude> </pomIncludes> <postBuildHookScript>verify</postBuildHookScript> <goals> <goal>clean</goal> <goal>package</goal> </goals> </configuration> <executions> <execution> <id>build-artifacts-for-unit-tests</id> <phase>generate-test-resources</phase> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <additionalClasspathElements> <additionalClasspathElement>${project.build.directory}/test-projects/dummy/target/dummy-x.y.z-SNAPSHOT.jar</additionalClasspathElement> </additionalClasspathElements> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.3.0</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.stefanbirkner</groupId> <artifactId>system-rules</artifactId> <version>1.16.1</version> <scope>test</scope> </dependency> </dependencies> </project>