geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-5504) Add "overrides" and "overriDir" parameters to geronimo-maven-plugin start-server goal
Date Thu, 05 Aug 2010 00:07:16 GMT
Add "overrides" and "overriDir" parameters  to geronimo-maven-plugin start-server goal 
---------------------------------------------------------------------------------------

                 Key: GERONIMO-5504
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5504
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: geronimo-maven-plugin
    Affects Versions: 2.2.2
            Reporter: viola.lu
            Assignee: viola.lu
            Priority: Minor
             Fix For: 2.2.2


Before you start a server, you want to customize its config.xml for your testing purpose,
 so add overrides parameter to geronim-maven-plugin:
                               <overrides>
                                <ServerOverride>
                                   <server>default</server>
                                    <overrides>server-overrides-1.xml</overrides>
                                         </ServerOverride>

Example:

<groupId>org.apache.geronimo.buildsupport</groupId>
        <artifactId>geronimo-maven-plugin</artifactId>        
               <executions>
			<execution>
				<id>start-server1</id>
				<phase>process-test-resources</phase>
				<goals>
				<goal>start-server</goal>
				</goals>
				<configuration>
				<overrides>
                                <ServerOverride>
                                   <server>default</server>
                                    <overrides>server-overrides-1.xml</overrides>
                                         </ServerOverride>
                                    </overrides>
									<geronimoHome>${basedir}/server1</geronimoHome>
									 <port>1100</port>									
										<logOutput>true</logOutput>
										<background>true</background>
										<verifyTimeout>300</verifyTimeout>
										<refresh>true</refresh>
									</configuration>
								</execution>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message