<?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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>wab</artifactId>
    <groupId>org.apache.geronimo.plugins</groupId>
    <version>4.0.0-SNAPSHOT</version>
  </parent>
  <groupId>org.apache.geronimo.plugins</groupId>
  <artifactId>web-jetty-server</artifactId>
  <packaging>server-assembly</packaging>
  <name>Geronimo Plugins, WAB :: Web Extender Jetty Server</name>

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.geronimo.buildsupport</groupId>
          <artifactId>car-maven-plugin</artifactId>
          <version>${project.version}</version>
          <extensions>true</extensions>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.apache.geronimo.buildsupport</groupId>
        <artifactId>car-maven-plugin</artifactId>
        <configuration>
          <servers>
            <serverInstance>
              <name>default</name>
              <configFile>var/config/config.xml</configFile>
              <configSubstitutionsFile>var/config/config-substitutions.properties</configSubstitutionsFile>
              <configSubstitutionsPrefix>org.apache.geronimo.config.substitution.</configSubstitutionsPrefix>
              <artifactAliasesFile>var/config/artifact_aliases.properties</artifactAliasesFile>
            </serverInstance>
            <serverInstance>
              <name>client</name>
              <attributeManagerFrom>default</attributeManagerFrom>
              <artifactAliasesFile>var/config/client_artifact_aliases.properties</artifactAliasesFile>
            </serverInstance>
            <serverInstance>
              <name>offline</name>
              <configFile>var/config/offline-deployer-config.xml</configFile>
              <configSubstitutionsFile>var/config/config-substitutions.properties</configSubstitutionsFile>
              <configSubstitutionsPrefix>org.apache.geronimo.config.substitution.</configSubstitutionsPrefix>
              <artifactAliasesFile>var/config/artifact_aliases.properties</artifactAliasesFile>
            </serverInstance>
            <serverInstance>
              <name>jsr88</name>
              <configFile>var/config/jsr88-configurer-config.xml</configFile>
              <configSubstitutionsFile>var/config/config-substitutions.properties</configSubstitutionsFile>
              <configSubstitutionsPrefix>org.apache.geronimo.config.substitution.</configSubstitutionsPrefix>
              <artifactAliasesFile>var/config/artifact_aliases.properties</artifactAliasesFile>
            </serverInstance>
          </servers>
        </configuration>
      </plugin>
      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-deploy-plugin</artifactId>
          <configuration>
              <skip>true</skip>
          </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.apache.geronimo.framework</groupId>
      <artifactId>karaf-framework</artifactId>
      <version>${project.version}</version>
      <type>car</type>
    </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>j2ee-deployer</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>j2ee-server</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>transaction-1_6</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>jasper</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>jasper-deployer</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>myfaces</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>myfaces-deployer</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>web-extender</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency> 
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>aries-deployer</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>connector-deployer-1_6</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>transaction-1_6</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>


        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>system-database</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>jetty8</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>jetty8-deployer</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>
  </dependencies>
</project>
