Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<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>

    <groupId>it.tidalwave.geo</groupId>
    <artifactId>forceten</artifactId>
    <packaging>pom</packaging>
    <version>0.5.9</version>
    <name>forceTen (master)</name>
    <url>http://forceten.tidalwave.it</url>
    <description>forceTen</description>
    <organization>
        <name>Tidalwave s.a.s.</name>
        <url>http://www.tidalwave.it</url>
    </organization>
    <inceptionYear>2007</inceptionYear>

    <issueManagement>
        <system>Jira</system>
        <url>https://services.tidalwave.it/jira/browse/BM</url>
    </issueManagement>

    <scm>
        <connection>scm:hg:http://kenai.com/hg/forceten~src</connection>
        <developerConnection>scm:hg:${hg.repo.url}</developerConnection>
        <url>http://kenai.com/projects/forceten/sources/src/show</url>
    </scm>

    <developers>
        <developer>
            <name>Fabrizio Giudici</name>
            <email>fabrizio.giudici@tidalwave.it</email>
            <url>http://www.tidalwave.it/people</url>
            <organization>Tidalwave s.a.s.</organization>
            <organizationUrl>http://www.tidalwave.it</organizationUrl>
            <roles>
                <role>manager</role>
                <role>developer</role>
            </roles>
            <timezone>+1</timezone>
        </developer>
    </developers>

    <mailingLists>
        <mailingList>
            <name>Continuous Integration</name>
            <post>ci@forceten.kenai.com</post>
            <archive>http://kenai.com/projects/forceten/lists/ci/archive</archive>
        </mailingList>
        <mailingList>
            <name>Commits</name>
            <post>commits@forceten.kenai.com</post>
            <archive>http://kenai.com/projects/forceten/lists/commits/archive</archive>
        </mailingList>
        <mailingList>
            <name>Developers</name>
            <post>dev@forceten.kenai.com</post>
            <archive>http://kenai.com/projects/forceten/lists/dev/archive</archive>
        </mailingList>
        <mailingList>
            <name>Users</name>
            <post>users@forceten.kenai.com</post>
            <archive>http://kenai.com/projects/forceten/lists/users/archive</archive>
        </mailingList>
    </mailingLists>

    <licenses>
        <license>
            <name>Apache-2.0</name>
            <url>http://www.opensource.org/licenses/apache2.0.php</url>
            <comments>Apache License 2.0</comments>
        </license>
    </licenses>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <bundle.namespace>${pom.groupId}.${pom.artifactId}</bundle.namespace>
        <netbeans.version>RELEASE68</netbeans.version>
        <testReportsDirectory>${project.build.directory}/surefire-reports/plain</testReportsDirectory>
        <hg.repo.url>https://kenai.com/hg/forceten~src</hg.repo.url>
        <staging.mvn.repo.url>file://${project.build.directory}/target-maven-repo</staging.mvn.repo.url>
        <buildNumber>unknown</buildNumber>
        <buildNumberSep>.</buildNumberSep>
        <testFailureIgnore>false</testFailureIgnore>
        <revision.stamp>.revision</revision.stamp>
    </properties>

    <repositories>
        <repository>
            <id>netbeans</id>
            <name>NetBeans Platform Maven Repository</name>
            <url>http://bits.netbeans.org/maven2/</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>maven2-release-repository.bluemarine.kenai.com</id>
            <name>blueMarine Maven Release Repository</name>
            <url>http://bluemarine.kenai.com/maven-repository/releases</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>releases.sonatype.org</id>
            <name>Sonatype Release Repository</name>
            <url>http://oss.sonatype.org/content/repositories/releases/</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>releases.sonatype.org</id>
            <name>Sonatype Snapshots Repository</name>
            <url>http://oss.sonatype.org/content/repositories/snapshots/</url>
            <releases>
                <enabled>false</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>maven2-release-repository.nbpwr.kenai.com</id>
            <name>NBPWR Maven Release Repository</name>
            <url>http://nbpwr.kenai.com/maven-repository/releases</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>java.net</id>
            <name>repository jogl</name>
            <url>http://download.java.net/maven/2/</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
    </repositories>

    <distributionManagement>
        <repository>
            <id>staging-oss.sonatype.org</id>
            <name>Sonatype Release Repository</name>
            <url>dav:http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
        </repository>
        <snapshotRepository>
            <id>snapshots-oss.sonatype.org</id>
            <name>Sonatype Snapshot Repository</name>
            <url>http://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
        <site>
            <id>website-forceten.kenai.com</id>
            <url>dav:https://kenai.com/website/forceten/site/${project.version}</url>
        </site>
    </distributionManagement>

    <dependencyManagement>
        <dependencies>
            <!--==== My own stuff ===================================================================================-->
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo</artifactId>
                <version>2.0.34</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-explorer</artifactId>
                <version>1.1.43</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-finder-spi</artifactId>
                <version>1.0.1</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-geocoding</artifactId>
                <version>3.1.2</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-geocoding-geonamesprovider</artifactId>
                <version>1.0.46</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-geocoding-node</artifactId>
                <version>1.0.41</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-node-flagsoftheworld</artifactId>
                <version>1.0.6</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-location</artifactId>
                <version>1.5.38</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-location-elmo</artifactId>
                <version>1.0.64</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-location-node</artifactId>
                <version>1.0.4</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-viewer</artifactId>
                <version>2.3.46</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-viewer-dnd-geotagging</artifactId>
                <version>1.0.25</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-viewer-spi-brgmprovider</artifactId>
                <version>1.0.40</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-viewer-spi-geosignalwwjprovider</artifactId>
                <version>1.0.41</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-viewer-spi-jxmapviewer</artifactId>
                <version>1.0.29</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-viewer-spi-microsoftvirtualearth</artifactId>
                <version>1.0.41</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-viewer-spi-openstreetmap</artifactId>
                <version>1.0.44</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-geo-viewer-spi-worldwindprovider</artifactId>
                <version>1.1.43</version>
            </dependency>

            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-forceten-branding</artifactId>
                <version>1.0.36</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-forceten-integration</artifactId>
                <version>1.0.38</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-forceten-lookandfeel</artifactId>
                <version>1.1.41</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.geo</groupId>
                <artifactId>it-tidalwave-forceten-updatecenter</artifactId>
                <version>1.0.35</version>
            </dependency>

            <!--==== Semantic =======================================================================================-->
            <dependency>
                <groupId>it.tidalwave.semantic</groupId>
                <artifactId>it-tidalwave-openrdf-elmo</artifactId>
                <version>1.13.21</version>
            </dependency>

            <!--==== OpenBlueSky ====================================================================================-->
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-actions</artifactId>
                <version>3.1.39</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-capabilitiesprovider</artifactId>
                <version>1.1.14</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-explorer</artifactId>
                <version>1.0.42</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-filesystem-sync</artifactId>
                <version>1.0.46</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-hierarchy</artifactId>
                <version>1.0.5</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-hierarchy-explorer</artifactId>
                <version>1.0.5</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-hierarchy-node</artifactId>
                <version>1.0.5</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-hierarchy-spi-simple</artifactId>
                <version>1.0.5</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-licensepanel</artifactId>
                <version>1.0.16</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-loggerconfiguration</artifactId>
                <version>2.0.30</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-nodes</artifactId>
                <version>1.0.41</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-role</artifactId>
                <version>1.0.42</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-swing</artifactId>
                <version>2.13.41</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-util</artifactId>
                <version>1.10.26</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-util-test</artifactId>
                <version>1.0.42</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-visual</artifactId>
                <version>1.0.49</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-windows</artifactId>
                <version>1.0.42</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-workspacemanager</artifactId>
                <version>2.2.22</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.netbeans</groupId>
                <artifactId>it-tidalwave-netbeans-workspacemanager-impl</artifactId>
                <version>1.0.26</version>
            </dependency>

            <!--==== Libraries ====================================================================================-->
            <dependency>
                <groupId>it.tidalwave.thesefoolishthings</groupId>
                <artifactId>it-tidalwave-util-logging</artifactId>
                <version>1.0.5</version>
            </dependency>
            <dependency>
                <groupId>it.tidalwave.thesefoolishthings</groupId>
                <artifactId>it.tidalwave.singlelinelogformatter</artifactId>
                <version>1.0.5</version>
            </dependency>

            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>com-eaio-uuid</artifactId>
                <version>2.1.5.5</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-jdesktop-beansbinding</artifactId>
                <version>1.2.1.5</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-apache-commons-dbcp</artifactId>
                <version>1.2.2.5</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-apache-commons-pool</artifactId>
                <version>1.4.3</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-apache-commons-io</artifactId>
                <version>1.3.1.4</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>com-eaio-uuid</artifactId>
                <version>2.1.5.5</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>gov-nasa-worldwind</artifactId>
                <version>0.5.4</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>net-java-nativelibsupport</artifactId>
                <version>0.5</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>javax-xml-bind</artifactId>
                <version>2.1.7</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>javax-annotation</artifactId>
                <version>1.3.7.3</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>edu-umd-cs-findbugs-annotations</artifactId>
                <version>1.3.2.3</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>javax-inject</artifactId>
                <version>1.0</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>javax-persistence</artifactId>
                <version>1.0.30</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>javassist</artifactId>
                <version>3.7.5</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-slf4j</artifactId>
                <version>1.5.0.5</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>com-sun-gluegen</artifactId>
                <version>1.0.6</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>javax-media-opengl</artifactId>
                <version>1.1.1.5</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-swinglabs-swingx</artifactId>
                <version>1.6.0.0</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-swinglabs-swingx-ws</artifactId>
                <version>0.20091104.1</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-openrdf</artifactId>
                <version>2.2.3.7</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-openrdf-elmo</artifactId>
                <version>1.4.8</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-incava-util-diff</artifactId>
                <version>1.1.0.0</version>
            </dependency>

            <!--==== PlatformX ====================================================================================-->
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-netbeans-platformx-centrallookup</artifactId>
                <version>1.1.3</version>
            </dependency>
            <dependency>
                <groupId>com.kenai.nbpwr</groupId>
                <artifactId>org-netbeans-platformx-eventbus-api</artifactId>
                <version>1.0.4</version>
            </dependency>

            <!--==== NetBeans Platform ============================================================================-->
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-actions</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-netbeans-api-visual</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-awt</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-dialogs</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-explorer</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-filesystems</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-loaders</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-modules</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-nodes</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-util</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-windows</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.modules</groupId>
                <artifactId>org-netbeans-core-startup</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.modules</groupId>
                <artifactId>org-netbeans-bootstrap</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.modules</groupId>
                <artifactId>org-netbeans-modules-applemenu</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-execution</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-netbeans-modules-javahelp</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-netbeans-api-progress</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-netbeans-modules-javahelp</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-netbeans-modules-editor-mimelookup</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.modules</groupId>
                <artifactId>org-netbeans-modules-editor-mimelookup-impl</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-netbeans-modules-autoupdate-services</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.modules</groupId>
                <artifactId>org-netbeans-libs-jna</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.modules</groupId>
                <artifactId>org-netbeans-core-ui</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.modules</groupId>
                <artifactId>org-netbeans-modules-autoupdate-ui</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.modules</groupId>
                <artifactId>org-netbeans-modules-applemenu</artifactId>
                <version>${netbeans.version}</version>
            </dependency>
            <dependency>
                <groupId>org.netbeans.modules</groupId>
                <artifactId>org-netbeans-core-nativeaccess</artifactId>
                <version>${netbeans.version}</version>
            </dependency>

            <!--==== Testing ======================================================================================-->
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.7</version>
            </dependency>
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-all</artifactId>
                <version>1.8.1</version>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-library</artifactId>
                <version>1.1</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <extensions>
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
                <artifactId>wagon-webdav-jackrabbit</artifactId>
                <version>1.0-beta-5</version>
            </extension>
        </extensions>

        <!-- For buildNumber to be properly evaluated by assembly:assembly, use also the validate goal -->
        <finalName>${project.artifactId}-${project.version}${buildNumberSep}${buildNumber}</finalName>

        <!-- ***********************************************************************************************************
        *
        * We want reproducible builds, so all Maven plugins have explicit version numbers.
        *
        ************************************************************************************************************ -->
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>2.0.2</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <!-- 2.6 is broken -->
                    <version>2.5</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>2.2-beta-4</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.4.3</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>2.2</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-pmd-plugin</artifactId>
                    <version>2.4</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <version>2.3</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-antrun-plugin</artifactId>
                    <version>1.3</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>2.4</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.0-beta-9</version>
                </plugin>

                <!--
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>buildnumber-maven-plugin</artifactId>
                    <version>1.0-beta-3</version>
                </plugin>
-->
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>exec-maven-plugin</artifactId>
                    <version>1.1.1</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>nbm-maven-plugin</artifactId>
                    <version>3.1</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>cobertura-maven-plugin</artifactId>
                    <version>2.3</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>findbugs-maven-plugin</artifactId>
                    <version>2.2</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>build-helper-maven-plugin</artifactId>
                    <version>1.4</version>
                </plugin>

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

        <!-- ***********************************************************************************************************
        *
        *
        *
        ************************************************************************************************************ -->
        <plugins>
            <!-- Compiler -->
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <debug>true</debug>
                    <optimize>true</optimize>
                    <source>1.6</source>
                    <target>1.6</target>
                    <showDeprecation>true</showDeprecation>
                    <showWarnings>true</showWarnings>
                    <!-- Workaround for http://jira.codehaus.org/browse/MCOMPILER-98 -->
                    <compilerArguments>
                        <sourcepath>${project.basedir}/src/main/java</sourcepath>
                    </compilerArguments>
                </configuration>
            </plugin>

            <!-- Assembler to produce final artifacts. Creates a -bin and -project (source) tarball. -->
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <descriptors>
                        <descriptor>src/assemble/bin.xml</descriptor>
                        <descriptor>src/assemble/project.xml</descriptor>
                    </descriptors>
                    <tarLongFileMode>gnu</tarLongFileMode>
                    <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
                </configuration>
            </plugin>

            <!-- Retrieves the 4th build number from Subversion revision. -->
<!--
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>buildnumber-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>validate</phase>
                        <goals>
                            <goal>create</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <doCheck>false</doCheck>
                    <doUpdate>false</doUpdate>
                </configuration>
            </plugin>
-->
            <!-- Executes tests -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <reportsDirectory>${testReportsDirectory}</reportsDirectory>
                    <includes>
                        <include>**/*Test.java</include>
                    </includes>
                    <!-- systemProperties>
                        <property>
                        </property>
                    </systemProperties -->
                    <argLine>-Xmx768M</argLine>
                    <testFailureIgnore>${testFailureIgnore}</testFailureIgnore>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <useDefaultManifestFile>true</useDefaultManifestFile> <!-- required since nbm-plugin 3.0-->
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

            <!-- Configures the release process, calling the assembly to include extra artifacts in deploy -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <preparationGoals>clean install verify</preparationGoals>
                    <goals>clean install javadoc:javadoc assembly:assembly deploy</goals>
                    <arguments>-Prelease -DaltDeploymentRepository="${altDeploymentRepository}"</arguments>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>nbm-maven-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <descriptor>src/main/nbm/module.xml</descriptor>
                    <brandingToken>forceten</brandingToken>
                    <cluster>forceten</cluster>
                </configuration>
            </plugin>

        </plugins>
    </build>

    <profiles>
        <profile>
            <id>release</id>
            <properties>
                <buildNumber />
                <buildNumberSep />
                <hg.repo.url>file://${project.build.directory}/dummy-hg-repo</hg.repo.url>
                <skipTests>true</skipTests>
                <altDeploymentRepository>release-repo-hudson::default::${staging.mvn.repo.url}</altDeploymentRepository>
            </properties>

            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>clean-release-dirs</id>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <inherited>false</inherited>
                                <configuration>
                                    <executable>rm</executable>
                                    <arguments>
                                        <argument>-rf</argument>
                                        <argument>${project.build.directory}/dummy-hg-repo</argument>
                                        <argument>${project.build.directory}/target-maven-repo</argument>
                                    </arguments>
                                </configuration>
                            </execution>
                            <execution>
                                <id>create-release-dirs</id>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <inherited>false</inherited>
                                <configuration>
                                    <executable>mkdir</executable>
                                    <arguments>
                                        <argument>-p</argument>
                                        <argument>${project.build.directory}/dummy-hg-repo</argument>
                                        <argument>${project.build.directory}/target-maven-repo</argument>
                                    </arguments>
                                </configuration>
                            </execution>
                            <execution>
                                <id>init-dummy-hg-repo</id>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <inherited>false</inherited>
                                <configuration>
                                    <executable>hg</executable>
                                    <workingDirectory>${project.build.directory}/dummy-hg-repo</workingDirectory>
                                    <arguments>
                                        <argument>init</argument>
                                    </arguments>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>generate-revision-id</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>create-id</id>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <configuration>
                                    <executable>hg</executable>
                                    <arguments>
                                        <argument>log</argument>
                                        <argument>--limit</argument>
                                        <argument>1</argument>
                                        <argument>--template</argument>
                                        <argument>REVISION: {tags} {node|short}\n</argument>
                                    </arguments>
                                    <outputFile>${revision.stamp}</outputFile>
                                </configuration>
                            </execution>
                            <execution>
                                <id>show-revision</id>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <configuration>
                                    <executable>hg</executable>
                                    <arguments>
                                        <argument>log</argument>
                                        <argument>--limit</argument>
                                        <argument>1</argument>
                                        <argument>--template</argument>
                                        <argument>REVISION: {tags} {node|short}\n</argument>
                                    </arguments>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>show-revision-id</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>show-revision</id>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <configuration>
                                    <executable>cat</executable>
                                    <arguments>
                                        <argument>${revision.stamp}</argument>
                                    </arguments>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>release-commit</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>push-hg</id>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <inherited>false</inherited>
                                <configuration>
                                    <executable>hg</executable>
                                    <arguments>
                                        <argument>push</argument>
                                    </arguments>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>

                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>wagon-maven-plugin</artifactId>
                        <configuration>
                            <source>${staging.mvn.repo.url}</source>
                            <target>${project.distributionManagement.repository.url}</target>
                            <targetId>${project.distributionManagement.repository.id}</targetId>
                        </configuration>
                        <executions>
                            <execution>
                                <id>merge-repo</id>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>merge-maven-repos</goal>
                                </goals>
                                <inherited>false</inherited>
                            </execution>
                        </executions>
                    </plugin>

                </plugins>
            </build>
        </profile>

        <profile>
            <id>release-cancel</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>strip-hg</id>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>exec</goal>
                                </goals>
                                <inherited>false</inherited>
                                <configuration>
                                    <!-- FIXME: would be better to strip local changes -->
                                    <executable>rm</executable>
                                    <arguments>
                                        <argument>-rf</argument>
                                        <argument>.hg</argument>
                                    </arguments>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>deploy-extra-artifacts</id>
            <properties>
                <buildNumber />
                <buildNumberSep />
                <altDeploymentRepository>release-repo-hudson::default::${staging.mvn.repo.url}</altDeploymentRepository>
            </properties>
            <build>
                <plugins>
                    <!-- Attaches the extra artifacts prepared during the release process by the assembly plugin -->
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>build-helper-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-artifacts</id>
                                <inherited>false</inherited>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>attach-artifact</goal>
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <artifacts>
                                <artifact>
                                    <file>${project.build.directory}/${project.build.finalName}-project.tar.gz</file>
                                    <type>tar.gz</type>
                                    <classifier>project</classifier>
                                </artifact>
                                <artifact>
                                    <file>${project.build.directory}/${project.build.finalName}-bin.tar.gz</file>
                                    <type>tar.gz</type>
                                    <classifier>bin</classifier>
                                </artifact>
                                <artifact>
                                    <file>application/target/forceten-application-${project.version}.zip</file>
                                    <type>zip</type>
                                    <classifier>executable</classifier>
                                </artifact>
                            </artifacts>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <!-- Cobertura support -->
        <profile>
            <id>cobertura</id>
            <properties>
                <testReportsDirectory>${project.build.directory}/surefire-reports/cobertura</testReportsDirectory>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>cobertura-maven-plugin</artifactId>
                        <configuration>
                            <formats>
                                <format>xml</format>
                                <format>html</format>
                            </formats>
                        </configuration>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <goals>
                                    <goal>cobertura</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>deployment</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>nbm-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>updatesite</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>autoupdate</goal>
                                </goals>
                                <configuration>
                                    <fileName>catalog.xml</fileName>
                                    <distBase>forceten-update-center::default::https://services.tidalwave.it/nexus/content/groups/public</distBase>
                                    <etcConfFile>config/forceten.conf</etcConfFile>
                                </configuration>
                            </execution>
                            <!--
                            <execution>
                                <id>webstart</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>webstart-app</goal>
                                </goals>
                                <configuration>
                                    <codebase>${project.build.directory}/webstart/${brandingToken}</codebase>
                                </configuration>
                            </execution>
                            -->
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

    <reporting>
        <plugins>
            <!-- JavaDoc support -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <docfilessubdirs>true</docfilessubdirs>
                    <excludePackageNames>*.impl:*.impl.*</excludePackageNames>
                    <links>
                        <link href="http://java.sun.com/javase/6/docs/api/" />
                        <link href="http://bits.netbeans.org/6.7/javadoc/org-openide-util" />
                        <link href="http://bits.netbeans.org/6.7/javadoc/org-openide-nodes" />
                        <link href="http://bits.netbeans.org/6.7/javadoc/org-openide-explorer" />
                        <link href="http://bits.netbeans.org/6.7/javadoc/org-openide-filesystems" />
                    </links>
                    <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
                    <docletArtifact>
                        <groupId>org.umlgraph</groupId>
                        <artifactId>doclet</artifactId>
                        <version>5.1</version>
                    </docletArtifact>
                    <additionalparam>-views -attributes -operations -types -postfixpackage -nodefontpackagesize 6 -nodefontclasssize 8 -nodefontsize 7 -edgefontsize 7 -nodesep 0.05 -ranksep 0.1 -visibility -inferdep -inferrel -inferdepinpackage -hide java.*|javax.*</additionalparam>
                    <useStandardDocletOptions>true</useStandardDocletOptions>
                </configuration>
            </plugin>

            <!-- FindBugs support -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>findbugs-maven-plugin</artifactId>
                <configuration>
                    <xmlOutput>true</xmlOutput>
                    <findbugsXmlOutput>true</findbugsXmlOutput>
                    <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
                    <effort>Max</effort>
                    <threshold>Low</threshold>
                    <failOnError>false</failOnError>
                </configuration>
            </plugin>

            <!-- PMD support -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-pmd-plugin</artifactId>
                <configuration>
                    <linkXref>true</linkXref>
                    <sourceEncoding>utf-8</sourceEncoding>
                    <minimumTokens>100</minimumTokens>
                    <targetJdk>1.6</targetJdk>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <configuration>
                    <configLocation>config/sun_checks.xml</configLocation>
                </configuration>
            </plugin>
        </plugins>
    </reporting>

    <modules>
        <module>application</module>
        <module>branding</module>
        <module>modules</module>
        <module>examples</module>
    </modules>

</project>

New to GrepCode? Check out our FAQ X