You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

Steps

  1. Wait one to two weeks after the release of the corresponding Geronimo server
  2. Copy the trunk to branches using the following command.
    svn copy SRC-URL DEST-URL -m "Reason for this commit"
    
    For example:
    svn copy https://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trunk
             https://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/branches/2.0.0 -m "Prepare for release"
    
  3. Checkout or update this branches tree on your machine.
  4. Update the <scm> URLs in the pom.xml to point to the final URL in tags. For example:
    <scm>
         <connection>scm:svn:https://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/tags/2.0.0/</connection>
         <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/tags/2.0.0/</developerConnection>
         <url>https://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/tags/2.0.0/</url>
    </scm>
    
  5. Update the /assembly/pom.xml to replace the maven-buildnumber-plugin with the geronimodevtools-plugin. It should look something like:
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <finalName>g-eclipse-plugin-${version}</finalName>
                    <descriptors>
                        <descriptor>src/main/assembly/deployable.xml</descriptor>
                        <descriptor>src/main/assembly/updatesite.xml</descriptor>
                    </descriptors>
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>attached</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    
  6. Build the new branches tree that will soon be released
  7. Build a publicly accessible staging site so that the reviewers can download the plugins and the Geronimo server from it
  8. Copy the deployable zip file, and the updatesite zip file to a publicly accessible location. Put them up for a vote. In the vote notice, please include:
    • The precise names and versions being voted on (e.g. g-eclipse-plugin-2.0.0-deployable.zip and g-eclipse-plugin-2.0.0-updatesite.zip)
    • The svn urls to the current source and where the tag will be created
    • The svn revision levels being voted on along with pointers to the source and build output files
    • URL of the staging site (with instructions on how to use it)
    • WTP requirements if any (with instructions on how to download them and from where)
  9. Make sure to start both a VOTE and a DISCUSS thread on the Geronimo dev list
  10. Create the staging site from the updatesite zip. The only change necessary is to ensure that the org.apache.geronimo.st.v20.core_2.0.0 plugin points back to the staging site as below:
    <extension point="org.eclipse.wst.server.core.installableRuntimes">
        <installableRuntime id="org.apache.geronimo.runtime.tomcat.20"
            featureVersion="2.0.1"
            featureId="org.apache.geronimo.installableruntime.tomcat.feature"
            featureSite="http://people.apache.org/~mcconne/releases/staging_site/"      <!-- This line was altered -->
            path="geronimo-tomcat6-jee5-2.0.1.zip">
        </installableRuntime>
        <installableRuntime id="org.apache.geronimo.runtime.jetty.20"
            featureVersion="2.0.1"
            featureId="org.apache.geronimo.installableruntime.jetty.feature"
            featureSite="http://people.apache.org/~mcconne/releases/staging_site/"      <!-- This line was altered -->
            path="geronimo-jetty6-jee5-2.0.1.zip">
        </installableRuntime>
    </extension>
    
  11. After it has been approved, publish the zip files to the distribution location on apache:

    Ensure that the files you copy to the distribution directoory have 0755 dir permission and a 0644 file permisison set on them

  12. Move the branches to tags using the following command.
    svn mv SRC-URL DEST-URL -m "Reason for this commit".
    
  13. Update the project web site (including the release notes) at:
    http://geronimo.apache.org/development-tools.html
    
  14. Administer the GERONIMODEVTOOLS JIRA project to update the released and unreleased versions at:
    https://issues.apache.org/jira/browse/GERONIMODEVTOOLS
    
  15. Final step is to update appropriate remote Eclipse download site(s) so users can download the Geronimo server and the Geronimo Eclipse plugin from within Eclipse (without having to add a new "Remote Site" from the Eclipse Help panels):

    TBD when Sachin returns

  • No labels