Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Labels:
      None
    • Number of attachments :
      0

      Description

      These properties correspond to the user and group to run the webserver as. It is used to subsitute token in the httpd.conf file for Apache 2.x for the User and Group Directives.
      Below is the patch that adds this new feature.

      Index: plugin.jelly
      ===================================================================
      retrieving revision 1.20
      diff -u -r1.20 plugin.jelly
      — plugin.jelly 4 Mar 2004 18:39:37 -0000 1.20
      +++ plugin.jelly 14 Apr 2004 13:17:38 -0000
      @@ -241,6 +241,10 @@
      value="$

      {context.getVariable('maven.webserver.dir.path')}

      " />
      <ant:filter token="maven.webserver.root"
      value="$

      {context.getVariable('maven.webserver.root.path')}

      " />
      + <ant:filter token="maven.webserver.user"
      + value="$

      {context.getVariable('maven.webserver.user')}

      " />
      + <ant:filter token="maven.webserver.group"
      + value="$

      {context.getVariable('maven.webserver.group')}

      " />

      <!-- allow integration with the properties of the appserver plugin -->
      <ant:filter token="maven.appserver.home"
      Index: plugin.properties
      ===================================================================
      retrieving revision 1.7
      diff -u -r1.7 plugin.properties
      — plugin.properties 4 Mar 2004 18:39:37 -0000 1.7
      +++ plugin.properties 14 Apr 2004 13:17:38 -0000
      @@ -103,3 +103,9 @@
      maven.webserver.conf.dir=$

      {maven.conf.dir}

      /webserver/$

      {maven.webserver.fullname}

      +#-------------------------------------------------------#
      +# OPTIONNAL PROPERTIES RESOLVING TOKENS IN HTTPD.CONF #
      +#-------------------------------------------------------#
      +# The user and group to run httpd as
      +#maven.webserver.user=apache
      +#maven.webserver.group=apache
      \ No newline at end of file

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Brett Porter
            Reporter:
            Guillaume Lasnier
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 15 minutes
              15m
              Remaining:
              Remaining Estimate - 15 minutes
              15m
              Logged:
              Time Spent - Not Specified
              Not Specified