mirror of
https://github.com/xerial/snappy-java.git
synced 2025-07-24 22:44:46 +02:00
Set the deploy location to pom.xml
This commit is contained in:
parent
ee5f8fb622
commit
af15244d83
85
pom.xml
85
pom.xml
@ -46,6 +46,35 @@
|
|||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<version>2.7</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-javadocs</id>
|
||||||
|
<goals>
|
||||||
|
<goal>jar</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
<version>2.1.2</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-sources</id>
|
||||||
|
<phase>verify</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>jar</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
||||||
<extensions>
|
<extensions>
|
||||||
@ -65,6 +94,62 @@
|
|||||||
<url>scm:hg:https://snappy-java.googlecode.com/hg/</url>
|
<url>scm:hg:https://snappy-java.googlecode.com/hg/</url>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<!-- for development releases -->
|
||||||
|
<site>
|
||||||
|
<id>xerial.scp</id>
|
||||||
|
<url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/site</url>
|
||||||
|
</site>
|
||||||
|
<repository>
|
||||||
|
<id>xerial.scp</id>
|
||||||
|
<name>Xerial Maven Repository</name>
|
||||||
|
<url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/artifact</url>
|
||||||
|
</repository>
|
||||||
|
<snapshotRepository>
|
||||||
|
<id>xerial.scp</id>
|
||||||
|
<name>Xerial Maven Snapshot Repository</name>
|
||||||
|
<url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/snapshot</url>
|
||||||
|
<uniqueVersion>false</uniqueVersion>
|
||||||
|
</snapshotRepository>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<!-- for directly sending artifacts to sourceforge.net repository -->
|
||||||
|
<profile>
|
||||||
|
<id>sourceforge</id>
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>xerial.sourceforge</id>
|
||||||
|
<name>Xerial maven repository at sourceforge.jp</name>
|
||||||
|
<url>scpexe://shell.sourceforge.jp/home/groups/x/xe/xerial/htdocs/maven/release</url>
|
||||||
|
</repository>
|
||||||
|
</distributionManagement>
|
||||||
|
</profile>
|
||||||
|
|
||||||
|
<!-- for local updates -->
|
||||||
|
<profile>
|
||||||
|
<id>xerial.local</id>
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>xerial.local</id>
|
||||||
|
<name>Xerial Maven Repository</name>
|
||||||
|
<url>file:///home/web/maven.xerial.org/repository/artifact</url>
|
||||||
|
</repository>
|
||||||
|
<snapshotRepository>
|
||||||
|
<id>xerial.local</id>
|
||||||
|
<name>Xerial Maven Snapshot Repository</name>
|
||||||
|
<url>file:///home/web/maven.xerial.org/repository/snapshot</url>
|
||||||
|
<uniqueVersion>false</uniqueVersion>
|
||||||
|
</snapshotRepository>
|
||||||
|
<site>
|
||||||
|
<id>xerial.local</id>
|
||||||
|
<url>file:///home/web/maven.xerial.org/repository/site</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -40,7 +40,7 @@ public class Snappy
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compress the content of the given input, then output the compressed data.
|
* Compress the content of the given input buffer
|
||||||
*
|
*
|
||||||
* @param uncompressed
|
* @param uncompressed
|
||||||
* input is at buffer[pos() ... limit())
|
* input is at buffer[pos() ... limit())
|
||||||
@ -72,7 +72,8 @@ public class Snappy
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Uncompress the compressed buffer to the specified output buffer
|
* Uncompress the content of the input buffer. The result is dumped to the
|
||||||
|
* specified output buffer
|
||||||
*
|
*
|
||||||
* @param compressed
|
* @param compressed
|
||||||
* input is at buffer[pos() ... limit())
|
* input is at buffer[pos() ... limit())
|
||||||
@ -108,7 +109,7 @@ public class Snappy
|
|||||||
* Get the uncompressed size of the given compressed input
|
* Get the uncompressed size of the given compressed input
|
||||||
*
|
*
|
||||||
* @param compressed
|
* @param compressed
|
||||||
* data [pos() ... limit())
|
* input data [pos() ... limit())
|
||||||
* @return uncompressed byte length of the given input
|
* @return uncompressed byte length of the given input
|
||||||
* @throws SnappyException
|
* @throws SnappyException
|
||||||
* when failed to uncompress the given input
|
* when failed to uncompress the given input
|
||||||
|
Loading…
x
Reference in New Issue
Block a user