forked from ceph/ceph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pom.xml so to deploy the libcephfs to maven repository.
to build a jar, version=0.80-rc1-2008-gf71c889 mvn package -Dversioin=; and mvn deploy command will deploy the jar to maven central Signed-off-by: rootfs <[email protected]>
- Loading branch information
Showing
1 changed file
with
147 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
<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/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.ceph</groupId> | ||
<artifactId>libcephfs</artifactId> | ||
<packaging>jar</packaging> | ||
<version>${version}</version> | ||
<name>libcephfs</name> | ||
<url>http://www.ceph.com</url> | ||
<description>Ceph FS Java API.</description> | ||
<licenses> | ||
<license> | ||
<name>The Apache Software License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
<developers> | ||
<developer> | ||
<name>Sage Weil</name> | ||
<email>[email protected]</email> | ||
<organization>Red Hat</organization> | ||
<organizationUrl>http://www.redhat.com</organizationUrl> | ||
</developer> | ||
|
||
<developer> | ||
<name>Noah Watkins</name> | ||
<email>[email protected]</email> | ||
<organization>Red Hat</organization> | ||
<organizationUrl>http://www.redhat.com</organizationUrl> | ||
</developer> | ||
|
||
<developer> | ||
<name>Greg Farnum</name> | ||
<email>[email protected]</email> | ||
<organization>Red Hat</organization> | ||
<organizationUrl>http://www.redhat.com</organizationUrl> | ||
</developer> | ||
|
||
<developer> | ||
<name>Joe Buck</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
|
||
<developer> | ||
<name>Gary Lowell</name> | ||
<email>[email protected]</email> | ||
<organization>Red Hat</organization> | ||
<organizationUrl>http://www.redhat.com</organizationUrl> | ||
</developer> | ||
|
||
<developer> | ||
<name>Dmitry Smirnov</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
|
||
<developer> | ||
<name>Danny Al-Gaaf</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
|
||
<developer> | ||
<name>Huamin Chen</name> | ||
<email>[email protected]</email> | ||
<organization>Red Hat</organization> | ||
<organizationUrl>http://www.redhat.com</organizationUrl> | ||
</developer> | ||
</developers> | ||
<scm> | ||
<connection>scm:git:[email protected]:ceph/ceph.git</connection> | ||
<developerConnection>scm:git:[email protected]:ceph/ceph.git</developerConnection> | ||
<url>scm:git:[email protected]:ceph/ceph.git</url> | ||
</scm> | ||
|
||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>ossrh</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
|
||
|
||
<build> | ||
<sourceDirectory>java</sourceDirectory> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.1</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>2.4.1</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<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> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>1.6.2</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<serverId>ossrh</serverId> | ||
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
<autoReleaseAfterClose>true</autoReleaseAfterClose> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>1.5</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |