Jetspeed 2
  1. Jetspeed 2
  2. JS2-793

Support deployment of jetspeed under a custom context name (e.g. ROOT) with the maven 1 jetspeed plugin

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.1.3
    • Component/s: Deployment
    • Labels:
      None

      Description

      The maven-1 jetspeed plugin currently uses the "org.apache.jetspeed.portal.artifactId" property both for generating a custom portal project artifactId and
      as the context Name under which the portal is deployed (logically, as maven uses the artifactId for naming the war file itself too).
      For deploying to the Tomcat ROOT context though this is not very optimal as naming the artifactId as such is not very informative and usually not desired.

      I'll provide a new optional plugin property, "org.apache.jetspeed.portal.contextName" which will still default to the value of the "org.apache.jetspeed.portal.artifactId" property,
      but which you can override in the build.properties to support using a different context name like ROOT (note: for Tomcat this needs to be specified in full capitals).

      The created artifact then can be named as desired for deploying to the (local or a remote) maven repository, but during deployment (e.g. j2:portal.deploy) the plugin will using the provided "org.apache.jetspeed.portal.contextName".

        Activity

        Hide
        Ate Douma added a comment -

        Implemented supporting both Tomcat 5.0.x and 5.5.x.
        Note: the template tomcat context deployment descriptors (under src tree etc/conf/tomcat) have been adapted to support this too.

        Show
        Ate Douma added a comment - Implemented supporting both Tomcat 5.0.x and 5.5.x. Note: the template tomcat context deployment descriptors (under src tree etc/conf/tomcat) have been adapted to support this too.

          People

          • Assignee:
            Ate Douma
            Reporter:
            Ate Douma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development