<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You under the Apache License, Version 2.0
  ~ (the "License"); you may not use this file except in compliance with
  ~ the License.  You may obtain a copy of the License at
  ~
  ~    http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<!-- $Rev$ $Date$ -->

<plugin>
	 <extension point="org.eclipse.wst.server.core.runtimeTypes">
        <runtimeType id="org.apache.geronimo.runtime.12"
            name="%runtimeTypeName" description="%runtimeTypeDescription"
            vendor="%runtimeTypeVendor" version="1.2"
            class="org.apache.geronimo.st.v12.core.GeronimoRuntime">
            <moduleType types="jst.web" versions="2.2, 2.3, 2.4"/>
            <moduleType types="jst.ejb" versions="1.1, 2.0, 2.1"/>
            <moduleType types="jst.connector" versions="1.0, 1.5"/>
            <moduleType types="jst.ear" versions="1.2, 1.3, 1.4"/>
            <moduleType types="jst.utility" versions="1.0"/>
        </runtimeType>
    </extension>
    
    <extension point="org.eclipse.wst.server.core.serverTypes">
        <serverType id="org.apache.geronimo.server.12"
            name="%serverTypeName" description="%serverTypeDescription"
            runtime="true"
            class="org.apache.geronimo.st.v12.core.GeronimoServer"
            initialState="stopped" supportsRemoteHosts="true"
            startTimeout="240000" stopTimeout="30000" startBeforePublish="true"
            runtimeTypeId="org.apache.geronimo.runtime.12"
            launchConfigId="org.apache.geronimo.st.core.launchConfigurationType"
            behaviourClass="org.apache.geronimo.st.v12.core.GeronimoServerBehaviour"
            hasConfiguration="false" launchModes="run,debug,profile">
        </serverType>
    </extension>
    
    <extension point="org.eclipse.wst.server.core.installableRuntimes">
        <installableRuntime id="org.apache.geronimo.runtime.tomcat.12"
            featureVersion="1.2.0"
            featureId="org.apache.geronimo.installableruntime.tomcat.feature"
            featureSite="http://www.apache.org/dist/geronimo/eclipse/updates/"
            path="geronimo-tomcat-j2ee-1.2.zip">
        </installableRuntime>
        <installableRuntime id="org.apache.geronimo.runtime.jetty.12"
            featureVersion="1.2.0"
            featureId="org.apache.geronimo.installableruntime.jetty.feature"
            featureSite="http://www.apache.org/dist/geronimo/eclipse/updates/"
            path="geronimo-jetty-j2ee-1.2.zip">
        </installableRuntime>
    </extension>
    
    <extension point="org.eclipse.jst.server.core.runtimeFacetMappings">
        <runtimeFacetMapping
            runtimeTypeId="org.apache.geronimo.runtime.12"
            runtime-component="org.apache.geronimo.runtime" version="1.1"/>
    </extension>
  
</plugin>
