diff-util
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>net.morimekta.utils</groupId> <artifactId>diff-util</artifactId> <version>3.1.1</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> <name>Diff Utilities</name> <description> Utilities helping with comparing and diffing pieces of text. </description> <groupId>net.morimekta.utils</groupId> <artifactId>diff-util</artifactId> <version>3.1.1</version> <packaging>jar</packaging> <url>https://gitlab.com/morimekta/diff-util</url> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <distributionManagement> <repository> <id>sonatype</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> <site> <id>morimekta</id> <name>morimekta.net</name> <url>http://www.morimekta.net/utils</url> </site> </distributionManagement> <scm> <url>https://gitlab.com/morimekta/diff-util.git</url> <developerConnection>scm:git:ssh://git@gitlab.com/morimekta/diff-util.git</developerConnection> <tag>v3.1.1</tag> </scm> <developers> <developer> <id>morimekta</id> <name>Stein Eldar Johnsen</name> <email>oss@morimekta.net</email> <timezone>Europe/Oslo</timezone> <roles> <role>Maintainer</role> <role>Developer</role> </roles> </developer> </developers> <!-- 1.7 required for diff compatibility. --> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <gpg.executable>gpg2</gpg.executable> <!-- project config --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.javadoc.encoding>UTF-8</project.javadoc.encoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.compiler.encoding>UTF-8</maven.compiler.encoding> <maven.javadocs.encoding>UTF-8</maven.javadocs.encoding> <maven.resources.encoding>UTF-8</maven.resources.encoding> <maven.site.encoding>UTF-8</maven.site.encoding> <!-- Arg lines not specified, set by jacoco plugin --> <!-- surefireArgLine --> <!-- failsafeArgLine --> <skipTests>false</skipTests> <!-- library versions --> </properties> <prerequisites> <maven>3.3.9</maven> </prerequisites> <dependencyManagement> <dependencies> <dependency> <groupId>net.morimekta.utils</groupId> <artifactId>io-util</artifactId> <version>3.7.1</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.30</version> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.2</version> </dependency> <!-- testing dependencies --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.2.3</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13</version> </dependency> <dependency> <groupId>com.tngtech.java</groupId> <artifactId>junit-dataprovider</artifactId> <version>1.13.1</version> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <version>2.2</version> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>3.2.4</version> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <version>4.0.2</version> </dependency> <dependency> <groupId>io.codearte.jfairy</groupId> <artifactId>jfairy</artifactId> <version>0.5.9</version> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>net.morimekta.utils</groupId> <artifactId>io-util</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> </dependency> <!-- Test Dependencies --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.tngtech.java</groupId> <artifactId>junit-dataprovider</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.codearte.jfairy</groupId> <artifactId>jfairy</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin><artifactId>maven-clean-plugin</artifactId><version>3.1.0</version></plugin> <plugin><artifactId>maven-compiler-plugin</artifactId><version>3.8.0</version></plugin> <plugin><artifactId>maven-deploy-plugin</artifactId><version>2.8.2</version></plugin> <plugin><artifactId>maven-enforcer-plugin</artifactId><version>1.4.1</version></plugin> <plugin><artifactId>maven-gpg-plugin</artifactId><version>1.6</version></plugin> <plugin><artifactId>maven-install-plugin</artifactId><version>2.5.2</version></plugin> <plugin><artifactId>maven-jar-plugin</artifactId><version>3.2.0</version></plugin> <plugin><artifactId>maven-javadoc-plugin</artifactId><version>3.1.1</version></plugin> <plugin><artifactId>maven-release-plugin</artifactId><version>2.5.3</version></plugin> <plugin><artifactId>maven-resources-plugin</artifactId><version>3.1.0</version></plugin> <plugin><artifactId>maven-site-plugin</artifactId><version>3.8.2</version></plugin> <plugin><artifactId>maven-source-plugin</artifactId><version>3.2.1</version></plugin> <plugin><artifactId>maven-surefire-plugin</artifactId><version>2.22.2</version></plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.7</version> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>3.1.12.2</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.5</version> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArgs> <arg>-XDcompilePolicy=simple</arg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <configuration> <rulesUri>file:version-rules.xml</rulesUri> </configuration> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <dependencies> <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.7.30</version> </dependency> <dependency> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs</artifactId> <version>3.1.12</version> </dependency> </dependencies> <configuration> <failOnError>true</failOnError> <excludeFilterFile>${project.basedir}/spotbugs-exclude.xml</excludeFilterFile> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries> <Automatic-Module-Name>net.morimekta.diff</Automatic-Module-Name> </manifestEntries> </archive> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <doclint>all</doclint> <failOnError>true</failOnError> <nodeprecatedlist>true</nodeprecatedlist> <additionalOptions> <additionalOption>-html5</additionalOption> <additionalOption>-quiet</additionalOption> </additionalOptions> <notimestamp>true</notimestamp> <quiet>true</quiet> </configuration> <executions> <execution> <id>default</id> <goals> <goal>javadoc-no-fork</goal> </goals> <phase>process-sources</phase> </execution> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <phase>package</phase> </execution> </executions> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <configuration> <tagNameFormat>v@{project.version}</tagNameFormat> <autoVersionSubmodules>true</autoVersionSubmodules> </configuration> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-api</artifactId> <version>1.11.2</version> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.11.2</version> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <configuration> <skip>true</skip> <skipDeploy>true</skipDeploy> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <executions> <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as VM argument when Maven the Surefire plugin is executed. --> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <!-- Sets the path to the file which contains the execution data. --> <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. --> <propertyName>surefireArgLine</propertyName> </configuration> </execution> <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. --> <execution> <id>post-unit-test</id> <phase>test</phase> <goals> <goal>report</goal> </goals> <configuration> <!-- Sets the path to the file which contains the execution data. --> <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> <!-- Sets the output directory for the code coverage report. --> <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> <configuration> <!-- Sets the VM argument line used when unit tests are run. --> <argLine>${surefireArgLine}</argLine> <!-- Skips unit tests if the value of skipTests property is true --> <skipTests>${skipTests}</skipTests> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>jdk8</id> <activation> <!-- for some reason failed in CI on java 11... --> <jdk>1.8</jdk> </activation> <build> <plugins> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <additionalOptions> <additionalOption>-quiet</additionalOption> </additionalOptions> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>jdk11</id> <activation> <!-- for some reason failed in CI on java 11... --> <jdk>11</jdk> </activation> <build> <plugins> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <configuration> <skip>false</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArgs combine.children="append"> <arg>-Xplugin:ErrorProne</arg> </compilerArgs> <annotationProcessorPaths> <path> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_core</artifactId> <version>2.3.4</version> </path> </annotationProcessorPaths> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>release-sign-artifacts</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <extensions>true</extensions> <configuration> <serverId>sonatype</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>false</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <executable>${gpg.executable}</executable> <useAgent>true</useAgent> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>