<?xml version="1.0" encoding="UTF-8"?>
<!--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.-->
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.2">
  <!--This is where the files are accessed from. (aka - portletContext)-->
  <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
    <dep:moduleId>
      <dep:groupId>org.apache.geronimo.plugins</dep:groupId>
      <dep:artifactId>plancreator-console-tomcat</dep:artifactId>
      <dep:version>3.0.0</dep:version>
      <dep:type>car</dep:type>
    </dep:moduleId>
    <dep:dependencies>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.plugins</dep:groupId>
        <dep:artifactId>console-tomcat</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>car</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.configs</dep:groupId>
        <dep:artifactId>connector-deployer-1_6</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>car</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.framework</dep:groupId>
        <dep:artifactId>plugin</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>car</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.configs</dep:groupId>
        <dep:artifactId>openejb-deployer</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>car</dep:type>
      </dep:dependency>
    </dep:dependencies>
    <dep:hidden-classes/>
    <dep:non-overridable-classes/>
    <dep:private-classes/>
  </dep:environment>
  <context-root>/plan-creator</context-root>
  <!--required for pluto cross context dispatches-->
  <cross-context/>
  <security-realm-name>geronimo-admin</security-realm-name>
  <security xmlns="http://geronimo.apache.org/xml/ns/security-1.2">
    <role-mappings>
      <role role-name="admin">
        <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="admin"/>
      </role>
    </role-mappings>
  </security>
  <!--i18n support-->
  <gbean name="ConsoleResourceGBean" class="org.apache.geronimo.console.i18n.ConsoleResourceGBean">
    <reference name="ConsoleResourceRegistry">
      <name>ConsoleResourceRegistry</name>
    </reference>
  </gbean>
  <!--Start off a ACEGBean, this is the lifecycle for the portlet-->
  <gbean name="PlanCreator" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
    <attribute name="pageTitle">2-3/Applications/Plan Creator</attribute>
    <attribute name="portletContext">/plan-creator</attribute>
    <attribute name="portletList">[PlanCreator]</attribute>
    <attribute name="icon">/images/ico_xml_16x16.gif</attribute>
    <reference name="PortalContainerServices">
      <name>PlutoPortalServices</name>
    </reference>
  </gbean>
</web-app>