Changeset 1698
- Timestamp:
- 10/14/11 12:04:39 (7 months ago)
- File:
-
- 1 edited
-
trunk/docx4j/RELEASE_HOWTO.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/RELEASE_HOWTO.txt
r1595 r1698 20 20 svn ci 21 21 22 co as new project; check it 22 svn co from command line (ie not in eclipse) 23 23 24 to run tests: 25 ant test 26 or mvn install 24 ---- 25 26 Per https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide 27 28 mvn release:clean 29 30 mvn release:prepare 31 32 mvn release:perform 33 34 perform breaks (1) because target/generated-sources is already under version control (why? get rid of this) 35 36 so have to mv target out of the way, svn update, then copy current contents into it 37 38 perform breaks (2) because it run in wrong dir, so cd target/checkout/docx4j and manually run it: 39 40 $ mvn deploy --no-plugin-updates -Psonatype-oss-release -f pom.xml 41 42 (This runs on the branch you've created in previous steps. All the previous steps do is create that branch, and change trunk's pom to whatever next version will be) 43 44 Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2//org/docx4j/docx4j/2.7.1/docx4j-2.7.1.jar 45 5691K uploaded (docx4j-2.7.1.jar) 46 47 Then release it: 48 49 1. close the staging repository: 50 51 1. Login to the Nexus UI, https://oss.sonatype.org/index.html#welcome 52 2. Go to Staging Repositories page. 53 3. Select a staging repository. 54 4. Click the Close button. 55 56 2. when you are sure the closed staging repository has no problem, click the Release button. 57 58 -------- 59 60 The mvn generated jar is currently bigger (5.6MB), because it contains unnecessary docx. 61 62 1111267 Fri Oct 14 15:03:28 EST 2011 jaxb-binder-issue.docx 63 64 TODO: fix this 65 66 ------- 27 67 28 68 ANT_OPTS="-Xmx512m -XX:MaxPermSize=256m" ant dist … … 31 71 32 72 Create docx4j-x.x.x.tar.gz (ant dist, rename the jar as well) 33 34 73 35 Check Mvn build works 36 - it creates an 18MB -javadoc, but don't upload that 37 38 39 Check all jars match target (eg Java 1.5) 40 41 Tag the version in svn 42 43 Create javadoc 44 45 edit doctitle in build.xml 46 47 ant javadoc 48 49 Maven upload 50 51 mvn deploy:deploy-file -f wagon-svn-pom.xml -Dfile=dist/docx4j.jar -DpomFile=pom.xml -Dpackaging=jar -DrepositoryId=docx4j -Durl=svn:http://dev.plutext.org/svn/docx4j/trunk/docx4j/m2 74 ---- 52 75 53 76 Announce release in docx4j forum
Note: See TracChangeset
for help on using the changeset viewer.
