Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

maven central requirements #6

Merged
merged 2 commits into from
Apr 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 127 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,78 @@

<groupId>org.certificate-transparency</groupId>
<artifactId>ctlog</artifactId>
<version>0.1.0</version>
<version>0.1.0-SNAPSHOT</version>

<name>${project.groupId}:${project.artifactId}</name>
<description>A application used to communicate with certificate transparency log servers.</description>
<url>https://certificate-transparency.org/</url>

<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<developers>
<developer>
<name>Ed Maste</name>
<email>emaste@freebsd.org</email>
</developer>
<developer>
<name>Fiaz Hossain</name>
<email>fiaz.hossain@salesforce.com</email>
</developer>
<developer>
<name>Jeff Trawick</name>
<email>trawick@gmail.com</email>
</developer>
<developer>
<name>Katriel Cohn-Gordon</name>
<email>katriel.cohn-gordon@cybersecurity.ox.ac.uk</email>
</developer>
<developer>
<name>Laël Cellier</name>
<email>lael.cellier@gmail.com</email>
</developer>
<developer>
<name>Mark Schloesser</name>
<email>ms@mwcollect.org</email>
</developer>
<developer>
<name>Nicholas Galbreath</name>
<email>nickg@client9.com</email>
</developer>
<developer>
<name>Oliver Weidner</name>
<email>Oliver.Weidner@gmail.com</email>
</developer>
<developer>
<name>Ruslan Kovalov</name>
<email>ruslan.kovalyov@gmail.com</email>
</developer>
<developer>
<name>Vladimir Rutsky</name>
<email>vladimir@rutsky.org</email>
</developer>
<developer>
<name>Ximin Luo</name>
<email>infinity0@gmx.com</email>
</developer>
</developers>

<scm>
<connection>scm:git:git@github.com:google/certificate-transparency-java.git</connection>
<developerConnection>scm:git:git@github.com:google/certificate-transparency-java.git</developerConnection>
<url>https://github.com/google/certificate-transparency-java/tree/master</url>
</scm>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

<properties>
<java.version>1.8</java.version>
Expand Down Expand Up @@ -290,6 +361,61 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.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>2.10.4</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>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ public List<ByteString> getSTHConsistency(long first, long second) {

/**
* Retrieve Entry+Merkle Audit Proof from Log.
* @param leaf_index The index of the desired entry.
* @param tree_size The tree_size of the tree for which the proof is desired.
* @param leafindex The index of the desired entry.
* @param treeSize The tree_size of the tree for which the proof is desired.
* @return ParsedLog entry object with proof.
*/
public ParsedLogEntryWithProof getLogEntryAndProof(long leafindex, long treeSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static List<Certificate> parseCertificates(InputStream pemStream) {
*
* @param pemCertsFile File to parse.
* @return A list of certificates from the certificates in the file.
* @throws FileNotFoundException If the file is not present.
* @throws InvalidInputException If the file is not present.
*/
public static List<Certificate> certificatesFromFile(File pemCertsFile) {
try {
Expand Down