Author: ianwdunlop
Date: Thu Jul 16 11:06:47 2015
New Revision: 1691354
URL: http://svn.apache.org/r1691354
Log:
trying to format m2 settings. added note about parent pom
Modified:
incubator/taverna/site/trunk/content/community/releasing.md
Modified: incubator/taverna/site/trunk/content/community/releasing.md
URL:
http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/community/releasing.md?rev=1691354&r1=1691353&r2=1691354&view=diff
==============================================================================
--- incubator/taverna/site/trunk/content/community/releasing.md (original)
+++ incubator/taverna/site/trunk/content/community/releasing.md Thu Jul 16
11:06:47 2015
@@ -158,29 +158,27 @@ Ensure you can log in to the Nexus insta
To provide the Nexus credentials, edit your `~/.m2/settings.xml` to include
your apache.org committer credentials:
-```xml
-<?xml version="1.0" encoding="UTF-8"?>
-<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0
http://maven.apache.org/xsd/settings-1.1.0.xsd"
xmlns="http://maven.apache.org/SETTINGS/1.1.0"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <!-- .. -->
- <servers>
- <!-- .. -->
-
- <server>
- <id>apache.snapshots.https</id>
- <username>johndoe</username>
- <password>fishsoup</password>
- </server>
- <server>
- <id>apache.releases.https</id>
- <username>johndoe</username>
- <password>fishsoup</password>
- </server>
- </servers>
-</settings>
+```<code><?xml version="1.0" encoding="UTF-8"?>
+<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0
http://maven.apache.org/xsd/settings-1.1.0.xsd"
xmlns="http://maven.apache.org/SETTINGS/1.1.0"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <servers>
+ <server>
+ <id>apache.snapshots.https</id>
+ <username>johndoe</username>
+ <password>fishsoup</password>
+ </server>
+ <server>
+ <id>apache.releases.https</id>
+ <username>johndoev/username>
+ <password>fishsoup</password>
+ </server>
+ </servers>
+</settings>
+</code></pre>
```
+
To check you have the correct credentials set up for
write-access to
[Apache's Maven
repository](https://repository.apache.org/content/repositories/snapshots/org/apache/taverna/),
@@ -281,6 +279,9 @@ API backward compatibility)
second release candidate, as Maven could suggest a higher version
number based on the bumped `-SNAPSHOT` version.
+**Important**: If maven prompts for the development parent version remember to
set it to *-incubating-SNAPSHOT (where * is what is now in the parent pom).
+If you forget this then please reset it manually in the pom and commit
manually after the release has been deployed. If the parent version is set
wrong then it can lead to build issues in jenkins etc.
+
#### Version numbers
* Has to end in `-incubating` (while Apache Taverna is incubating)
@@ -424,7 +425,7 @@ their checksums and signatures:
wget -e robots=off --recursive --no-parent --no-directories -A
"*-source-release*"
https://repository.apache.org/content/repositories/orgapachetaverna-1002/org/apache/taverna/
Make sure you have not got any extra files in your `dist/` folders, like
-`index.html` or duplicates like `*.zip.1`
+`index.html` or duplicates like `*.zip.1`. You can delete any files ending in
`.asc.md5`.
stain@biggie-utopic:~/src/rc1/dist$ ls
binaries/ source/
@@ -627,4 +628,4 @@ TODO
Tick the correct [staging
repository](https://repository.apache.org/#stagingRepositories) (perhaps do a
quick check of an SHA1 sum against the vote email), then click *Release*.
It should then propagate to [Apache's release Maven
repository](https://repository.apache.org/content/repositories/releases/org/apache/taverna/)
-and eventually mirrored to [Maven
Central](http://central.maven.org/maven2/org/apache/taverna/).
+and eventually mirrored to [Maven
Central](http://central.maven.org/maven2/org/apache/taverna/).
\ No newline at end of file