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

Groovy example source code file (pom.xml)

This example Groovy 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 - Groovy tags/keywords

a, ant, ant, central, dillon, emeritus, emeritus, groovy, list, list, note, repository, used, used

The Groovy pom.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<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
    
    <groupId>org.codehaus.groovy
    <artifactId>groovy
    <name>Groovy
    <packaging>jar
    
    <version>1.8.1

    <description>
        Groovy: A powerful, dynamic language for the JVM
    </description>

    <url>http://groovy.codehaus.org/

    <organization>
        <name>The Codehaus
        <url>http://codehaus.org
    </organization>

    <inceptionYear>2003

    <scm>
        <connection>scm:svn:http://svn.groovy.codehaus.org/browse/groovy/trunk/groovy/groovy-core
        <developerConnection>scm:svn:https://${maven.username}@svn.groovy.codehaus.org/browse/groovy/trunk/groovy/groovy-core
        <url>http://svn.groovy.codehaus.org/browse/groovy/trunk/groovy/groovy-core
    </scm>

    <mailingLists>
        <mailingList>
            <name>Groovy JSR Discussion List
            <archive>http://dir.gmane.org/gmane.comp.lang.groovy.jsr
        </mailingList>
        <mailingList>
            <name>Groovy Developer List
            <archive>http://dir.gmane.org/gmane.comp.lang.groovy.devel
        </mailingList>
        <mailingList>
            <name>Groovy User List
            <archive>http://dir.gmane.org/gmane.comp.lang.groovy.user
        </mailingList>
    </mailingLists>

    <distributionManagement>
        <repository>
            <id>codehaus.org
            <name>Groovy Central Repository
            <url>dav:https://dav.codehaus.org/repository/groovy/
        </repository>
        <snapshotRepository>
            <id>codehaus.org
            <name>Groovy Central Development Repository
            <url>dav:https://dav.codehaus.org/snapshots.repository/groovy/
            <uniqueVersion>false
        </snapshotRepository>
        <!-- not currently used -->
        <site>
            <id>codehaus.org
            <name>Groovy Web Site
            <url>dav:https://dav.codehaus.org/groovy
        </site>
    </distributionManagement>

    <developers>
        <developer>
            <name>Guillaume Laforge
            <id>glaforge
            <email>
            <organization>SpringSource
            <roles>
                <role>Project Manager
                <role>Despot
                <role>Developer
            </roles>
        </developer>
        <developer>
            <name>Jochen Theodorou
            <id>blackdrag
            <email>blackdrag@gmx.org
            <organization>SpringSource
            <roles>
                <role>Developer
                <role>Despot
            </roles>
        </developer>
        <developer>
            <name>Paul King
            <id>paulk
            <email>paulk@asert.com.au
            <organization>ASERT, Australia
            <roles>
                <role>Developer
                <role>Despot
            </roles>
        </developer>
        <developer>
            <name>Roshan Dawrani
            <id>roshandawrani
            <email>
            <organization>
            <roles>
                <role>Developer
                <role>Despot
            </roles>
        </developer>
        <developer>
            <name>bob mcwhirter
            <id>bob
            <email>bob@werken.com
            <organization>The Werken Company
            <roles>
                <role>Founder
            </roles>
        </developer>
        <developer>
            <name>James Strachan
            <id>jstrachan
            <email>james@coredevelopers.com
            <organization>Core Developers Network
            <roles>
                <role>Founder
            </roles>
        </developer>
        <developer>
            <name>Joe Walnes
            <id>joe
            <email>
            <organization>ThoughtWorks
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Chris Stevenson
            <id>skizz
            <email>
            <organization>ThoughtWorks
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Jamie McCrindle
            <id>jamiemc
            <email>
            <organization>Three
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Matt Foemmel
            <id>mattf
            <email>
            <organization>ThoughtWorks
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Sam Pullara
            <id>spullara
            <email>sam@sampullara.com
            <organization>
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Kasper Nielsen
            <id>kasper
            <email>
            <organization>
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Travis Kay
            <id>travis
            <email>
            <organization>
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Zohar Melamed
            <id>zohar
            <email>
            <organization>
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>John Wilson
            <id>jwilson
            <email>tug@wilson.co.uk
            <organization>The Wilson Partnership
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Chris Poirier
            <id>cpoirier
            <email>cpoirier@dreaming.org
            <organization>
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Christiaan ten Klooster
            <id>ckl
            <email>ckl@dacelo.nl
            <organization>Dacelo WebDevelopment
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Steve Goetze
            <id>goetze
            <email>goetze@dovetail.com
            <organization>Dovetailed Technologies, LLC
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Bing Ran
            <id>bran
            <email>b55r@sina.com
            <organization>Leadingcare
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Jeremy Rayner
            <id>jez
            <email>jeremy.rayner@gmail.com
            <organization>javanicus
            <roles>
                <role>Developer
            </roles>
        </developer>
        <developer>
            <name>John Stump
            <id>jstump
            <email>johnstump2@yahoo.com
            <organization>
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Russel Winder
            <id>russel
            <email>russel@russel.org.uk
            <organization>Concertant LLP & It'z Interactive Ltd
            <roles>
                <role>Developer
                <role>Founder of Gant
            </roles>
        </developer>
        <developer>
            <name>Pilho Kim
            <id>phk
            <email>phkim@cluecom.co.kr
            <organization>
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Christian Stein
            <id>cstein
            <email>sormuras@gmx.de
            <organization>CTSR.de
            <roles>
                <role>Developer Emeritus
            </roles>
        </developer>
        <developer>
            <name>Dierk Koenig
            <id>mittie
            <email>dierk.koenig@canoo.com
            <organization>Canoo Engineering AG
            <roles>
                <role>Developer
            </roles>
        </developer>
        <developer>
            <name>Guillaume Alleon
            <id>galleon
            <email>guillaume.alleon@gmail.com
            <organization>
            <roles>
                <role>Developer
            </roles>
        </developer>
        <developer>
            <name>Jason Dillon
            <id>user57
            <email>jason@planet57.com
            <organization>
            <roles>
                <role>Developer
            </roles>
        </developer>
        <developer>
            <name>Danno Ferrin
            <id>shemnon
            <email>
            <organization>
            <roles>
                <role>Developer
            </roles>
        </developer>
        <developer>
            <name>James Williams
            <id>jwill
            <email>
            <organization>
            <roles>
                <role>Developer
            </roles>
        </developer>
        <developer>
            <name>Andres Almiray
            <id>aalmiray
            <email>aalmiray@users.sourceforge.net
            <organization>
            <roles>
                <role>Developer
            </roles>
        </developer>
        <developer>
            <name>Marc Guillemot
            <id>mguillem
            <email>mguillemot@yahoo.fr
            <organization>
            <roles>
                <role>Developer
            </roles>
        </developer>
        <developer>
            <name>Jim White
            <id>jimwhite
            <email>jim@pagesmiths.com
            <organization>IFCX.org
            <roles>
                <role>Developer
            </roles>
        </developer>
        <developer>
            <name>Peter Niederwieser
            <id>pniederw
            <email>pniederw@gmail.com
            <organization>
            <roles>
                <role>Developer
            </roles>
        </developer>
        <developer>
            <name>Hamlet D'Arcy
            <id>hamletdrc
            <email>hamletdrc@gmail.com
            <organization>
            <roles>
                <role>Developer
            </roles>
        </developer>
    </developers>

    <contributors>
        <contributor>
            <name>Joern Eyrich
            <email>
        </contributor>
        <contributor>
            <name>Robert Kuzelj
            <email>
        </contributor>
        <contributor>
            <name>Rod Cope
            <email>
        </contributor>
        <contributor>
            <name>Yuri Schimke
            <email>
        </contributor>
        <contributor>
            <name>James Birchfield
            <email>
        </contributor>
        <contributor>
            <name>Robert Fuller
            <email>
        </contributor>
        <contributor>
            <name>Sergey Udovenko
            <email>
        </contributor>
        <contributor>
            <name>Hallvard Traetteberg
            <email>
        </contributor>
        <contributor>
            <name>Peter Reilly
            <email>
        </contributor>
        <contributor>
            <name>Brian McCallister
            <email>
        </contributor>
        <contributor>
            <name>Richard Monson-Haefel
            <email>
        </contributor>
        <contributor>
            <name>Brian Larson
            <email>
        </contributor>
        <contributor>
            <name>Artur Biesiadowski
            <email>abies@pg.gda.pl
        </contributor>
        <contributor>
            <name>Ivan Z. Ganza
            <email>
        </contributor>
        <contributor>
            <name>Arjun Nayyar
            <email>
        </contributor>
        <contributor>
            <name>Mark Chu-Carroll
            <email>
        </contributor>
        <contributor>
            <name>Mark Turansky
            <email>
        </contributor>
        <contributor>
            <name>Jean-Louis Berliet
            <email>
        </contributor>
        <contributor>
            <name>Graham Miller
            <email>
        </contributor>
        <contributor>
            <name>Marc Palmer
            <email>
        </contributor>
        <contributor>
            <name>Tugdual Grall
            <email>
        </contributor>
        <contributor>
            <name>Edwin Tellman
            <email>
        </contributor>
        <contributor>
            <name>Evan A Slatis
            <email>
        </contributor>
        <contributor>
            <name>Mike Dillon
            <email>
        </contributor>
        <contributor>
            <name>Bernhard Huber
            <email>
        </contributor>
        <contributor>
            <name>Marc DeXeT
            <email>
        </contributor>
        <contributor>
            <name>Dejan Bosanac
            <email>dejan@nighttale.net
        </contributor>
        <contributor>
            <name>Denver Dino
            <email>
        </contributor>
        <contributor>
            <name>Ted Naleid
            <email>
        </contributor>
        <contributor>
            <name>Chanwit Kaewkasi
            <email>
        </contributor>
        <contributor>
            <name>Brad Long
            <email>
        </contributor>
        <contributor>
            <name>John Bito
            <email>
        </contributor>
        <contributor>
            <name>Jim Jagielski
            <email>
        </contributor>
        <contributor>
            <name>John Hurst
            <email>
        </contributor>
        <contributor>
            <name>Merlyn Albery-Speyer
            <email>
        </contributor>
        <contributor>
            <name>jeremi Joslin
            <email>
        </contributor>
        <contributor>
            <name>UEHARA Junji
            <email>
        </contributor>
        <contributor>
            <name>NAKANO Yasuharu
            <email>
        </contributor>
        <contributor>
            <name>Dinko Srkoc
            <email>
        </contributor>
        <contributor>
            <name>Raffaele Cigni
            <email>
        </contributor>
        <contributor>
            <name>Alberto Vilches Raton
            <email>
        </contributor>
        <contributor>
            <name>Paulo Poiati
            <email>
        </contributor>
        <contributor>
            <name>Alexander Klein
            <email>
        </contributor>
        <contributor>
            <name>Adam Murdoch
            <email>
        </contributor>
        <contributor>
            <name>C├ędric Champeau
            <email>
        </contributor>
        <contributor>
            <name>David Durham
            <email>
        </contributor>
        <contributor>
            <name>Daniel Henrique Alves Lima
            <email>
        </contributor>
    </contributors>

    <dependencies>

        <!-- core dependencies -->
        <dependency>
            <groupId>antlr
            <artifactId>antlr
            <version>2.7.7
            <scope>compile
        </dependency>
        <dependency>
            <groupId>asm
            <artifactId>asm
            <version>3.2
            <scope>compile
        </dependency>
        <dependency>
            <groupId>junit
            <artifactId>junit
            <version>4.8.2
            <scope>compile
            <optional>true
        </dependency>

        <!-- dependencies used by optional features -->

        <!-- only used for command line tools (and CliBuilder) -->
        <dependency>
            <groupId>commons-cli
            <artifactId>commons-cli
            <version>1.2
            <scope>compile
            <optional>true
        </dependency>

        <!-- only used for Ant tasks & scripting tools -->
        <dependency>
            <groupId>org.apache.ant
            <artifactId>ant
            <version>1.8.2
            <scope>compile
            <optional>true
        </dependency>
        <dependency>
            <groupId>org.apache.ant
            <artifactId>ant-junit
            <version>1.8.2
            <scope>runtime
            <optional>true
        </dependency>
        <dependency>
            <groupId>org.apache.ant
            <artifactId>ant-launcher
            <version>1.8.2
            <scope>runtime
            <optional>true
        </dependency>
        <dependency>
            <groupId>org.apache.ant
            <artifactId>ant-antlr
            <version>1.8.2
            <scope>runtime
            <optional>true
        </dependency>

        <!-- only used for testing helper classes -->
        <dependency>
            <groupId>jmock
            <artifactId>jmock
            <version>1.2.0
            <scope>test
        </dependency>
        <dependency>
            <groupId>jmock
            <artifactId>jmock-cglib
            <version>1.2.0
            <scope>test
        </dependency>
        <!-- used for the stub generator tests -->
        <!-- also used for JavaDoc generator tests: consider keeping both versions in sync -->
        <dependency>
            <groupId>com.thoughtworks.qdox
            <artifactId>qdox
            <version>1.12
            <scope>test
        </dependency>

        <dependency>
            <groupId>asm
            <artifactId>asm-commons
            <version>3.2
            <scope>compile
        </dependency>
        <dependency>
            <groupId>asm
            <artifactId>asm-util
            <version>3.2
            <scope>compile
        </dependency>
        <dependency>
            <groupId>asm
            <artifactId>asm-analysis
            <version>3.2
            <scope>compile
        </dependency>
        <dependency>
            <groupId>asm
            <artifactId>asm-tree
            <version>3.2
            <scope>compile
        </dependency>

        <!-- only used for BSF adapter-->

        <dependency>
            <groupId>bsf
            <artifactId>bsf
            <version>2.4.0
            <scope>compile
            <optional>true
            <exclusions>
                <exclusion>
                    <groupId>commons-logging
                    <artifactId>commons-logging
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>commons-logging
            <artifactId>commons-logging
            <version>1.1.1
            <scope>runtime
            <optional>true
            <exclusions>
                <exclusion>
                    <groupId>log4j
                    <artifactId>log4j
                </exclusion>
                <exclusion>
                    <groupId>logkit
                    <artifactId>logkit
                </exclusion>
                <exclusion>
                    <groupId>avalon-framework
                    <artifactId>avalon-framework
                </exclusion>
            </exclusions>
        </dependency>

        <!-- for scripting when on Java 5 -->
        <dependency>
            <groupId>org.livetribe
            <artifactId>livetribe-jsr223
            <version>2.0.6
            <scope>provided
            <optional>true
        </dependency>

        <dependency>
            <groupId>xmlunit
            <artifactId>xmlunit
            <version>1.3
            <scope>test
        </dependency>

        <!-- used for SQL library -->
        <dependency>
            <groupId>hsqldb
            <artifactId>hsqldb
            <version>1.8.0.10
            <scope>test
        </dependency>

        <!-- used for servlet / gsp -->
        <dependency>
            <groupId>javax.servlet
            <artifactId>servlet-api
            <version>2.4
            <scope>compile
            <optional>true
        </dependency>
        <dependency>
            <groupId>javax.servlet
            <artifactId>jsp-api
            <version>2.0
            <scope>compile
            <optional>true
        </dependency>

        <!-- used to dump out the AST, xpp only needed for reading -->
        <dependency>
            <groupId>com.thoughtworks.xstream
            <artifactId>xstream
            <version>1.3.1
            <scope>compile
            <optional>true
            <exclusions>
                <exclusion>
                    <groupId>xpp3
                    <artifactId>xpp3_min
                </exclusion>
            </exclusions>
        </dependency>

        <!-- Adding GPars in the Groovy distribution lib folder -->
        <dependency>
            <groupId>org.codehaus.gpars
            <artifactId>gpars
            <version>0.11
            <scope>runtime
            <optional>true
        </dependency>
        <dependency>
            <groupId>org.coconut.forkjoin
            <artifactId>jsr166y
            <version>070108
            <scope>runtime
            <optional>true
        </dependency>

        <!-- Used for richer interactive groovysh support -->
        <dependency>
            <groupId>jline
            <artifactId>jline
            <version>0.9.94
            <scope>compile
            <optional>true
            <exclusions>
                <exclusion>
                    <groupId>junit
                    <artifactId>junit
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>org.fusesource.jansi
            <artifactId>jansi
            <version>1.6
            <scope>compile
            <optional>true
        </dependency>

        <!-- Used for @Grab and Grapes-->
        <dependency>
            <groupId>org.apache.ivy
            <artifactId>ivy
            <version>2.2.0
            <scope>compile
            <optional>true
            <exclusions>
                <exclusion>
                    <groupId>*
                    <artifactId>*
                </exclusion>
            </exclusions>
        </dependency>
        
        <!-- Used for testing @Log annotations -->
        <dependency>
            <groupId>ch.qos.logback
            <artifactId>logback-classic
            <version>0.9.21
            <scope>test
        </dependency>
        <dependency>
            <groupId>log4j
            <artifactId>log4j
            <version>1.2.16
            <scope>test
        </dependency>
        <dependency>
            <groupId>org.slf4j
            <artifactId>jcl-over-slf4j
            <version>1.6.0
            <scope>test
        </dependency>

        <!-- Used for testing the GroovyDoc Ant task -->
        <dependency>
            <groupId>org.apache.ant
            <artifactId>ant-testutil
            <version>1.8.2
            <scope>test
        </dependency>
<!--
        <dependency>
            <groupId>commons-logging
            <artifactId>commons-logging
            <version>1.1.1
            <scope>test
        </dependency>
-->
    </dependencies>
    
    <!--
    NOTE: The following build configuration is primarily intended to support
          generate of IDE configuration files.  Basic support to build is also
          included by invoking 'ant' to do the real work.
    -->
    
    <build>
        <sourceDirectory>src/main
        <testSourceDirectory>src/test
        
        <defaultGoal>install
        
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-antrun-plugin
                    <version>1.1
                </plugin>
                
                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-idea-plugin
                    <version>2.1
                    <configuration>
                        <jdkName>1.4
                        <jdkLevel>1.4
                        <linkModules>true
                    </configuration>
                </plugin>
                
                <!--
                NOTE: Tell the compiler and surefire to not do anything, all handled by Ant.
                -->
                
                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-compiler-plugin
                    <version>2.0.2
                    <configuration>
                        <excludes>
                            <exclude>**
                        </excludes>
                        <skip>true
                    </configuration>
                </plugin>
                
                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-surefire-plugin
                    <version>2.3
                    <configuration>
                        <skip>true
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
        
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins
                <artifactId>maven-antrun-plugin
                <executions>
                    <execution>
                        <phase>install
                        <goals>
                            <goal>run
                        </goals>
                        <configuration>
                            <tasks>
                                <exec executable="ant" dir="${pom.basedir}">
                                    <arg value="installRepo"/>
                                </exec>
                            </tasks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    
    <profiles>
        <profile>
            <id>idea
            
            <build>
                <defaultGoal>validate
                
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins
                        <artifactId>maven-idea-plugin
                        <configuration>
                            <overwrite>true
                            <downloadSources>true
                            <downloadJavadocs>true
                        </configuration>
                        <executions>
                            <execution>
                                <phase>validate
                                <goals>
                                    <goal>clean
                                    <goal>idea
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        
        <!--
        TODO: Add an eclipse profile to help folks that use that IDE setup configuration files ?
        -->
    </profiles>

</project>

Other Groovy examples (source code examples)

Here is a short list of links related to this Groovy 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.