Skip to content

Commit 3b19092

Browse files
committed
Updates and changes required by sonatype to publish/snapshot.
1 parent 3ce041d commit 3b19092

File tree

1 file changed

+82
-7
lines changed

1 file changed

+82
-7
lines changed

pom.xml

Lines changed: 82 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,47 @@
88
features -->
99
<version>2.3.13</version>
1010
<name>glusterfs-hadoop</name>
11+
<description>hadoop filesystem impl for glusterfs</description>
12+
<licenses>
13+
<license>
14+
<name>apache</name>
15+
</license>
16+
</licenses>
17+
<scm>
18+
<url>git://forge.gluster.org/hadoop/glusterfs-hadoop.git</url>
19+
</scm>
1120
<url>http://maven.apache.org</url>
21+
<developers>
22+
<developer>
23+
<id>bchilds</id>
24+
<name>bradley childs</name>
25+
<email>[email protected]</email>
26+
<organization>red hat</organization>
27+
<organizationUrl>http://www.redhat.com</organizationUrl>
28+
<roles>
29+
<role>Dev</role>
30+
31+
</roles>
32+
<timezone>-6</timezone>
33+
</developer>
34+
</developers>
1235

1336
<distributionManagement>
37+
<snapshotRepository>
38+
<id>ossrh</id>
39+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
40+
</snapshotRepository>
1441
<repository>
15-
<id>maven-s3-release-repo</id>
16-
<name>S3 Release Repository</name>
17-
<url>s3://rhbd/maven/repositories/internal</url>
42+
<id>ossrh</id>
43+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
1844
</repository>
1945
</distributionManagement>
2046

2147
<dependencies>
2248

2349
<dependency>
24-
<groupId>org.apache.hadoop</groupId>
25-
<artifactId>hadoop-yarn-server-nodemanager</artifactId>
50+
<groupId>org.apache.hadoop</groupId>
51+
<artifactId>hadoop-yarn-server-nodemanager</artifactId>
2652
<version>2.3.0</version>
2753
</dependency>
2854

@@ -79,7 +105,43 @@
79105

80106

81107
<plugins>
82-
108+
<plugin>
109+
<groupId>org.apache.maven.plugins</groupId>
110+
<artifactId>maven-source-plugin</artifactId>
111+
<version>2.2.1</version>
112+
<executions>
113+
<execution>
114+
<id>attach-sources</id>
115+
<goals>
116+
<goal>jar-no-fork</goal>
117+
</goals>
118+
</execution>
119+
</executions>
120+
</plugin>
121+
<plugin>
122+
<groupId>org.apache.maven.plugins</groupId>
123+
<artifactId>maven-javadoc-plugin</artifactId>
124+
<version>2.9.1</version>
125+
<executions>
126+
<execution>
127+
<id>attach-javadocs</id>
128+
<goals>
129+
<goal>jar</goal>
130+
</goals>
131+
</execution>
132+
</executions>
133+
</plugin>
134+
<plugin>
135+
<groupId>org.sonatype.plugins</groupId>
136+
<artifactId>nexus-staging-maven-plugin</artifactId>
137+
<version>1.6.3</version>
138+
<extensions>true</extensions>
139+
<configuration>
140+
<serverId>ossrh</serverId>
141+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
142+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
143+
</configuration>
144+
</plugin>
83145

84146
<plugin>
85147
<groupId>org.apache.maven.plugins</groupId>
@@ -90,7 +152,20 @@
90152
<target>1.5</target>
91153
</configuration>
92154
</plugin>
93-
155+
<plugin>
156+
<groupId>org.apache.maven.plugins</groupId>
157+
<artifactId>maven-gpg-plugin</artifactId>
158+
<version>1.5</version>
159+
<executions>
160+
<execution>
161+
<id>sign-artifacts</id>
162+
<phase>verify</phase>
163+
<goals>
164+
<goal>sign</goal>
165+
</goals>
166+
</execution>
167+
</executions>
168+
</plugin>
94169
<plugin>
95170
<groupId>pl.project13.maven</groupId>
96171
<artifactId>git-commit-id-plugin</artifactId>

0 commit comments

Comments
 (0)