POI 3.0.2 and 3.1 were built using Ant 1.6.2 and Forrest 0.5\r
\r
(II) Making release artefacts\r
- 1. Update version id in build.xml. \r
+ 1. Update version id in build.xml\r
+{code:xml}\r
+ <property name="version.id" value="3.1-beta1"/>\r
+{code}\r
+\r
2. Tag current version. Include the current revision number in the comment\r
\r
{code}\r
\r
5. Start a new section in sites.xml and status.xml. \r
\r
- 6. Build as if the vote had passed. The buid date must be +7 days from current.\r
+ 6. Build as if the vote had passed. The build date must be +7 days from current.\r
{code}\r
ant build\r
{code}\r
\r
1. Go to ~/POI-3.1-BETA1\r
\r
+zap previous version first.\r
+\r
+{code}\r
cd ~/POI-3.1-BETA1/main\r
+{code}\r
\r
BETA and ALPHA releases:\r
+\r
+{code}\r
cp *-src-* /www/www.apache.org/dist/poi/dev/src\r
cp *-bin-* /www/www.apache.org/dist/poi/dev/bin\r
+{code}\r
\r
FINAL release:\r
+{code}\r
cp *-src-* /www/www.apache.org/dist/poi/release/src\r
cp *-bin-* /www/www.apache.org/dist/poi/release/bin\r
+{code}\r
\r
+{code}\r
cd ~/POI-3.1-BETA1/maven\r
-\r
cp -r org.apache.poi /www/people.apache.org/repo/m1-ibiblio-rsync-repository/\r
cp -r poi/poms /www/people.apache.org/repo/m1-ibiblio-rsync-repository/poi\r
-\r
+{code}\r
\r
2. Make sure that the files are owned by the unix group apcvs and that they are writable by this group. \r
\r
3. Wait for the distributions to appear on your favourite mirror\r
\r
-4. Send announcements:\r
+4. test maven\r
+create a simple project and make sure the release artifacts are accessible by maven:\r
+\r
+{code}\r
+$ mvn archetype:create -DgroupId=org.apache.poi.scratchpad -DartifactId=maven-test\r
+cd maven-test\r
+{code}\r
+edit pom.xml and add the release artefacts to the project dependencies: \r
+\r
+{code:xml}\r
+ <dependency>\r
+ <groupId>org.apache.poi</groupId>\r
+ <artifactId>poi</artifactId>\r
+ <version>3.1-beta1</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.apache.poi</groupId>\r
+ <artifactId>poi-scratchpad</artifactId>\r
+ <version>3.1-beta1</version>\r
+ </dependency>\r
+{code}\r
+\r
+{code}\r
+mvn compile \r
+{code}\r
+\r
+You should see [INFO] BUILD SUCCESSFUL in the end.\r
+\r
+5. Don't forget to upload the latest version of the site and javadocs\r
+\r
+6. Send announcements:\r
- to poi-user and poi-dev lists\r
- - send announcements to announcement@apache.org, announcements@jakarta.apache.org\r
+ - to announcement@apache.org, announcements@jakarta.apache.org\r
+\r
+Note, announcements should be sent from your @apache.org e-mail address.\r
\r