Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for 
change notification.

The "HowToPublishToMavenCentral" page has been changed by StephenConnolly.
http://wiki.apache.org/cassandra/HowToPublishToMavenCentral?action=diff&rev1=7&rev2=8

--------------------------------------------------

  
  == Prerequisites ==
  
-  1. You need to have a GPG signature set-up. (Open issue: Is there a place in 
Cassandra SVN for storing the official GPG keys of committers to allow third 
parties to verify that the releases are officical?  I would suggest somewhere 
like http://svn.apache.org/repos/asf/cassandra/site/src/content/keys.html so 
that it can be part of the Cassandra website)
+  1. You need to have a GPG private key set-up and listed in the list of 
offical keys: http://www.apache.org/dist/cassandra/KEYS
   1. You have a Subversion 1.5+ client installed and on your shell's path. See 
http://subversion.apache.org/. (Note: Ideally you would use a Subversion 1.6+ 
client but the minimum is 1.5+)
   1. You have JDK 6 installed and on your shell's path.
   1. If you receive an OutOfMemoryError during the build, make sure to have 
set the environment variable ANT_OPTS=-Xmx512m
   1. Follow the environment configuration steps outlined at: 
[[http://www.apache.org/dev/publishing-maven-artifacts.html#dev-env|Publishing 
Maven Artifacts]].
+  1. You need to have a minimal {{{~/.m2/settings.xml}}} file which at least 
defines the following 
+   {{{
+ <settings>
+   <servers>
+     <server>
+       <id>apache.snapshots.https</id>
+       <username><!-- your apache ldap username --></username>
+       <password><!-- your apache ldap password --></password>
+     </server>
+     <server>
+       <id>apache.releases.https</id>
+       <username><!-- your apache ldap username --></username>
+       <password><!-- your apache ldap password --></password>
+     </server>
+   </servers>
+   <profiles>
+     <profile>
+       <id>apache-release</id>
+       <properties>
+         <gpg.keyname><!-- enough of the key id to id it --></gpg.keyname>
+         <!-- either you feel comfortable with the passphrase on disk -->
+         <gpg.passphrase><!-- your passphrase for your gpg key goes 
here--></gpg.passphrase>
+         <!-- or you use an agent-->
+         <gpg.useagent>true</gpg.useagent>
+       </properties>
+     </profile>
+   </profiles>
+ </settings>
+ }}}
  
  == Using repository.apache.org ==
  

Reply via email to