<?xml version="1.0" encoding="UTF-8"?>
<!-- 
/* 
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 
* 
* Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved. 
* 
* The contents of this file are subject to the terms of either the GNU 
* General Public License Version 2 only ("GPL") or the Common Development 
* and Distribution License("CDDL") (collectively, the "License").  You 
* may not use this file except in compliance with the License. You can obtain 
* a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html 
* or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific 
* language governing permissions and limitations under the License. 
* 
* When distributing the software, include this License Header Notice in each 
* file and include the License file at glassfish/bootstrap/legal/LICENSE.txt. 
* Sun designates this particular file as subject to the "Classpath" exception 
* as provided by Sun in the GPL Version 2 section of the License file that 
* accompanied this code.  If applicable, add the following below the License 
* Header, with the fields enclosed by brackets [] replaced by your own 
* identifying information: "Portions Copyrighted [year] 
* [name of copyright owner]" 
* 
* Contributor(s): 
* 
* If you wish your version of this file to be governed by only the CDDL or 
* only the GPL Version 2, indicate your decision by adding "[Contributor] 
* elects to include this software in this distribution under the [CDDL or GPL 
* Version 2] license."  If you don't indicate a single choice of license, a 
* recipient has the option to distribute your version of this file under 
* either the CDDL, the GPL Version 2 or to extend the choice of license to 
* its licensees as provided above.  However, if you add GPL Version 2 code 
* and therefore, elected the GPL Version 2 license, then the option applies 
* only if the new code is made subject to such option by the copyright 
* holder. 
*/ 
--> 
<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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.glassfish.admin</groupId>
        <artifactId>admin</artifactId>
        <version>3.0-b63</version>
        <relativePath>../pom.xml</relativePath>
    </parent>
    
    <artifactId>cli-optional</artifactId>
    <packaging>hk2-jar</packaging>
    <name>Optional Admin CLI commands</name>
    
    <developers>
        <developer>
            <id>janey</id>
            <name>Jane Young</name>
            <organization>Sun Microsystems, Inc.</organization>
            <roles>
                <role>lead</role>
                <role>developer</role>
            </roles>
        </developer>
        <developer>
            <id>bnevins</id>
            <name>Byron Nevins</name>
            <organization>Sun Microsystems, Inc.</organization>
            <roles>
                <role>developer</role>
            </roles>
        </developer>        
        <developer>
            <id>pa100654</id>
            <name>Prashant Abbagani</name>
            <organization>Sun Microsystems, Inc.</organization>
            <roles>
                <role>developer</role>
            </roles>
        </developer>
        <developer>
            <id>km</id>
            <name>Kedar Mhaswade</name>
            <organization>Sun Microsystems, Inc.</organization>
            <roles>
                <role>developer</role>
            </roles>
        </developer>
        <developer>
            <id>jc129909</id>
            <name>Jennifer Chou</name>
            <organization>Sun Microsystems, Inc.</organization>
            <roles>
                <role>developer</role>
            </roles>
        </developer>
        <developer>
            <id>sirajg</id>
            <name>Siraj Ghaffar</name>
            <organization>Sun Microsystems, Inc.</organization>
            <roles>
                <role>developer</role>
            </roles>
        </developer>
    </developers>
    <build>
        <plugins>
            <plugin>
                <groupId>com.sun.enterprise</groupId>
                <artifactId>hk2-maven-plugin</artifactId>
                <configuration>
                    <excludes>
                      <!-- See 5776 -->
                      <exclude>com/sun/**/BackupCommands.java</exclude> 
                    </excludes>
                    <archive>
                        <manifestEntries>
                               <!--<Class-Path>config-api.jar glassfish-api.jar kernel.jar internal-api.jar hk2.jar hk2-core.jar config.jar auto-depends.jar tiger-types-osgi.jar bean-validator.jar glassfish-api.jar grizzly-utils.jar gmbal.jar glassfish.jar</Class-Path>-->
                               <Class-Path>jsr311-api.jar jersey-gf-bundle.jar amx-core-impl.jar amx-core.jar glassfish-api.jar hk2.jar hk2-corejar configjar auto-dependsjar tiger-types-osgijar bean-validator.jar grizzly-utils.jar gmbal.jar glassfish-mbeanserver.jar internal-api.jar config-api.jar common-util.jar javax.servlet.jar grizzly-config.jar osgi-adapterjar jmxremote_optional-repackaged.jar amx-config-impl.jar amx-config.jar amx-ext-impl.jar kernel.jar grizzly-framework.jar grizzly-http.jar grizzly-rcm.jar grizzly-portunif.jar deployment-common.jar asm-all-repackaged.jar pkg-client.jar flashlight-framework.jar flashlight-agent.jar management-api.jar security.jar dol.jar javax.annotation.jar javax.transaction.jar javax.enterprise.deploy.jar javax.persistence.jar javax.resource.jar annotation-framework.jar javax.security.auth.message.jar javax.security.jacc.jar javax.ejb.jar ejb-internal-api.jar connectors-internal-api.jar transaction-internal-api.jar ldapbp-repackaged.jar grizzly-compat.jar grizzly-comet.jar grizzly-cometd.jar grizzly-messagesbus.jar servlet-api-2.5.jar glassfish-extra-jre-packages.jar api-exporter.jar glassfish.jar admin-cli.jar launcher.jar branding.jar deployment-admin.jar deployment-autodeploy.jar glassfish-ee-api.jar osgi-mainjar glassfish-corba-omgapi.jar container-common.jar glassfish-naming.jar orb-connector.jar javax.mail.jar osgi-container.jar grizzly-container.jar monitoring-core.jar stats77.jar deployment-client.jar deployment-javaee-core.jar inmemory.jacc.provider.jar ant.jar jaxb-osgi.jar jaxb-api-osgi.jar registration-api.jar registration-impl.jar sysnet-registration-repackaged.jar commons-codec-repackaged.jar glassfish-registration.jar cli-optional.jar server-mgmt.jar admin-util.jar extra-jdk-packages.jar rest-service.jar gf-client.jar gf-client-module.jar ejb-container.jar appclient.security.jar ejb.security.jar glassfish-corba-csiv2-idl.jar glassfish-corba-orb.jar glassfish-corba-orbgeneric.jar glassfish-corba-newtimer.jar glassfish-corba-codegen.jar glassfish-corba-asm.jar orb-iiop.jar acc-config.jar webservices.security.jar webservices-osgi.jar webservices-api-osgi.jar websecurity.jar web-core.jar apache-commons.jar war-util.jar javax.servlet.jsp.jar web-naming.jar jsr109-impl.jar web-glue.jar web-cli.jar amx-j2ee.jar javax.management.j2ee.jar jsp-impl.jar jsp-api.jar el-api.jar el-impl.jar admin-core.jar web-gui-plugin-common.jar grizzly-http-servlet.jar work-management.jar connectors-inbound-runtime.jar connectors-runtime.jar jts.jar jta.jar jms-core.jar javax.jms.jar org.eclipse.persistence.core.jar org.eclipse.persistence.jpa.jar org.eclipse.persistence.oracle.jar org.eclipse.persistence.antlr.jar org.eclipse.persistence.asm.jar jpa-connector.jar persistence-common.jar appclient-connector.jar appclient-server-core.jar cmp-utility.jar cmp-model.jar dbschema-repackaged.jar cmp-generator-database.jar cmp-ejb-mapping.jar schema2beans-repackaged.jar cmp-enhancer.jar cmp-support-sqlstore.jar antlr-repackaged.jar cmp-support-ejb.jar gf-connectors-connector.jar connectors-admin.jar glassfish-oracle-jdbc-driver-packages.jar jsf-api.jar jsf-impl.jar jstl-connector.jar jstl-impl.jar jstl-api.jar javax.servlet.jsp.jstl.jar jsf-connector.jar jspcaching-connector.jar gf-web-connector.jar web-ajp.jar web-embed-api.jar web-embed-impl.jar jdbc-admin.jar console-plugin-service.jar dataprovider.jar dataprovider.jar jsftemplating.jar console-common.jar console-security-plugin.jar webui-jsf-suntheme.jar webui-jsf.jar commons-fileupload.jar xml-apis.jar json.jar console-updatecenter-plugin.jar console-community-branding-plugin.jar console-web-plugin.jar console-jdbc-plugin.jar gf-ejb-connector.jar console-ejb-lite-plugin.jar deployment-javaee-full.jar amx-j2ee-impl.jar mejb.jar console-jms-plugin.jar jms-admin.jar console-ejb-plugin.jar console-corba-plugin.jar webbeans-integration.jar webbeans-osgi-bundle.jar jsr299-api.jar webbeans-api.jar webbeans-spi.jar jms.jar webbeans-core.jar webbeans-logging.jar javassist.jar dom4j.jar gf-jruby-connector.jar grizzly-jruby-module.jar grizzly-jruby.jar grizzly-scripting-common.jar</Class-Path>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>**/*.xml</include>
                    <include>**/*.1</include>
                    <include>**/*.1m</include>
                </includes>
            </resource>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/*.properties</include>
                </includes>
            </resource>
        </resources>
    </build>
    <dependencies>
        <dependency>
            <groupId>org.glassfish.admin</groupId>
            <artifactId>admin-cli</artifactId>
            <version>${project.parent.version}</version>
        </dependency>        <dependency>
            <groupId>org.glassfish.core</groupId>
            <artifactId>glassfish</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.admin</groupId>
            <artifactId>server-mgmt</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.common</groupId>
            <artifactId>common-util</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.admin</groupId>
            <artifactId>admin-util</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.admin</groupId>
            <artifactId>launcher</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <!-- see 5776. Commenting out backup for Prelude -->
        <!--
        <dependency>    
            <groupId>org.glassfish.admin</groupId>
            <artifactId>backup</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        -->
        <!-- see 5776. Commenting out backup for Prelude -->
    </dependencies>
</project>
