-
Notifications
You must be signed in to change notification settings - Fork 144
ReleaseProcess
Paul Tuckey edited this page Feb 26, 2019
·
4 revisions
cd ~/co/urlrewritefilter/container-test
mvn clean verify
mvn integration-test -Dcargo.servlet.port=9000 -Dcargo.maven.containerId=tomcat7x -Dcargo.maven.containerUrl=http://repo1.maven.org/maven2/org/apache/tomcat/tomcat/7.0.82/tomcat-7.0.82.zip
# last status: ok
mvn integration-test -Dcargo.maven.containerId=tomcat8x -Dcargo.maven.containerUrl=http://repo1.maven.org/maven2/org/apache/tomcat/tomcat/8.0.47/tomcat-8.0.47.zip
# last status: ok
mvn integration-test -Dcargo.maven.containerId=tomcat9x -Dcargo.maven.containerUrl=http://repo1.maven.org/maven2/org/apache/tomcat/tomcat/9.0.2/tomcat-9.0.2.zip
# last status: ok
mvn integration-test -Dcargo.maven.containerId=glassfish4x -Dcargo.maven.containerUrl=http://download.java.net/glassfish/4.1.2/release/glassfish-4.1.2.zip
# last status: delete not a supported http method, otherwise ok
mvn integration-test -Dcargo.maven.containerId=resin4x -Dcargo.maven.containerUrl=http://www.caucho.com/download/resin-4.0.49.zip
# last status: resin doesn't start??
mvn integration-test -Dcargo.maven.containerId=jetty9x -Dcargo.maven.containerUrl=http://central.maven.org/maven2/org/eclipse/jetty/jetty-distribution/9.4.6.v20170531/jetty-distribution-9.4.6.v20170531.tar.gz
# last status: testNoDecode fails, otherwise ok
mvn integration-test -Dcargo.maven.containerId=jboss71x -Dcargo.maven.containerUrl=http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip
You can get more urls and container id's here: https://github.com/codehaus-cargo/cargo/blob/master/core/samples/pom.xml
pom.xml
annotation/pom.xml
container-test/pom.xml
mvn package # builds the jar
ant urlrewrite-doc # updates the version in the docs
Update changelog: src/doc/manual/4.0/introduction.html
<servers>
<server>
<id>sonatype-nexus-snapshots</id>
<username>uuuuuu</username>
<password>xxxxxx</password>
</server>
<server>
<id>sonatype-nexus-staging</id>
<username>uuuuuu</username>
<password>xxxxxx</password>
</server>
</servers>
</settings>
mvn install release:prepare
mvn release:perform -Dgpg.passphrase=XXXXX
Go to: https://oss.sonatype.org/
Close and release the release
Update project web site: http://tuckey.org/urlrewrite/
Update project home page: http://code.google.com/p/urlrewritefilter/
Upload to http://code.google.com/p/urlrewritefilter/downloads/list
- jar
- sources