You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/04/14 15:27:31 UTC

[jira] Created: (MAVEN-1236) Add user and group properties

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1236

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1236
    Summary: Add user and group properties
       Type: Improvement

     Status: Unassigned
   Priority: Minor

 Original Estimate: 15 minutes
 Time Spent: Unknown
  Remaining: 15 minutes

    Project: maven
   Versions:
             1.0-rc3

   Assignee: 
   Reporter: Guillaume Lasnier

    Created: Wed, 14 Apr 2004 9:25 AM
    Updated: Wed, 14 Apr 2004 9:25 AM

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
 


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org