-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Convert Project to Maven #2
base: master
Are you sure you want to change the base?
Changes from 2 commits
6f2e00c
ffe5aff
cb6cbb7
be9666d
192175a
24a6bcd
168ebf7
8abf49f
9231324
abc6a75
c3a3c4e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,181 @@ | ||
| <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.sonatype.oss</groupId> | ||
| <artifactId>oss-parent</artifactId> | ||
| <version>9</version> | ||
| </parent> | ||
|
|
||
| <groupId>com.google</groupId> | ||
| <artifactId>diff-match-patch</artifactId> | ||
| <version>1.0.0</version> | ||
| <packaging>jar</packaging> | ||
|
|
||
| <properties> | ||
| <java-version>1.6</java-version> | ||
| <junit.version>4.11</junit.version> | ||
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| </properties> | ||
|
|
||
| <build> | ||
| <plugins> | ||
| <plugin> | ||
| <groupId>org.sonatype.plugins</groupId> | ||
| <artifactId>nexus-staging-maven-plugin</artifactId> | ||
| <version>1.6.8</version> | ||
| <extensions>true</extensions> | ||
| <configuration> | ||
| <serverId>ossrh</serverId> | ||
| <nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
| <autoReleaseAfterClose>true</autoReleaseAfterClose> | ||
| </configuration> | ||
| </plugin> | ||
|
|
||
| <plugin> | ||
| <artifactId>maven-compiler-plugin</artifactId> | ||
| <version>3.6.2</version> | ||
| <configuration> | ||
| <source>${java-version}</source> | ||
| <target>${java-version}</target> | ||
| <showDeprecation>true</showDeprecation> | ||
| <showWarnings>true</showWarnings> | ||
| </configuration> | ||
| </plugin> | ||
|
|
||
| <plugin> | ||
| <artifactId>maven-source-plugin</artifactId> | ||
| <version>3.0.1</version> | ||
| <executions> | ||
| <execution> | ||
| <goals> | ||
| <goal>jar</goal> | ||
| </goals> | ||
| </execution> | ||
| </executions> | ||
| </plugin> | ||
|
|
||
| <plugin> | ||
| <artifactId>maven-javadoc-plugin</artifactId> | ||
| <version>2.10.4</version> | ||
| <configuration> | ||
| <excludePackageNames>*.internal.*</excludePackageNames> | ||
| <failOnError>false</failOnError> | ||
| <additionalparam>-Xdoclint:none</additionalparam> | ||
| </configuration> | ||
| <executions> | ||
| <execution> | ||
| <goals> | ||
| <goal>jar</goal> | ||
| </goals> | ||
| <inherited>true</inherited> | ||
| </execution> | ||
| </executions> | ||
| </plugin> | ||
|
|
||
| <plugin> | ||
| <artifactId>maven-jar-plugin</artifactId> | ||
| <version>2.6</version> | ||
| <configuration> | ||
| <useDefaultManifestFile>true</useDefaultManifestFile> | ||
| <archive> | ||
| <index>true</index> | ||
| <manifest> | ||
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> | ||
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> | ||
| </manifest> | ||
| </archive> | ||
| </configuration> | ||
| </plugin> | ||
|
|
||
| <plugin> | ||
| <artifactId>maven-surefire-plugin</artifactId> | ||
| <version>2.20</version> | ||
| <configuration> | ||
| <surefire.useFile>false</surefire.useFile> | ||
| </configuration> | ||
| </plugin> | ||
|
|
||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-release-plugin</artifactId> | ||
| <version>2.5.3</version><!--$NO-MVN-MAN-VER$--> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
|
|
||
| <dependencies> | ||
| <dependency> | ||
| <groupId>junit</groupId> | ||
| <artifactId>junit</artifactId> | ||
| <version>${junit.version}</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| </dependencies> | ||
| <name>Google Diff Match and Patch</name> | ||
| <url>https://github.com/google/diff-match-patch</url> | ||
| <description>Diff Match Patch is a high-performance library in multiple languages that manipulates plain text.</description> | ||
| <inceptionYear>XXXX</inceptionYear> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2006 |
||
| <organization> | ||
| <url>http://www.google.com</url> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https here and three more below. |
||
| <name>Google Inc</name> | ||
| </organization> | ||
| <scm> | ||
| <url>https://github.com/google/diff-match-patch</url> | ||
| <connection>scm:git:git@github.com:google/diff-match-patch</connection> | ||
| <developerConnection>scm:git:git@github.com:google/diff-match-patch</developerConnection> | ||
| <tag>google-analytics-java-1.1.2</tag> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's the analytics for?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was a copy and paste error. I will fix it. |
||
| </scm> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Indentation seems wrong here. Also, the rest of this file is a random mix of 2, 3, and 4 space indentations.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will take care of it. |
||
| <issueManagement> | ||
| <system>github.com</system> | ||
| <url>https://github.com/google/diff-match-patch/issues</url> | ||
| </issueManagement> | ||
| <developers> | ||
| <developer> | ||
| <name>Neil Fraser</name> | ||
| <organizationUrl>http://www.google.com</organizationUrl> | ||
| <url>http://www.google.com</url> | ||
| <roles> | ||
| <role>Initiator</role> | ||
| <role>Commiter</role> | ||
| </roles> | ||
| <email>neil at google.com</email> | ||
| </developer> | ||
| </developers> | ||
| <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> | ||
| </license> | ||
| </licenses> | ||
|
|
||
| <profiles> | ||
| <profile> | ||
| <id>release-sign-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> | ||
| <phase>verify</phase> | ||
| <goals> | ||
| <goal>sign</goal> | ||
| </goals> | ||
| </execution> | ||
| </executions> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
| </profile> | ||
| </profiles> | ||
| </project> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing trailing new line?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will add new line |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a dependency on junit?