Skip to content

Commit

Permalink
Move to tests module.
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed Feb 17, 2024
1 parent ed4894d commit d77dda7
Show file tree
Hide file tree
Showing 51 changed files with 81 additions and 23 deletions.
23 changes: 0 additions & 23 deletions com.io7m.jobj.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,10 @@
<groupId>com.io7m.jlexing</groupId>
<artifactId>com.io7m.jlexing.core</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>

<dependency>
<groupId>com.io7m.junreachable</groupId>
<artifactId>com.io7m.junreachable.core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand All @@ -60,12 +43,6 @@
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>

<!-- Determine test coverage -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
80 changes: 80 additions & 0 deletions com.io7m.jobj.tests/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?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>com.io7m.jobj</groupId>
<artifactId>com.io7m.jobj</artifactId>
<version>0.4.0-SNAPSHOT</version>
</parent>
<artifactId>com.io7m.jobj.tests</artifactId>

<packaging>jar</packaging>
<name>com.io7m.jobj.tests</name>
<description>Wavefront OBJ reader/writer (Test suite)</description>
<url>https://www.io7m.com/software/jobj</url>

<properties>
<mdep.analyze.skip>true</mdep.analyze.skip>
<checkstyle.skip>true</checkstyle.skip>
<spotbugs.skip>true</spotbugs.skip>
</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>com.io7m.jobj.core</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.io7m.jlexing</groupId>
<artifactId>com.io7m.jlexing.core</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>

<dependency>
<groupId>com.io7m.junreachable</groupId>
<artifactId>com.io7m.junreachable.core</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<!-- Ignore dependencies that bytecode analysis gets wrong. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<failOnWarning>true</failOnWarning>
<ignoredUnusedDeclaredDependencies>
<ignoredUnusedDeclaredDependency>junit:junit:*</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>ch.qos.logback:logback-classic:*</ignoredUnusedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>

<!-- Determine test coverage -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

</project>
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<modules>
<module>com.io7m.jobj.core</module>
<module>com.io7m.jobj.documentation</module>
<module>com.io7m.jobj.tests</module>
<module>com.io7m.jobj.tools</module>
</modules>

Expand Down

0 comments on commit d77dda7

Please sign in to comment.