Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 36069 invoked from network); 22 May 2007 20:04:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2007 20:04:49 -0000 Received: (qmail 35923 invoked by uid 500); 22 May 2007 20:04:50 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 35902 invoked by uid 500); 22 May 2007 20:04:50 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 35891 invoked by uid 500); 22 May 2007 20:04:50 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 35888 invoked by uid 99); 22 May 2007 20:04:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 13:04:50 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 13:04:44 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 3F01B1A981A; Tue, 22 May 2007 13:04:24 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r540729 - /tomcat/trunk/webapps/docs/maven-jars.xml Date: Tue, 22 May 2007 20:04:24 -0000 To: tomcat-dev@jakarta.apache.org From: fhanik@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070522200424.3F01B1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: fhanik Date: Tue May 22 13:04:23 2007 New Revision: 540729 URL: http://svn.apache.org/viewvc?view=rev&rev=540729 Log: added some docs around the maven stuff Modified: tomcat/trunk/webapps/docs/maven-jars.xml Modified: tomcat/trunk/webapps/docs/maven-jars.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/maven-jars.xml?view=diff&rev=540729&r1=540728&r2=540729 ============================================================================== --- tomcat/trunk/webapps/docs/maven-jars.xml (original) +++ tomcat/trunk/webapps/docs/maven-jars.xml Tue May 22 13:04:23 2007 @@ -22,17 +22,60 @@ Snapshots are done periodically, not on a regular basis, but when changes happen and the Tomcat team deams a new snapshot might useful. - + At every release, be it alpha, beta or stable, we will publish the JARs to Tomcat's Staging Repository. The URL for this is http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/.
- At some point, this URL will change over to ASF's main repository that synchronizes with IBiblio.
- When that happens, all releases will be moved over, and this repository will stick around for a while, but no - new releases will be published to the staging repository. +
+ + We are also publishing all requested Tomcat JARs to the ibiblio mirror at ASF. +
+ + Almost everything you need is in the res/maven directory.
+ Basically the publish is done using ANT, and Maven's ANT tasks. + Getting Maven to play well with the SCP protocol can be somewhat of a daunting task + so I have tried to explain all the steps here.
+ Step 1
+ Make sure you have the following installed:
+ ANT 1.6.5 or later
+ Maven 2.0.6
+ JDK 1.5
+ And then make sure you have the res/maven + directory checked out.
+ Step 2
+ Download the Maven ANT tasks, due to a delayed release, I've created a patched version + so make sure you download the PATCH as well.
+ Store both these files in the res/maven directory.
+ Step 3
+ At this point you are ready to rock and roll. + Change any properties in the maven.properties.default file, or simply create a + file named maven.properties where you can override any properties you need.
+ To publish a release do ant -f mvn-pub.xml deploy-release
+ To publish a to a staging repo do ant -f mvn-pub.xml deploy-staging
+ and to publish snapshots do ant -f mvn-pub.xml deploy-snapshot
+
+ The next section describes all the steps I had to take to get everything to work publishing from a Windows box. + Some of these steps can be skipped on Unix as the SSH handling works better there. +
+ + Getting SCP to work with private/public key authentication
+ + 1. on a linux box execute 'ssh-keygen -t rsa'
+ 2. same linux box execute 'cat id_rsa.pub >> authorized_keys' and 'cat id_rsa.pub >> authorized_keys2'
+ 3. Copy id_rsa and id_rsa.pub to my windows box
+ 4. Import id_rsa into puttygen
+ 5. export id_rsa from puttygen to OpenSSH key
+ 6. The key you exported from puttygen is the one you reference from the <privateKey> element
+ 7. Manually create the %USERPROFILE%\.ssh directory
+ 8. Manually add the %USERPROFILE%\.ssh\known_hosts file with the entry for the host that you are accessing
+ Some of this has been described in this article. +
+ +
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org