junit4-test-utils
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.ocarlsen.test</groupId> <artifactId>junit4-test-utils</artifactId> <version>1.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> <groupId>com.ocarlsen.test</groupId> <artifactId>junit4-test-utils</artifactId> <version>1.0</version> <packaging>jar</packaging> <name>junit4-test-utils</name> <description>Utilities for testing with JUnit4.</description> <url>https://github.com/ocarlsen/junit4-test-utils</url> <licenses> <license> <name>MIT License</name> <url>https://raw.githubusercontent.com/ocarlsen/slf4j-log-level/main/LICENSE</url> </license> </licenses> <developers> <developer> <name>Owen Carlsen</name> <email>ocarlsen@gmail.com</email> <url>https://github.com/ocarlsen</url> </developer> </developers> <scm> <connection>scm:git:https://github.com/ocarlsen/junit4-test-utils</connection> <developerConnection>${project.scm.connection}</developerConnection> <url>https://github.com/ocarlsen/junit4-test-utils</url> <tag>v1.0</tag> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.release>17</maven.compiler.release> <!-- For Site Project Summary, "Java Version" field. --> <maven.compiler.source>${maven.compiler.release}</maven.compiler.source> <maven.compiler.target>${maven.compiler.release}</maven.compiler.target> <!-- SonarCloud project --> <sonar.organization>ocarlsen</sonar.organization> <sonar.host.url>https://sonarcloud.io</sonar.host.url> </properties> <dependencies> <!-- Compile --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>3.3.0</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.10.1</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.1</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.0.2</version> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.5.2</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.12.1</version> </plugin> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.4.1</version> </plugin> </plugins> </pluginManagement> <plugins> <!-- Code coverage metrics. --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.8</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <!-- Update README with version. --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>readme</id> <phase>process-resources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.basedir}</outputDirectory> <resources> <resource> <directory>src/main/doc</directory> <includes> <include>README.md</include> </includes> <filtering>true</filtering> </resource> </resources> <encoding>UTF-8</encoding> </configuration> </execution> </executions> </plugin> <!-- Include README in release --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.0.0-M6</version> <configuration> <tagNameFormat>v@{project.version}</tagNameFormat> <pushChanges>false</pushChanges> <preparationGoals>resources:copy-resources@readme scm:add -Dincludes=README.md</preparationGoals> <completionGoals>resources:copy-resources@readme scm:add -Dincludes=README.md</completionGoals> </configuration> </plugin> <!-- Push artifacts to OSSRH. Bound to 'deploy' goal. --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.13</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <!-- Site --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <configuration> <!-- Let Github Site Plugin handle deployment. https://github.github.com/maven-plugins/site-plugin/phase.html --> <skipDeploy>true</skipDeploy> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> <plugin> <!-- Deploy the site to Github Pages https://github.github.com/maven-plugins/site-plugin/quickstart.html --> <groupId>com.github.github</groupId> <artifactId>site-maven-plugin</artifactId> <version>0.12</version><!-- https://github.com/github/maven-plugins/issues/105 --> <executions> <execution> <goals> <goal>site</goal> </goals> <!-- select the Maven phase in which the plugin will be executed --> <phase>site-deploy</phase> <configuration> <!-- The id of the server to use to retrieve the Github credentials. This id must identify a server from your setting.xml file. --> <server>github</server> <!-- The commit message --> <message>Building site for project version ${project.version}</message> <!-- The location where the site is uploaded --> <path>${site.path}</path> <!-- Use merge or override the content --> <merge>true</merge> </configuration> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> </plugins> </reporting> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.4.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <keyname>${gpg.keyname}</keyname> <passphraseServerId>${gpg.keyname}</passphraseServerId> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>