home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Glassfish example source code file (pom.xml)

This example Glassfish source code file (pom.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Glassfish tags/keywords

cddl, copyright, gpl, gpl, jdk, license, license, see, see, so, the, this, version, version

The Glassfish pom.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<!--

    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

    Copyright (c) 1997-2011 Oracle and/or its affiliates. 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_1_1.html
    or packager/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 packager/legal/LICENSE.txt.

    GPL Classpath Exception:
    Oracle designates this particular file as subject to the "Classpath"
    exception as provided by Oracle in the GPL Version 2 section of the License
    file that accompanied this code.

    Modifications:
    If applicable, add the following below the License Header, with the fields
    enclosed by brackets [] replaced by your own identifying information:
    "Portions Copyright [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
    <parent>
        <groupId>org.glassfish
        <artifactId>pom
        <version>8
    </parent>
    
    <groupId>org.glassfish
    <artifactId>glassfish-parent
    <packaging>pom
    <version>3.1
    <name>GlassFish Parent Project
    <scm>
        <connection>scm:svn:https://svn.java.net/svn/glassfish~svn/tags/3.1-b43
        <developerConnection>scm:svn:https://svn.java.net/svn/glassfish~svn/tags/3.1-b43
    </scm>
    <issueManagement>
        <system>IssueTracker
        <url>http://java.net/jira/browse/GLASSFISH
    </issueManagement>

    <mailingLists>
        <mailingList>
            <name>dev
            <subscribe>http://java.net/projects/glassfish/lists
            <post>dev@glassfish.java.net
            <archive>http://java.net/projects/glassfish/lists/dev/archive
        </mailingList>
        <mailingList>
            <name>users
            <subscribe>http://java.net/projects/glassfish/lists
            <post>users@glassfish.java.net
            <archive>http://java.net/projects/glassfish/lists/users/archive
        </mailingList>
        <mailingList>
            <name>issues
            <subscribe>http://java.net/projects/glassfish/lists
            <post>issues@glassfish.java.net
            <archive>http://java.net/projects/glassfish/lists/issues/archive
        </mailingList>
        <mailingList>
            <name>commits
            <subscribe>http://java.net/projects/glassfish/lists
            <post>commits@glassfish.java.net
            <archive>http://java.net/projects/glassfish/lists/commits/archive
        </mailingList>
    </mailingLists>

    <properties>
        <!-- Set sourceEncoding property to eliminate warning with "File encoding not set" -->
        <!-- when running FindBugs plugin.  -->
        <project.build.sourceEncoding>UTF-8 
        <mail.version>1.4.4
        <management-api.version>1.1-rev-1
        <jms-api.version>1.1-rev-1
        <jsp-api.version>2.2.1-b02
        <jsp-impl.version>2.2.2-b06
        <el-api.version>2.2.1-b03
        <el-impl.version>2.2.1-b03
        <jstl-impl.version>1.2
        <jstl-api.version>1.2
        <jsf-api.version>2.1.0-b11
        <jsf-impl.version>2.1.0-b11
        <jsf-ext.version>0.2
        <woodstock.version>4.0.2.6
        <jaxrpc-api.version>1.1
        <grizzly.version>1.9.31
        <jsr181-api.version>1.0-MR1
        <saaj-api.version>1.3
        <hk2.version>1.1.0
        <hk2.plugin.version>1.1.0
        <trilead-ssh2.version>build212-hudson-6
        <product.name>GlassFish Server Open Source Edition
        <abbrev_product_name>glassfish
        <version_prefix />
        <major_version>3
        <minor_version>1
        <update_version />
        <version_suffix />
        <build.id>${user.name}-private
        <stax-api.version>1.0-2
        <jsftemplating.version>2.0.4
        <glassfish-corba.version>3.1.0-b027
        <uc-pkg-client.version>1.122-50.2809
        <uc-pkg-bootstrap.version>1.122-50.2809
        <webservices.version>2.1
        <woodstox.version>3.2.1.1
        <jaxb-api.version>2.2.2
        <jaxb.version>2.2.3-1
        <jaxrpc.api.version>1.1-b01

        <javax-persistence-api.version>2.0.3
        <eclipselink.version>2.2.0-RC4
        <dbschema.version>RELEASE60
        <!-- osgi version string must start with a number. Manually mapping above dbschema.version to osgi.version here -->
        <dbschema.osgi.version>6.0
        <schema2beans.version>RELEASE55
        <!-- osgi version string must start with a number. Manually mapping above schema2beans.version to osgi.version here -->
        <schema2beans.osgi.version>5.5
        <antlr.version>2.7.6
        <mq.version>4.5-029
        <javadb.version>10.6.2.1
        <jaxr.version>JAXR_RA_20091012
        <weld.version>1.1.0.Final
        <jersey.version>1.5
        <jbi.version>1.0
        <wsdl4j.version>1.6.2
        <gmbal.version>3.1.0-b001
        <glassfish-management-api.version>3.1.0-b001
        <mimepull.version>1.5
        <findbugs.exclude />
        <btrace.version>1.0.5
        <opendmk.version>1.0-b01-ea
        <v3-docs.version>3.1-b11
        <l10n.version>3.1-b41
        <asm.version>3.1
        <shoal.version>1.5.29
        <ha-api.version>3.1.8
    </properties>


    <modules>
        <!-- Don't add any other module here. Instead add them in debug profile -->
        <!-- To avoid JVM crash while using JDK 6, we are not
             building this module in anonymous profile anymore.
             See bug #6766662 for more details.
              <module>build
        -->
    </modules>
    <profiles>
        <profile>
            <id>test-packager
            <modules>
                <module>extras
                <module>packager
            </modules>
        </profile>

        <profile>
            <!-- this profile is used during the development -->
            <id>default
            <activation>
                <activeByDefault>true
            </activation>
            <modules>
                <!-- Every time you change module list, please change
                     the same under release profiles as well (below) -->
                <module>cluster
                <module>javaee-api
                <module>common
                <module>ha
                <module>deployment
                <module>admin
                <module>core
                <module>transaction
                <module>web
                <module>ejb
                <module>connectors
                <module>load-balancer 
                <module>jms
                <module>jdbc
                <module>persistence
                <module>extras
                <module>admingui
                <module>extras/embedded/shell
                <module>packager
                <module>distributions
                <module>security
                <module>registration
                <module>tests
                <module>osgi-platforms
                <module>flashlight
                <module>webservices
                <module>orb
                <module>appclient
                <module>verifier/verifier-impl
                <module>verifier/verifier-scripts
                <module>verifier/verifier-jdk-extension-bundle
                <module>osgi-javaee
                <module>ant-tasks
            </modules>
            <build>
                <plugins>
                    <!-- prints ${project.basedir} in build output -->
                    <plugin>
                        <groupId>org.glassfish.build
                        <artifactId>maven-glassfishbuild-plugin
                        <version>${project.version}
                        <executions>
                            <execution>
                                <id>echo
                                <phase>validate
                                <goals>
                                    <goal>echo
                                </goals>
                                <configuration>
                                    <messages>
                                        <message>Building in ${project.basedir} 
                                    </messages>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <!-- this profile is used during the development -->
            <id>IDE
            <modules>
                <!-- Every time you change module list, please change
                     the same under release profiles as well (below) -->
                <module>cluster
                <module>javaee-api
                <module>common
                <module>ha
                <module>deployment
                <module>admin
                <module>core
                <module>transaction
                <module>web
                <module>ejb
                <module>connectors
                <module>load-balancer 
                <module>jdbc
                <module>extras
                <module>distributions
                <module>security
                <module>registration
                <module>tests
                <module>osgi-platforms
                <module>flashlight
                <module>webservices
            </modules>
        </profile>        
        <profile>
            <!--
                The GlassFish build depends on maven-glassfishbuild-plugin as an extension,
                so it causes a chicken and egg problem during a release;
                Maven tries to resolve all extensions early on, but it fails
                because the maven-glassfishbuild-plugin is not built yet.

                So the work around is a release in two-phase. First we
                do "mvn release:prepare", which fails due to the problem described above.
                At this point the workspace is left with POM that has non-SNAPSHOT version.
                So now we run "mvn -P release-phase1" and builds the build module.
                This puts maven-glassfishbuild-plugin in local repo,
                so the retry of "mvn release:prepare" now works.
            -->
            <id>release-phase1
            <modules>
                <!-- To avoid JVM crash while using JDK 6, we are
                     building this module in this profile only.
                     See bug #6766662 for more details.
                -->
                <module>build
            </modules>
        </profile>

        <profile>
            <!--
                RE profile for release purposes.
            -->
            <id>release-phase2

            <build>
                <plugins>
                    <!-- The installer module requires the dependency of jdk tools.jar -->
                    <!-- to compile java classes in build.xml.  -->
                    <plugin>
                        <groupId>org.jvnet.maven-antrun-extended-plugin
                        <artifactId>maven-antrun-extended-plugin
                        <dependencies>
                            <dependency>
                                <groupId>sun.jdk
                                <artifactId>tools
                                <version>1.6
                                <scope>system
                                <systemPath>${java.home}/../lib/tools.jar
                            </dependency>
                        </dependencies>
                    </plugin>
                </plugins>
            </build>

            <modules>
                <module>cluster
                <module>javaee-api
                <module>common
                <module>ha
                <module>deployment
                <module>admin
                <module>core
                <module>transaction
                <module>web
                <module>ejb
                <module>connectors
                <module>load-balancer 
                <module>jms
                <module>jdbc
                <module>persistence
                <module>extras
                <module>admingui
                <module>extras/embedded/shell
                <module>packager
                <module>distributions
                <module>security
                <module>registration
                <module>tests
                <module>osgi-platforms
                <module>flashlight
                <module>webservices
                <module>orb
                <module>installer
                <module>sun-glassfish
                <module>sun-glassfish/packager
                <module>sun-glassfish/distributions
                <module>sun-glassfish/installer
                <module>javaee-sdk
                <module>appclient
                <module>verifier/verifier-impl
                <module>verifier/verifier-scripts
                <module>verifier/verifier-jdk-extension-bundle
                <module>extras/embedded/all
                <module>extras/embedded/web
                <module>extras/embedded/nucleus
                <module>osgi-javaee
		<module>ant-tasks
            </modules>
       </profile>

       <profile>
            <!--
                RE profile for release purposes.
            -->
            <id>release-phase-all
            <modules>
                <module>cluster
                <module>build
                <module>javaee-api
                <module>common
                <module>ha
                <module>deployment
                <module>admin
                <module>core
                <module>transaction
                <module>web
                <module>ejb
                <module>connectors
                <module>load-balancer 
                <module>jms
                <module>jdbc
                <module>persistence
                <module>extras
                <module>admingui
                <module>extras/embedded/shell
                <module>packager
                <module>distributions
                <module>security
                <module>registration
                <module>tests
                <module>osgi-platforms
                <module>flashlight
                <module>webservices
                <module>orb
                <module>installer
                <module>sun-glassfish
                <module>sun-glassfish/packager
                <module>sun-glassfish/distributions
                <module>sun-glassfish/installer
                <module>javaee-sdk
                <module>sun-glassfish/distributions/web-ri
                <module>sun-glassfish/distributions/glassfish-ri
                <module>appclient
                <module>verifier/verifier-impl
                <module>verifier/verifier-scripts
                <module>verifier/verifier-jdk-extension-bundle
                <module>extras/embedded/all
                <module>extras/embedded/web
                <module>extras/embedded/nucleus
                <module>osgi-javaee
                <module>ant-tasks
            </modules>
        </profile>
    </profiles>

    <build>
        <defaultGoal>install
        <sourceDirectory>src/main/java
        <!-- make the target/*.jar names match the name as found in  installed modules/ -->
        <finalName>${project.artifactId}

        <!--    Begin: Parent Plugin Management Section -->
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.sun.enterprise
                    <artifactId>hk2-maven-plugin
                    <version>${hk2.plugin.version}
                </plugin>

                <plugin>
                    <groupId>com.sun.enterprise
                    <artifactId>osgiversion-maven-plugin
                    <version>${hk2.plugin.version}
                </plugin>

                <plugin>
                    <groupId>com.sun.enterprise
                    <artifactId>consolidatedbundle-maven-plugin
                    <version>${hk2.plugin.version}
                </plugin>

                <plugin>
                    <groupId>org.jvnet.maven-antrun-extended-plugin
                    <artifactId>maven-antrun-extended-plugin
                    <version> 1.41 
                </plugin>

                 <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-antrun-plugin
                    <version> 1.1 
                </plugin>

                <plugin>
                    <groupId>org.apache.felix
                    <artifactId>maven-bundle-plugin
                    <version> 2.0.1 
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-compiler-plugin
                    <version> 2.0.2 
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-dependency-plugin
                    <version> 2.0 
                </plugin>

                <plugin>
                    <groupId>org.glassfish.build
                    <artifactId>maven-glassfishbuild-plugin
                    <version>${project.version}
                    <configuration>
                        <!-- configuration for the checkout mojo -->
                        <checkoutDirectory>.
                        <skipCheckoutIfExists>true
                        <!-- configuration for the run mojo -->
                        <distribution>
                            <groupId>org.glassfish.distributions
                            <artifactId>web
                            <version>${project.version}
                        </distribution>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-javadoc-plugin
                    <version> 2.2 
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-source-plugin
                    <version> 2.1 
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-clean-plugin
                    <version> 2.3 
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-surefire-plugin
                    <version> 2.4.3 
                    <configuration>
                      <forkMode>never
                    </configuration>
                </plugin>

                <!--
                     Get the latest version of release plugin.
                     There is a bug in 2.0-beta-7 where the releaseVersion
                     and developmentVersion properties are noop.
                -->
                <plugin>
                   <groupId>org.apache.maven.plugins
                    <artifactId>maven-release-plugin
                    <version>2.0-beta-9
                </plugin>
                
                <plugin>
                    <groupId>org.codehaus.mojo
                    <artifactId>antlr-maven-plugin
                    <version>2.1
                </plugin>

                <plugin>
                    <groupId>org.jvnet.updatecenter2
                    <artifactId>maven-makepkgs-plugin
                    <version>0.5.1
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-remote-resources-plugin
                    <version>1.1
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-resources-plugin
                    <version>2.4.3
                </plugin>

             </plugins>
        </pluginManagement>
        <!--    End: Parent Plugin Management Section    -->

        <plugins>

            <!-- Enforces maven 2.2.1 and jdk 1.6.0-04 and above to be used to build v3 -->
            <plugin>
                <groupId>org.apache.maven.plugins
                <artifactId>maven-enforcer-plugin
                <version>1.0-beta-1
                <executions>
                    <execution>
                    <id>enforce-versions
                    <goals>
                        <goal>enforce
                    </goals>
                    <configuration>
                        <rules>
                            <requireJavaVersion>
                                <version>[1.6.0-4,)
                                <message>You need JDK 1.6.0_04 and above!
                            </requireJavaVersion>
                            <requireMavenVersion>
                                <version>[2.2.1,)
                                <message>You need Maven 2.2.1 or above!
                            </requireMavenVersion>
                        </rules>
                        </configuration>
                    </execution>
                    </executions>
            </plugin>

            <!-- Configure maven-bundle-plugin to generate OSGi manifest.
                 Please note: we use the manifest goal only and not the bundle goal.
                  The bundle goal can lead to very surprising results if the
                  package names are not correctly specified. So,
                  we use the jar plugin to generate the jar.-->
            <plugin>
                <groupId>org.apache.felix
                <artifactId>maven-bundle-plugin
                <configuration>
                    <!-- By default, we don't export anything.
                    -->
                    <Export-Package />
                    <!-- Since, we are in a top level pom and
                         we we don't want it to be active for plain jar type artifacts,
                         enable the plugin for hk2-jar and bundle packaging type only,
                    -->
                    <supportedProjectTypes>
                        <supportedProjectType>hk2-jar
                        <supportedProjectType>bundle
                    </supportedProjectTypes>
                    <instructions>
                        <!-- Read all the configuration from osgi.bundle file, if it exists.
                             See Felix-699 to find out why we use ${basedir}.
                        -->
                        <_include>-${basedir}/osgi.bundle
                    </instructions>
                </configuration>
                <executions>
                    <execution>
                        <id>bundle-manifest
                        <phase>process-classes
                        <goals>
                            <goal>manifest
                        </goals>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins
                <artifactId>maven-source-plugin
                <!-- if project does not contain source, plugin will fail, so add pom.xml.  -->
                <!-- See:  http://jira.codehaus.org/browse/MSOURCES-44.  -->
                <configuration>
                    <includePom>true
                </configuration>
                <executions>
                    <execution>
                       <id>attach-sources
                       <phase>verify
                       <goals>
                           <goal>jar-no-fork 
                       </goals>
                    </execution>
                </executions>
          </plugin>

            <plugin>
                <artifactId>maven-surefire-plugin
                <configuration>
                    <forkMode>none
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.sun.enterprise
                <artifactId>hk2-maven-plugin
                <extensions>true
                <configuration>
                    <archive>
                        <!-- Use the manifest.mf produced by maven-bundle-plugin:manifest -->
                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.sun.enterprise
                <artifactId>osgiversion-maven-plugin
                <executions>
                    <!-- Since we don't want qualifier like b05 or SNAPSHOT to appear
                         in package version attribute, we use the following goal to
                         populate a project property with an OSGi version which is
                         equivalent to maven version without qualifier and then use that
                         property in osgi.bundle while exporting. -->
                    <execution>
                        <id>compute-osgi-version
                        <goals>
                            <goal>compute-osgi-version
                        </goals>
                        <configuration>
                            <dropVersionComponent>qualifier
                            <versionPropertyName>project.osgi.version
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <!--
                Require the maven archiver release 2.4 which has enhancements needed in
                appclient/client/acc-standalone.  For consistency, use the
                same release throughout the build.
            -->
            <plugin>
                <groupId>org.apache.maven.plugins
                <artifactId>maven-jar-plugin
                <dependencies>
                    <dependency>
                        <groupId>org.apache.maven
                        <artifactId>maven-archiver
                        <version>2.4
                   </dependency>
                </dependencies>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo
                <artifactId>findbugs-maven-plugin
                <version>2.0.1
                <configuration>
                    <threshold>High
                    <excludeFilterFile>${findbugs.exclude}
                    <findbugsXmlOutput>true
                    <findbugsXmlWithMessages>true
                </configuration>
            </plugin>
        </plugins>
    </build>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo
                <artifactId>findbugs-maven-plugin
                <version>2.0.1
                <configuration>
                    <threshold>High
                    <excludeFilterFile>${findbugs.exclude}
                </configuration>
            </plugin>
        </plugins>
    </reporting>

    <!--  Begin: Dependency management -->
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.sun.enterprise
                <artifactId>hk2
                <version>${hk2.version}
            </dependency>

            <dependency>
                <groupId>com.sun.enterprise
                <artifactId>hk2-core
                <version>${hk2.version}
            </dependency>

            <dependency>
                <groupId>com.sun.enterprise
                <artifactId>hk2-maven
                <version>${hk2.version}
            </dependency>

            <dependency>
                <groupId>com.sun.enterprise
                <artifactId>osgi-adapter
                <version>${hk2.version}
            </dependency>

            <dependency>
                <groupId>com.sun.enterprise
                <artifactId>osgi-main
                <version>${hk2.version}
            </dependency>

            <dependency>
                <groupId>com.sun.enterprise
                <artifactId>stax-osgi
                <version>${hk2.version}
            </dependency>

            <dependency>
                <groupId>com.sun.enterprise
                <artifactId>auto-depends
                <version>${hk2.version}
            </dependency>

            <dependency>
                <groupId>com.sun.enterprise
                <artifactId>config-types
                <version>${hk2.version}
            </dependency>

            <dependency>
                <groupId>com.sun.faces
                <artifactId>jsf-api
                <version>${jsf-api.version}
            </dependency>

            <dependency>
                <groupId>com.sun.grizzly
                <artifactId>grizzly-utils
                <version>${grizzly.version}
            </dependency>

            <dependency>
                <groupId>com.sun.grizzly
                <artifactId>grizzly-framework
                <version>${grizzly.version}
            </dependency>

            <dependency>
                <groupId>com.sun.grizzly
                <artifactId>grizzly-portunif
                <version>${grizzly.version}
            </dependency>

            <dependency>
                <groupId>com.sun.grizzly
                <artifactId>grizzly-http
                <version>${grizzly.version}
            </dependency>

            <dependency>
                <groupId>com.sun.grizzly
                <artifactId>grizzly-rcm
                <version>${grizzly.version}
            </dependency>

            <dependency>
                <groupId>com.sun.grizzly
                <artifactId>grizzly-compat
                <version>${grizzly.version}
            </dependency>

            <dependency>
                <groupId>com.sun.grizzly
                <artifactId>grizzly-comet
                <version>${grizzly.version}
            </dependency>

            <dependency>
                <groupId>com.sun.grizzly
                <artifactId>grizzly-websockets
                <version>${grizzly.version}
            </dependency>

            <dependency>
                <groupId>com.sun.grizzly
                <artifactId>grizzly-messagesbus
                <version>${grizzly.version}
            </dependency>

            <dependency>
                <groupId>com.sun.grizzly
                <artifactId>grizzly-config
                <version>${grizzly.version}
            </dependency>

            <dependency>
                <groupId>org.netbeans.modules
                <artifactId>org-netbeans-modules-dbschema
                <version>${dbschema.version}
            </dependency>

            <dependency>
                <groupId>org.netbeans.api
                <artifactId>org-netbeans-modules-schema2beans
                <version>${schema2beans.version}
            </dependency>

            <dependency>
                <groupId>org.eclipse.persistence
                <artifactId>javax.persistence
                <version>${javax-persistence-api.version}
            </dependency>

            <dependency>
                <groupId>org.eclipse.persistence
                <artifactId>org.eclipse.persistence.core
                <version>${eclipselink.version}
            </dependency>

            <dependency>
                <groupId>org.eclipse.persistence
                <artifactId>org.eclipse.persistence.jpa
                <version>${eclipselink.version}
            </dependency>

            <dependency>
                <groupId>org.eclipse.persistence
                <artifactId>org.eclipse.persistence.oracle
                <version>${eclipselink.version}
            </dependency>

            <dependency>
                <groupId>org.eclipse.persistence
                <artifactId>org.eclipse.persistence.antlr
                <version>${eclipselink.version}
            </dependency>

            <dependency>
                <groupId>org.eclipse.persistence
                <artifactId>org.eclipse.persistence.asm
                <version>${eclipselink.version}
            </dependency>

            <dependency>
                <groupId>antlr
                <artifactId>antlr
                <version>${antlr.version}
            </dependency>

            <dependency>
                <groupId>com.ctc.wstx
                <artifactId>woodstox-osgi
                <version>${woodstox.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.metro
                <artifactId>webservices-osgi
                <version>${webservices.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.metro
                <artifactId>webservices-extra-jdk-packages
                <version>${webservices.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.metro
                <artifactId>webservices-api-osgi
                <version>${webservices.version}
            </dependency>
            <dependency>
                <groupId>javax.xml
                <artifactId>jaxrpc-api-osgi
                <version>${jaxrpc.api.version}
            </dependency>
            <dependency>
                <groupId>com.sun.xml.bind
                <artifactId>jaxb-osgi
                <version>${jaxb.version}
            </dependency>
            <dependency>
                <groupId>javax.xml.bind
                <artifactId>jaxb-api-osgi
                <version>${jaxb-api.version}
            </dependency>
            <dependency>
                <groupId>com.sun.grizzly
                <artifactId>grizzly-http-servlet
                <version>${grizzly.version}
            </dependency>
            <dependency>
                <groupId>javax.jbi
                <artifactId>jbi
                <version>${jbi.version}
            </dependency>
            <dependency>
                <groupId>wsdl4j
                <artifactId>wsdl4j
                <version>${wsdl4j.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.external
                <artifactId>management-api
                <version>${glassfish-management-api.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.gmbal
                <artifactId>gmbal
                <version>${gmbal.version}
            </dependency>
            <dependency>
                <groupId>org.jboss.weld
                <artifactId>weld-osgi-bundle
                <version>${weld.version}
            </dependency>
            <dependency>
                <groupId>com.sun.faces
                <artifactId>jsf-impl
                <version>${jsf-impl.version}
            </dependency>
            <dependency>
                <groupId>org.osgi
                <artifactId>org.osgi.compendium
                <version>4.2.0
                <!-- This jar should never be part of runtime. -->
                <scope>provided
            </dependency>
            <dependency>
                <groupId>org.osgi
                <artifactId>org.osgi.core
                <version>4.2.0
                <!-- This jar should never be part of runtime. -->
                <scope>provided
            </dependency>
            <dependency>
                <groupId>org.osgi
                <artifactId>org.osgi.enterprise
                <version>4.2.0
                <!-- This jar should never be part of runtime. -->
                <scope>provided
            </dependency>
            <dependency>
                <groupId>org.apache.felix
                <artifactId>org.apache.felix.main
                <version>1.0.3
            </dependency>
            <dependency>
                <groupId>org.apache.felix
                <artifactId>org.apache.felix.webconsole
                <version>3.1.2
            </dependency>
            <dependency>
                <groupId>org.apache.felix
                <artifactId>org.apache.felix.eventadmin
                <version>1.2.8
            </dependency>

            <dependency>
                <groupId>com.sun.pkg
                <artifactId>pkg-client
                <version>${uc-pkg-client.version}
            </dependency>
            <dependency>
                <groupId>com.sun.pkg
                <artifactId>pkg-bootstrap
                <version>${uc-pkg-bootstrap.version}
            </dependency>
            
            <dependency>
                <groupId>org.glassfish.web
                <artifactId>jsp-impl
                <version>${jsp-impl.version}
            </dependency>

            <dependency>
                <groupId>org.glassfish.web
                <artifactId>el-impl
                <version>${el-impl.version}
            </dependency>

            <dependency>
                <groupId>com.sun.jersey
                <artifactId>jersey-server
                <version>${jersey.version}
            </dependency>
            <dependency>
                <groupId>com.sun.jersey
                <artifactId>jersey-client
                <version>${jersey.version}
            </dependency>
            <dependency>
                <groupId>com.sun.jersey
                <artifactId>jersey-json
                <version>${jersey.version}
            </dependency>

            <dependency>
                <groupId>com.sun.faces.extensions
                <artifactId>jsf-extensions-dynamic-faces
                <version>${jsf-ext.version}
                <classifier>jsftemplating
            </dependency>
            <dependency>
                <groupId>com.sun.faces.extensions
                <artifactId>jsf-extensions-common
                <version>${jsf-ext.version}
            </dependency>
            <dependency>
                <groupId>com.sun.woodstock
                <artifactId>webui-jsf
                <version>${woodstock.version}
            </dependency>
            <dependency>
                <groupId>com.sun.woodstock
                <artifactId>webui-jsf-suntheme
                <version>${woodstock.version}
            </dependency>
            
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-common-help
                <version>${v3-docs.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-cluster-plugin-help
                <version>${v3-docs.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-corba-plugin-help
                <version>${v3-docs.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-ejb-lite-plugin-help
                <version>${v3-docs.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-ejb-plugin-help
                <version>${v3-docs.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-jca-plugin-help
                <version>${v3-docs.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-jdbc-plugin-help
                <version>${v3-docs.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-common-full-plugin-help
                <version>${v3-docs.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-jms-plugin-help
                <version>${v3-docs.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-jruby-plugin-help
                <version>${v3-docs.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-jts-plugin-help
                <version>${v3-docs.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.admingui
                <artifactId>console-web-plugin-help
                <version>${v3-docs.version}
            </dependency>

            <dependency>
                <groupId>com.sun.jsftemplating
                <artifactId>jsftemplating
                <version>${jsftemplating.version}
            </dependency>
            <dependency>
                <groupId>com.sun.jsftemplating
                <artifactId>jsftemplating-dt
                <version>${jsftemplating.version}
            </dependency>

            <dependency>
                <groupId>com.sun.woodstock.dependlibs
                <artifactId>json
                <version>1.0
            </dependency>
            <dependency>
                <groupId>com.sun.woodstock.dependlibs
                <artifactId>dojo-ajax-nodemo
                <version>0.4.1
            </dependency>
            <dependency>
                <groupId>com.sun.woodstock.dependlibs
                <artifactId>prototype
                <version>1.5.0
            </dependency>
            <dependency>
                <groupId>com.sun.woodstock.dependlibs
                <artifactId>dataprovider
                <version>1.0
            </dependency>
            <dependency>
                <groupId>commons-fileupload
                <artifactId>commons-fileupload
                <version>1.1.1
            </dependency>

            <dependency>
                <groupId>com.sun.messaging.mq
                <artifactId>imqjmx
                <version>4.3
            </dependency>

            <dependency>
                <groupId>org.jvnet
                <artifactId>mimepull
                <version>${mimepull.version}
            </dependency>
            <dependency>
                <groupId>com.sun.jersey.contribs
                <artifactId>jersey-multipart
                <version>${jersey.version}
            </dependency>

            <dependency>
                <groupId>javax.help
                <artifactId>javahelp
                <version>2.0.02
            </dependency>

            <dependency>
                <groupId>com.sun.tools.btrace
                <artifactId>btrace-agent
                <version>${btrace.version}
            </dependency>

            <dependency>
                <groupId>com.sun.tools.btrace
                <artifactId>btrace-boot
                <version>${btrace.version}
            </dependency>

            <dependency>
                <groupId>org.glassfish.external
                <artifactId>opendmk_jmxremote_optional_jar
                <version>${opendmk.version}
            </dependency>

            <dependency>
                <groupId>com.sun.corba
                <artifactId>glassfish-corba-orb
                <version>${glassfish-corba.version}
            </dependency>
            <dependency>
                <groupId>com.sun.corba
                <artifactId>glassfish-corba-orbgeneric
                <version>${glassfish-corba.version}
            </dependency>
            <dependency>
                <groupId>com.sun.corba
                <artifactId>glassfish-corba-omgapi
                <version>${glassfish-corba.version}
            </dependency>
            <dependency>
                <groupId>com.sun.corba
                <artifactId>glassfish-corba-internal-api
                <version>${glassfish-corba.version}
            </dependency>
            <dependency>
                <groupId>com.sun.corba
                <artifactId>glassfish-corba-codegen
                <version>${glassfish-corba.version}
            </dependency>
            <dependency>
                <groupId>com.sun.corba
                <artifactId>glassfish-corba-asm
                <version>${glassfish-corba.version}
            </dependency>
            <dependency>
                <groupId>com.sun.corba
                <artifactId>glassfish-corba-csiv2-idl
                <version>${glassfish-corba.version}
            </dependency>
            <dependency>
                <groupId>com.sun.corba
                <artifactId>glassfish-corba-newtimer
                <version>${glassfish-corba.version}
            </dependency>

            <dependency>
                <groupId>org.kohsuke.metainf-services
                <artifactId>metainf-services
                <version>1.1
            </dependency>
            <dependency>
                <groupId>javax.xml.stream
                <artifactId>stax-api
                <version>${stax-api.version}
            </dependency>
            <dependency>
                <groupId>com.sun.xml.stream
                <artifactId>sjsxp
                <version>1.0
            </dependency>
            <dependency>
                <groupId>junit
                <artifactId>junit
                <version>4.3.1
            </dependency>
            <dependency>
                <groupId>com.sun.mail
                <artifactId>javax.mail
                <version>${mail.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish
                <artifactId>mq-distribution
                <version>${mq.version}
            </dependency>
            <dependency>
                <groupId>org.apache.maven
                <artifactId>maven-core
                <version>2.0.7
            </dependency>
            <dependency>
                <groupId>commons-io
                <artifactId>commons-io
                <version>1.3.1
            </dependency>
            <dependency>
                <groupId>org.apache.maven
                <artifactId>maven-plugin-api
                <version>2.0
            </dependency>
            <dependency>
                <groupId>org.apache.maven.scm
                <artifactId>maven-scm-api
                <version>1.0-beta-3
            </dependency>
            <dependency>
                <groupId>org.apache.maven.plugins
                <artifactId>maven-scm-plugin
                <version>1.0-beta-3
            </dependency>
            <dependency>
                <groupId>org.apache.maven
                <artifactId>maven-project
                <version>2.0
            </dependency>
            <dependency>
                <groupId>org.apache.maven
                <artifactId>maven-archiver
                <version>2.0
            </dependency>
            <dependency>
                <groupId>org.apache.ant
                <artifactId>ant
                <version>1.7.0
            </dependency>
            <dependency>
                <groupId>org.apache.ant
                <artifactId>ant-launcher
                <version>1.7.0
            </dependency>
            <dependency>
                <groupId>javax.jms
                <artifactId>jms-api
                <version>${jms-api.version}
            </dependency>
            <dependency>
                <groupId>javax.jws
                <artifactId>jsr181-api
                <version>${jsr181-api.version}
            </dependency>
            <dependency>
                <groupId>javax.servlet.jsp
                <artifactId>jsp-api
                <version>${jsp-api.version}
            </dependency>
            <dependency>
                <groupId>javax.el
                <artifactId>el-api
                <version>${el-api.version}
            </dependency>
            <dependency>
                <groupId>javax.servlet.jsp.jstl
                <artifactId>jstl-api
                <version>${jstl-api.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.web
                <artifactId>jstl-impl
                <version>${jstl-impl.version}
            </dependency>
            <dependency>
                <groupId>javax.xml
                <artifactId>jaxrpc-api
                <version>${jaxrpc-api.version}
            </dependency>
            <dependency>
                <groupId>javax.xml.soap
                <artifactId>saaj-api
                <version>${saaj-api.version}
            </dependency>

            <dependency>
                <groupId>org.glassfish
                <artifactId>genericra
                <version>2.0-20081121
            </dependency>
            <dependency>
                <groupId>com.sun
                <artifactId>ldapbp
                <version>1.0
            </dependency>
            <dependency>
                <groupId>asm
                <artifactId>asm-commons
                <version>${asm.version}
            </dependency>
	    <dependency>
                <groupId>org.jvnet.hudson
                <artifactId>trilead-ssh2
                <version>${trilead-ssh2.version}
	    </dependency>
            <dependency>
                <groupId>org.shoal
                <artifactId>shoal-gms-api
                <version>${shoal.version}
            </dependency>
            <dependency>
                <groupId>org.shoal
                <artifactId>shoal-gms-impl
                <version>${shoal.version}
            </dependency>
            <dependency>
                <groupId>org.shoal
                <artifactId>shoal-cache
                <version>${shoal.version}
            </dependency>
            <dependency>
                <groupId>org.glassfish.hk2
                <artifactId>osgi-resource-locator
                <version>1.0.1
            </dependency>
            <dependency>
                <groupId>org.glassfish.ha
                <artifactId>ha-api
                <version>${ha-api.version}
            </dependency>

        </dependencies>
    </dependencyManagement>
    <!--  End:   Dependency management -->

    <dependencies>
        <dependency>
            <groupId>junit
            <artifactId>junit
            <version>4.3.1
            <scope>test
            <optional>true
      </dependency>
    </dependencies>
</project>

Other Glassfish examples (source code examples)

Here is a short list of links related to this Glassfish pom.xml source code file:

new blog posts

 

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.