jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 1.x Webserver Plugin
  • Maven 1.x Webserver Plugin
  • MPWEBSERVER-1

Add user and group properties

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Brett Porter
    Reporter:
    Guillaume Lasnier
Vote (0)
Watch (1)

Dates

  • Created:
    14/Apr/04 9:25 AM
    Updated:
    24/Apr/04 10:14 PM
    Resolved:
    24/Apr/04 10:14 PM

Time Tracking

Estimated:
15m
Original Estimate - 15 minutes
Remaining:
15m
Remaining Estimate - 15 minutes
Logged:
Not Specified
Time Spent - Not Specified
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.