<?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.20"
            name="%runtimeTypeName" description="%runtimeTypeDescription"
            vendor="%runtimeTypeVendor" version="2.0"
            class="org.apache.geronimo.st.v20.core.GeronimoRuntime">
            <moduleType types="jst.web" versions="2.2, 2.3, 2.4, 2.5"/>
            <moduleType types="jst.ejb" versions="1.1, 2.0, 2.1, 3.0"/>
            <moduleType types="jst.connector" versions="1.0, 1.5"/>
            <moduleType types="jst.ear" versions="1.2, 1.3, 1.4, 5.0"/>
            <moduleType types="jst.utility" versions="1.0"/>
        </runtimeType>
    </extension>
    
    <extension point="org.eclipse.wst.server.core.serverTypes">
        <serverType id="org.apache.geronimo.server.20"
            name="%serverTypeName" description="%serverTypeDescription"
            runtime="true"
            class="org.apache.geronimo.st.v20.core.GeronimoServer"
            initialState="stopped" supportsRemoteHosts="true"
            startTimeout="240000" stopTimeout="30000" startBeforePublish="true"
            runtimeTypeId="org.apache.geronimo.runtime.20"
            launchConfigId="org.apache.geronimo.st.core.launchConfigurationType"
            behaviourClass="org.apache.geronimo.st.v20.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.20"
            featureVersion="2.0.1"
            featureId="org.apache.geronimo.installableruntime.tomcat.feature"
            featureSite="http://www.apache.org/dist/geronimo/eclipse/updates/"
            path="geronimo-tomcat6-jee5-2.0.1.zip">
        </installableRuntime>
        <installableRuntime id="org.apache.geronimo.runtime.jetty.20"
            featureVersion="2.0.1"
            featureId="org.apache.geronimo.installableruntime.jetty.feature"
            featureSite="http://www.apache.org/dist/geronimo/eclipse/updates/"
            path="geronimo-jetty6-jee5-2.0.1.zip">
        </installableRuntime>
    </extension>
    
    <extension point="org.eclipse.jst.server.core.runtimeFacetMappings">
        <runtimeFacetMapping
            runtimeTypeId="org.apache.geronimo.runtime.20"
            runtime-component="org.apache.geronimo.runtime" version="2.0"/>
    </extension>
    
    <extension point="org.eclipse.wst.common.project.facet.core.defaultFacets" 
    	id="org.apache.geronimo.defaultFacets"
        name="Geronimo Default Facets">
        <default-facets>
            <runtime-component id="org.apache.geronimo.runtime" version="2.0"/>
            <facet id="org.apache.geronimo.facet" version="1.1"/>
        </default-facets>
    </extension>
  
</plugin>
