| <?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>io.github.java-diff-utils</groupId> | |
| <artifactId>java-diff-utils-parent</artifactId> | |
| <version>4.16</version> | |
| <packaging>pom</packaging> | |
| <name>java-diff-utils-parent</name> | |
| <description>The DiffUtils library for computing diffs, applying patches, generationg side-by-side view in Java.</description> | |
| <url>https://github.com/java-diff-utils/java-diff-utils</url> | |
| <inceptionYear>2009</inceptionYear> | |
| <organization> | |
| <name>java-diff-utils</name> | |
| </organization> | |
| <licenses> | |
| <license> | |
| <name>The Apache Software License, Version 2.0</name> | |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| <distribution>repo</distribution> | |
| <comments>A business-friendly OSS license</comments> | |
| </license> | |
| </licenses> | |
| <developers> | |
| <developer> | |
| <name>Tobias Warneke</name> | |
| <email>t.warneke@gmx.net</email> | |
| </developer> | |
| </developers> | |
| <modules> | |
| <module>java-diff-utils</module> | |
| <module>java-diff-utils-jgit</module> | |
| </modules> | |
| <scm> | |
| <connection>scm:git:https://github.com/java-diff-utils/java-diff-utils.git</connection> | |
| <developerConnection>scm:git:ssh://git@github.com:java-diff-utils/java-diff-utils.git</developerConnection> | |
| <tag>java-diff-utils-parent-4.16</tag> | |
| <url>https://github.com/java-diff-utils/java-diff-utils.git</url> | |
| </scm> | |
| <issueManagement> | |
| <system>GitHub Issues</system> | |
| <url>https://github.com/java-diff-utils/java-diff-utils/issues</url> | |
| </issueManagement> | |
| <!-- | |
| <distributionManagement> | |
| <repository> | |
| <id>sonatype-nexus-staging</id> | |
| <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> | |
| </repository> | |
| <snapshotRepository> | |
| <id>sonatype-nexus-snapshots</id> | |
| <url>https://central.sonatype.com/repository/maven-snapshots/</url> | |
| </snapshotRepository> | |
| </distributionManagement> | |
| --> | |
| <properties> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <maven.compiler.source>1.8</maven.compiler.source> | |
| <maven.compiler.target>1.8</maven.compiler.target> | |
| </properties> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.junit.jupiter</groupId> | |
| <artifactId>junit-jupiter</artifactId> | |
| <version>5.11.4</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.assertj</groupId> | |
| <artifactId>assertj-core</artifactId> | |
| <version>3.27.3</version> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-release-plugin</artifactId> | |
| <version>2.5.3</version> | |
| <configuration> | |
| <localCheckout>true</localCheckout> | |
| <pushChanges>false</pushChanges> | |
| <mavenExecutorId>forked-path</mavenExecutorId> | |
| <releaseProfiles>sign-release-artifacts</releaseProfiles> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>maven-bundle-plugin</artifactId> | |
| <version>3.5.1</version> | |
| <executions> | |
| <execution> | |
| <id>bundle-manifest</id> | |
| <goals> | |
| <goal>manifest</goal> | |
| </goals> | |
| <phase>process-classes</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <version>3.1.1</version> | |
| <configuration> | |
| <additionalparam>${javadoc.opts}</additionalparam> | |
| <doclint>none</doclint> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>attach-javadocs</id> | |
| <goals> | |
| <goal>jar</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-checkstyle-plugin</artifactId> | |
| <version>3.6.0</version> | |
| <configuration> | |
| <logViolationsToConsole>true</logViolationsToConsole> | |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> | |
| <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories> | |
| <checkstyleRules> | |
| <module name="Checker"> | |
| <module name="SuppressWarningsFilter"/> | |
| <module name="TreeWalker"> | |
| <module name="SuppressionCommentFilter"/> | |
| <module name="AvoidNestedBlocks"/> | |
| <module name="ConstantName"/> | |
| <module name="EmptyCatchBlock"/> | |
| <module name="EmptyStatement"/> | |
| <module name="MissingOverride"/> | |
| <module name="MultipleVariableDeclarations"/> | |
| <module name="ParameterAssignment"/> | |
| <module name="StringLiteralEquality"/> | |
| <module name="RedundantImport"/> | |
| <module name="UnusedImports"/> | |
| <module name="WhitespaceAfter"/> | |
| <module name="NeedBraces"/> | |
| <module name="UnnecessaryParentheses"/> | |
| <module name="LeftCurly"/> | |
| <module name="RightCurly"/> | |
| <module name="SuppressWarningsHolder"/> | |
| </module> | |
| </module> | |
| </checkstyleRules> | |
| </configuration> | |
| <dependencies> | |
| <dependency> | |
| <groupId>com.puppycrawl.tools</groupId> | |
| <artifactId>checkstyle</artifactId> | |
| <version>8.29</version> | |
| </dependency> | |
| </dependencies> | |
| <executions> | |
| <execution> | |
| <id>verify-style</id> | |
| <goals> | |
| <goal>check</goal> | |
| </goals> | |
| <phase>process-classes</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <version>3.5.2</version> | |
| <configuration> | |
| <excludes> | |
| <exclude>**/LR*.java</exclude> | |
| </excludes> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>com.diffplug.spotless</groupId> | |
| <artifactId>spotless-maven-plugin</artifactId> | |
| <version>2.30.0</version> | |
| <configuration> | |
| <java> | |
| <palantirJavaFormat/> | |
| <indent> | |
| <tabs>true</tabs> | |
| <spacesPerTab>2</spacesPerTab> | |
| </indent> | |
| </java> | |
| <pom> | |
| <sortPom> | |
| <expandEmptyElements>false</expandEmptyElements> | |
| </sortPom> | |
| </pom> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>apply</goal> | |
| </goals> | |
| <phase>validate</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.sonatype.central</groupId> | |
| <artifactId>central-publishing-maven-plugin</artifactId> | |
| <version>0.8.0</version> | |
| <extensions>true</extensions> | |
| <configuration> | |
| <publishingServerId>sonatype-nexus</publishingServerId> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <profiles> | |
| <profile> | |
| <id>sign-release-artifacts</id> | |
| <activation> | |
| <property> | |
| <name>performRelease</name> | |
| <value>true</value> | |
| </property> | |
| </activation> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-gpg-plugin</artifactId> | |
| <version>1.6</version> | |
| <executions> | |
| <execution> | |
| <id>sign-artifacts</id> | |
| <goals> | |
| <goal>sign</goal> | |
| </goals> | |
| <phase>verify</phase> | |
| <configuration> | |
| <keyname>f22e0543</keyname> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>doclint-java8-disable</id> | |
| <activation> | |
| <jdk>[1.8,)</jdk> | |
| </activation> | |
| <properties> | |
| <javadoc.opts>-Xdoclint:none</javadoc.opts> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>long-running-tests</id> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <configuration> | |
| <excludes> | |
| <exclude>xxx</exclude> | |
| </excludes> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| </profiles> | |
| </project> |