You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by kr...@apache.org on 2010/02/19 11:02:41 UTC
svn commit: r911768 - /db/derby/code/trunk/maven2/README.txt
Author: kristwaa
Date: Fri Feb 19 10:02:41 2010
New Revision: 911768
URL: http://svn.apache.org/viewvc?rev=911768&view=rev
Log:
DERBY-4400: Document the process of producing Maven 2 artifacts for Derby.
Minor formatting changes.
Fixed some typos.
Modified:
db/derby/code/trunk/maven2/README.txt
Modified: db/derby/code/trunk/maven2/README.txt
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/maven2/README.txt?rev=911768&r1=911767&r2=911768&view=diff
==============================================================================
--- db/derby/code/trunk/maven2/README.txt (original)
+++ db/derby/code/trunk/maven2/README.txt Fri Feb 19 10:02:41 2010
@@ -40,20 +40,27 @@
b) Specify required information for one or all of the following sub-steps.
To successfully generate and deploy release artifacts, all of these
must be specified:
- - The Derby release version, which must be specified in all POMs.
- Compile and execute the Java program SetDerbyVersion, i.e.:
- javac SetDerbyVersion && java -cp . SetDerbyVersion
+
+ - The Derby release version.
+ The version must be specified in all POMs. Compile and execute the
+ Java program SetDerbyVersion, found in the 'maven2' directory, i.e.:
+ javac SetDerbyVersion && java -cp . SetDerbyVersion
+
Alternatively, use search and replace (i.e. Perl or sed) - make sure
- you don't replace version tags that aren't supposed to modified.
+ you don't replace version tags that aren't supposed to be modified.
Make sure you diff the POMs to verify the changes.
Note that the Java program performs some extra sanity checks.
- - Passphrase for your GPG signing key. Required for step (c) and (d).
- See the top-level POM for details, brief instructions in (c).
- - User credentials for deployment. Required for step (d).
- Several options for how to configure Maven seem to exist, but only
- one of them has been reported to work for most scenarios. If your
- system doesn't have executables called 'ssh' and 'scp', then please
- figure out how to successfully specify alternative executables...
+
+ - Passphrase for your GPG signing key.
+ Required for step (c) and (d). See the top-level POM for details, brief
+ instructions in (c).
+
+ - User credentials for deployment.
+ Required for step (d). Several options for how to configure Maven seem
+ to exist, but only one of them has been reported to work for most
+ scenarios. If your system doesn't have executables called 'ssh' and
+ 'scp', then please figure out how to successfully specify alternative
+ executables...
The local username will be used when accessing the Apache server using
the external SSH commands. If your local username isn't the same as
@@ -69,11 +76,11 @@
possible, but attempts to do so have failed so far.
c) 'mvn clean install'
- Generates the artifacts, signatures for the artifacts using GnuPG and
- installs the artifacts in the local repository.
+ Generates the artifacts, uses GnuPG to generate signatures for the
+ artifacts, and installs the artifacts in the local repository.
You are required to provide your private key and the passphrase to GnuPG.
Using a passphrase agent is recommended, but you can also specify it on
- the command line when invoking maven with -Dgpg.passphrase=PASSPHRASE.
+ the command line when invoking Maven with -Dgpg.passphrase=PASSPHRASE.
WARNING: Do not specify your passphrase in the POM that is deployed on
the Maven repositories!
@@ -83,8 +90,8 @@
The clean target is included to avoid unintentionally installing/deploying
artifacts not supposed to be deployed.
If you just want to build the artifacts, use 'mvn package' or 'mvn verify'.
- The former will generate the artifact jar, the latter will additionally
- generate/include the POM to be deployed and the signatures.
+ The former will generate the artifact jars, the latter will additionally
+ generate/include the POMs to be deployed and the signatures.
NOTE: Do not run 'mvn package|verify install', that is to combine either
package or verify with install, as this causes the
@@ -106,7 +113,7 @@
ssh people.apache.org "find /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/derby/ -user \$USER -exec chmod g+w {} \;"
To verify the group ownership and permissions, run the two following SSH
- commands. If everything is set correctly, the should return no file names.
+ commands. If everything is set correctly, they should return no file names.
ssh people.apache.org "find /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/derby/ \! -group apcvs"
ssh people.apache.org "find /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/derby/ \! -perm -g+w"