<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.apache</groupId>
    <artifactId>apache</artifactId>
    <version>8</version>
  </parent>

  <groupId>org.apache.shindig</groupId>
  <artifactId>shindig-project</artifactId>
  <version>3.0.0-SNAPSHOT</version>
  <packaging>pom</packaging>

  <name>Apache Shindig Project</name>
  <description>
    Shindig is a JavaScript container and implementations of the
    backend APIs and proxy required for hosting OpenSocial
    applications.
  </description>
  <url>http://shindig.apache.org</url>
  <inceptionYear>2007</inceptionYear>

  <properties>
    <!-- What version of the API are we targeting for compatible -->
    <shindig.api.compatible>3.0.0</shindig.api.compatible>
    <!-- What version of the API did we ship last -->
    <shindig.api.previous>2.0.0</shindig.api.previous>

    <!-- properties that help us sort through the java 1.5/1.6 mess -->
    <shindig.jdk.version>1.5</shindig.jdk.version>
    <shindig.jdk.javadoc>1.5.0</shindig.jdk.javadoc>
    <shindig.jdk.classifier />
  </properties>

  <prerequisites>
    <maven>2.0.8</maven>
  </prerequisites>

  <!-- ====================================================================== -->
  <!-- S C M                                                                  -->
  <!-- ====================================================================== -->
  <scm>
    <connection>scm:svn:http://svn.apache.org/repos/asf/shindig/trunk</connection>
    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/shindig/trunk</developerConnection>
    <url>http://svn.apache.org/viewvc/shindig/trunk</url>
  </scm>

  <!-- ====================================================================== -->
  <!-- I S S U E  M A N A G E M E N T                                         -->
  <!-- ====================================================================== -->
  <issueManagement>
    <system>jira</system>
    <url>http://issues.apache.org/jira/browse/SHINDIG</url>
  </issueManagement>

  <!-- ====================================================================== -->
  <!-- C I  M A N A G E M E N T                                               -->
  <!-- ====================================================================== -->
  <ciManagement>
    <system>Hudson</system>
    <url>http://hudson.zones.apache.org/hudson/job/Shindig/</url>
  </ciManagement>

  <!-- ====================================================================== -->
  <!-- D I S T R I B U T I O N  M A N A G E M E N T                           -->
  <!-- ====================================================================== -->
  <distributionManagement>
    <!-- This is the technical website for Shindig 2.0.x -->
    <site>
      <id>apache.website</id>
      <url>scp://people.apache.org/www/shindig.apache.org/shindig-2.0.x</url>
    </site>
  </distributionManagement>

  <!-- ====================================================================== -->
  <!-- M A I L I N G   L I S T S                                              -->
  <!-- ====================================================================== -->
  <mailingLists>
    <mailingList>
      <name>Shindig Dev List</name>
      <subscribe><EMAIL></subscribe>
      <unsubscribe><EMAIL></unsubscribe>
      <post><EMAIL></post>
      <archive>http://mail-archives.apache.org/mod_mbox/shindig-dev/</archive>
      <otherArchives>
        <otherArchive>http://shindig-dev.markmail.org/</otherArchive>
      </otherArchives>
    </mailingList>
    <mailingList>
      <name>Shindig Users List</name>
      <subscribe><EMAIL></subscribe>
      <unsubscribe><EMAIL></unsubscribe>
      <archive>http://mail-archives.apache.org/mod_mbox/shindig-users/</archive>
    </mailingList>
    <mailingList>
      <name>Shindig Commit List</name>
      <subscribe><EMAIL></subscribe>
      <unsubscribe><EMAIL></unsubscribe>
      <archive>http://mail-archives.apache.org/mod_mbox/shindig-commits/</archive>
    </mailingList>
    <mailingList>
      <name>Shindig Issues List</name>
      <subscribe><EMAIL></subscribe>
      <unsubscribe><EMAIL></unsubscribe>
      <archive>http://mail-archives.apache.org/mod_mbox/shindig-issues/</archive>
    </mailingList>
  </mailingLists>

  <!-- ====================================================================== -->
  <!-- P E O P L E                                                            -->
  <!-- ====================================================================== -->
  <!-- Developers listed by PMC Chair, PMC, Mentors, Committers, Contributers, all alphabetical-->
  <developers>
    <!-- PMC Chair -->
    <developer>
      <id>lindner</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Chair</role>
      </roles>
    </developer>
    <!-- PMC -->
    <developer>
      <id>agektmr</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>bhofmann</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>brianm</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
        <role>Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>chabotc</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>dbentley</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>doll</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>dpeterson</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>etnu</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>ieb</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>evan</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>jasvir</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>johnh</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>jyang</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>sgala</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
       <role>Emeritus Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>lryan</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>martint</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>vsiveton</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>zhen</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>awiner</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>chico</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>chirag</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>hsaputra</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>chaowang</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>zhoresh</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>gagan</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>hnguy</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>

    <!-- Mentors -->
    <developer>
      <id>fitz</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>gstein</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Emeritus Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>sylvain</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>tomdz</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>upayavira</id>
      <name>Upayavira</name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>dharkness</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Emeritus</role>
      </roles>
    </developer>
    <!--Committers-->
    <!--Emeritus-->
    <developer>
      <id>henning</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Emeritus</role>
      </roles>
    </developer>
  </developers>

      <modules>
        <module>features</module>
        <module>java/common</module>
        <module>java/gadgets</module>
        <module>java/social-api</module>
        <module>java/server</module>
        <module>extras</module>
      </modules>


  <!-- ====================================================================== -->
  <!-- P R O F I L E S                                                        -->
  <!-- ====================================================================== -->
  <profiles>
    <profile>
      <!-- force java5 usage -->
      <id>java5</id>
      <activation>
        <activeByDefault>false</activeByDefault>
        <jdk>1.5</jdk>
      </activation>
      <properties>
        <shindig.jdk.version>1.5</shindig.jdk.version>
        <shindig.jdk.javadoc>1.5.0</shindig.jdk.javadoc>
        <shindig.jdk.classifier>java5</shindig.jdk.classifier>
      </properties>
    </profile>

    <profile>
      <!-- force java6 usage -->
      <id>java6</id>
      <activation>
        <activeByDefault>false</activeByDefault>
        <jdk>1.6</jdk>
      </activation>

      <properties>
        <shindig.jdk.version>1.6</shindig.jdk.version>
        <shindig.jdk.javadoc>1.6.0</shindig.jdk.javadoc>
      </properties>
    </profile>

    <!-- stub for all -->
    <profile>
      <id>all</id>
    </profile>

    <!-- profile to build java/samples -->
    <profile>
      <id>samples</id>
      <modules>
        <module>java/samples</module>
      </modules>
    </profile>

    <!-- profile to run an embedded jetty instance -->
    <profile>
      <id>run</id>
      <dependencies>
      </dependencies>

      <build>
        <defaultGoal>jetty:run-war</defaultGoal>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
              <execution>
                <id>create-work</id>
                <phase>compile</phase>
                <configuration>
                  <tasks>
                    <mkdir dir="target" />
                  </tasks>
                </configuration>
                <goals>
                  <goal>run</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.mortbay.jetty</groupId>
            <artifactId>maven-jetty-plugin</artifactId>
            <configuration>
              <tempDirectory>${basedir}/java/server/target/work</tempDirectory>
              <webApp>${basedir}/java/server/target/shindig-server-${project.version}.war</webApp>
              <contextPath>/</contextPath>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>

    <!-- generate reports -->
    <profile>
      <id>reporting</id>
      <modules>
        <module>features</module>
        <module>java/common</module>
        <module>java/gadgets</module>
        <module>java/social-api</module>
        <module>java/server</module>
        <module>java/samples</module>
        <module>extras</module>
      </modules>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>cobertura-maven-plugin</artifactId>
            <configuration>
              <check>
                <haltOnFailure>false</haltOnFailure>
                <regexes>
                  <regex>
                    <pattern>org.apache.shindig.*</pattern>
                    <branchRate>90</branchRate>
                    <lineRate>90</lineRate>
                  </regex>
                </regexes>
              </check>
              <instrumentation>
                <includes>
                  <include>org/apache/shindig/**/*.class</include>
                </includes>
              </instrumentation>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-site-plugin</artifactId>
            <configuration>
              <stagingSiteURL>scp://people.apache.org/www/shindig.apache.org/shindig-2.0.x/${project.version}</stagingSiteURL>
            </configuration>
          </plugin>
         <plugin>
           <groupId>org.apache.rat</groupId>
           <artifactId>apache-rat-plugin</artifactId>
         </plugin>
        </plugins>
      </build>

      <reporting>
        <!-- ordered alphabetically by owner -->
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-checkstyle-plugin</artifactId>
            <version>2.6</version>
            <configuration>
              <configLocation>http://svn.apache.org/repos/asf/shindig/trunk/etc/checkstyle/checkstyle.xml</configLocation>
              <headerLocation>http://svn.apache.org/repos/asf/shindig/trunk/etc/checkstyle/java.header</headerLocation>
              <encoding>${project.build.sourceEncoding}</encoding>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>2.7</version>
            <configuration>
              <source>${shindig.jdk.version}</source>
              <target>${shindig.jdk.version}</target>
              <encoding>${project.build.sourceEncoding}</encoding>
              <links>
                <link>http://java.sun.com/j2se/${shindig.jdk.javadoc}/docs/api</link>
                <link>http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/</link>
                <link>http://www.json.org/javadoc/</link>
                <link>http://junit.sourceforge.net/javadoc/</link>
              </links>
              <detectLinks>true</detectLinks>
            </configuration>
            <reportSets>
              <reportSet>
                <id>non-aggregate</id>
                <reports>
                  <report>javadoc</report>
                  <report>test-javadoc</report>
                </reports>
              </reportSet>
              <reportSet>
                <id>aggregate</id>
                <reports>
                  <report>aggregate</report>
                  <report>test-aggregate</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jxr-plugin</artifactId>
            <version>2.2</version>
            <configuration>
              <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
              <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
            </configuration>
            <reportSets>
              <reportSet>
                <id>non-aggregate</id>
                <configuration>
                  <aggregate>false</aggregate>
                </configuration>
                <reports>
                  <report>jxr</report>
                  <report>test-jxr</report>
                </reports>
              </reportSet>
              <reportSet>
                <id>aggregate</id>
                <configuration>
                  <aggregate>true</aggregate>
                </configuration>
                <reports>
                  <report>jxr</report>
                  <report>test-jxr</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-pmd-plugin</artifactId>
            <version>2.5</version>
            <configuration>
              <targetJdk>${shindig.jdk.version}</targetJdk>
              <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
            </configuration>
            <reportSets>
              <reportSet>
                <id>non-aggregate</id>
                <configuration>
                  <aggregate>false</aggregate>
                </configuration>
                <reports>
                  <report>cpd</report>
                  <report>pmd</report>
                </reports>
              </reportSet>
              <reportSet>
                <id>aggregate</id>
                <configuration>
                  <aggregate>true</aggregate>
                </configuration>
                <reports>
                  <report>cpd</report>
                  <report>pmd</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>

          <plugin>
            <groupId>org.apache.rat</groupId>
            <artifactId>apache-rat-plugin</artifactId>
            <version>0.7</version>
            <configuration>
              <excludeSubProjects>false</excludeSubProjects>
              <excludes>
                <exclude>**/*.iml</exclude>
                <exclude>.gitignore</exclude>
                <exclude>.reviewboardrc</exclude>
                <exclude>release.properties</exclude>
                <exclude>**/.git/**/*</exclude>
                <exclude>**/README*</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/external/**</exclude>
                <exclude>**/features/swfobject/swfobject.js</exclude>
                <exclude>**/features/swfobject/swfobject.opt.js</exclude>
                <exclude>etc/svn-ignores</exclude>
                <exclude>etc/svn-props</exclude>
                <exclude>etc/eclipse/shindig.importorder</exclude>
                <exclude>JsMin.php</exclude>
                <exclude>**/content/**/*.json</exclude>
                <exclude>**/test/misc/rewriter*.css</exclude>
                <exclude>**/test/misc/rewriter*.js</exclude>
                <exclude>**/test/misc/*.html</exclude>
                <exclude>**/test/misc/*.xml</exclude>
                <exclude>**/test/certs/*</exclude>
                <exclude>phpunit.xml.dist</exclude>
                <exclude>BUILD-JAVA</exclude>
                <exclude>COMMITTERS</exclude>
                <exclude>UPGRADING</exclude>
                <exclude>**/MANIFEST.MF</exclude>
                <exclude>**/src/test/**/*.html</exclude>
                <exclude>**/src/test/**/*.css</exclude>
                <exclude>**/src/test/**/*.json</exclude>
                <exclude>**/src/test/**/*.xml</exclude>
                <exclude>**/create.sql</exclude>
                <exclude>**/drop.sql</exclude>
                <exclude>**/derby.log</exclude>
                <exclude>content/editor/CodeMirror-0.8/js/*</exclude>
                <exclude>content/editor/CodeMirror-0.8/css/*</exclude>
              </excludes>
            </configuration>
          </plugin>

          <!-- Mojo -->
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>clirr-maven-plugin</artifactId>
            <version>2.2.3</version>
            <configuration>
              <comparisonVersion>${shindig.api.previous}</comparisonVersion>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>cobertura-maven-plugin</artifactId>
            <version>2.4</version>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>findbugs-maven-plugin</artifactId>
            <version>2.3.1</version>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>jdepend-maven-plugin</artifactId>
            <version>2.0-beta-2</version>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-report-plugin</artifactId>
            <version>2.8</version>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>taglist-maven-plugin</artifactId>
            <version>2.4</version>
            <configuration>
              <tagListOptions>
                <tagClasses>
                  <tagClass>
                    <displayName>Todo Work</displayName>
                    <tags>
                      <tag>
                        <matchString>todo</matchString>
                        <matchType>ignoreCase</matchType>
                      </tag>
                      <tag>
                        <matchString>FIXME</matchString>
                        <matchType>exact</matchType>
                      </tag>
                    </tags>
                  </tagClass>
                  <tagClass>
                    <displayName>Deprecated</displayName>
                    <tags>
                      <tag>
                        <matchString>@deprecated</matchString>
                        <matchType>exact</matchType>
                      </tag>
                    </tags>
                  </tagClass>
                </tagClasses>
              </tagListOptions>
              <encoding>${project.build.sourceEncoding}</encoding>
            </configuration>
            <reportSets>
              <reportSet>
                <id>non-aggregate</id>
                <configuration>
                  <aggregate>false</aggregate>
                </configuration>
                <reports>
                  <report>taglist</report>
                </reports>
              </reportSet>
              <reportSet>
                <id>aggregate</id>
                <configuration>
                  <aggregate>true</aggregate>
                </configuration>
                <reports>
                  <report>taglist</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>
        </plugins>
      </reporting>
    </profile>

    <!-- Apache Release Profile -->
    <profile>
      <id>apache-release</id>
      <modules>
        <module>features</module>
        <module>java/common</module>
        <module>java/gadgets</module>
        <module>java/social-api</module>
        <module>java/server</module>
        <module>java/samples</module>
        <module>extras</module>
        <module>php</module>
        <module>assembly</module>
      </modules>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar</goal>
                  <goal>test-jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                  <goal>test-jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.rat</groupId>
            <artifactId>apache-rat-plugin</artifactId>
            <executions>
              <execution>
                <phase>verify</phase>
                <goals>
                  <goal>check</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>

    <profile>
      <id>php</id>
      <modules>
        <module>features</module>
        <module>php</module>
      </modules>
    </profile>

    <!-- assemble the source releases -->
    <profile>
      <id>assemble</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar</goal>
                  <goal>test-jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <modules>
        <module>features</module>
        <module>java/common</module>
        <module>java/gadgets</module>
        <module>java/social-api</module>
        <module>java/server</module>
        <module>extras</module>
        <module>assembly</module>
      </modules>
    </profile>

    <profile>
      <id>to-committers</id>
      <build>
        <defaultGoal>xslt:transform</defaultGoal>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>xslt-maven-plugin</artifactId>
            <configuration>
              <xslFile>${basedir}/etc/to-committers.xsl</xslFile>
              <srcIncludes>pom.xml</srcIncludes>
              <srcDir>${basedir}</srcDir>
              <destDir>${project.build.directory}</destDir>
              <fileNameRegex>pom.xml</fileNameRegex>
              <fileNameReplacement>COMMITTERS</fileNameReplacement>
            </configuration>
            <executions>
              <execution>
                <goals>
                  <goal>transform</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

  <!-- ====================================================================== -->
  <!-- B U I L D                                                              -->
  <!-- ====================================================================== -->

  <build>
    <defaultGoal>install</defaultGoal>

    <pluginManagement>
      <!-- set versions/conf of common plugins for reproducibility, ordered alphabetically by owner -->
      <plugins>
        <!-- Maven -->
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-antrun-plugin</artifactId>
          <version>1.6</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>2.3.2</version>
          <configuration>
            <source>${shindig.jdk.version}</source>
            <target>${shindig.jdk.version}</target>
            <showDeprecation>true</showDeprecation>
            <compilerArgument>-Xlint:unchecked,deprecation,fallthrough,finally</compilerArgument>
            <fork>true</fork>
            <encoding>${project.build.sourceEncoding}</encoding>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>2.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins </groupId>
          <artifactId>maven-eclipse-plugin</artifactId>
          <!-- stay at 2.6, 2.8 has problems with our poms -->
          <version>2.6</version>
          <configuration>
            <addVersionToProjectName>true</addVersionToProjectName>
            <workspaceCodeStylesURL>http://svn.apache.org/repos/asf/shindig/trunk/etc/eclipse/shindig-eclipse-codestyle_2.xml</workspaceCodeStylesURL>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-enforcer-plugin</artifactId>
          <version>1.0</version>
            <configuration>
              <rules>
                <requireJavaVersion>
                  <version>[1.5,)</version>
                </requireJavaVersion>
              </rules>    
            </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-gpg-plugin</artifactId>
          <version>1.2</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-install-plugin</artifactId>
          <version>2.3.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>2.3.1</version>
          <executions>
           <execution>
             <goals>
               <goal>test-jar</goal>
             </goals>
           </execution>
          </executions>
          <configuration>
            <archive>
              <manifest>
                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
              </manifest>
            </archive>
            <classifier>${shindig.jdk.classifier}</classifier>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>2.7</version>
          <configuration>
            <source>${shindig.jdk.version}</source>
            <target>${shindig.jdk.version}</target>
            <encoding>${project.build.sourceEncoding}</encoding>
            <links>
              <link>http://java.sun.com/j2se/${shindig.jdk.javadoc}/docs/api</link>
              <link>http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/</link>
              <link>http://www.json.org/javadoc/</link>
              <link>http://junit.sourceforge.net/javadoc/</link>
            </links>
            <fixTags>since,param,return,throws</fixTags>
            <fixMethodComment>true</fixMethodComment>
            <fixClassComment>true</fixClassComment>
            <fixFieldComment>false</fixFieldComment>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jxr-plugin</artifactId>
          <version>2.2</version>
          <configuration>
            <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <version>2.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-remote-resources-plugin</artifactId>
          <version>1.2</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-resources-plugin</artifactId>
          <version>2.5</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-site-plugin</artifactId>
          <version>2.2</version>
          <configuration>
            <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
            <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
          <version>2.1.2</version>
          <executions>
            <execution>
              <id>attach-sources</id>
              <goals>
                <goal>jar</goal>
                <goal>test-jar</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <excludeResources>false</excludeResources>
            <attach>true</attach>
            <classifier>${shindig.jdk.classifier}</classifier>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.7.2</version>
          <configuration>
            <parallel>both</parallel>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-war-plugin</artifactId>
          <version>2.1.1</version>
        </plugin>

        <!-- Mojo -->
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>clirr-maven-plugin</artifactId>
          <version>2.2.3</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>cobertura-maven-plugin</artifactId>
          <version>2.4</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>findbugs-maven-plugin</artifactId>
          <version>2.3.1</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>jdepend-maven-plugin</artifactId>
          <version>2.0-beta-2</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>taglist-maven-plugin</artifactId>
          <version>2.4</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>xslt-maven-plugin</artifactId>
          <version>1.0</version>
        </plugin>

        <!-- Misc -->
        <plugin>
          <groupId>net.alchim31.maven</groupId>
          <artifactId>yuicompressor-maven-plugin</artifactId>
          <version>1.1</version>
        </plugin>

        <plugin>
          <groupId>org.mortbay.jetty</groupId>
          <artifactId>maven-jetty-plugin</artifactId>
          <version>6.1.26</version>
        </plugin>
        <plugin>
          <groupId>org.apache.geronimo.genesis.plugins</groupId>
          <artifactId>tools-maven-plugin</artifactId>
          <version>1.4</version>
          <executions>
            <execution>
              <id>verify-legal-files</id>
              <phase>verify</phase>
              <goals>
                <goal>verify-legal-files</goal>
              </goals>
              <configuration>
                <strict>true</strict>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.rat</groupId>
          <artifactId>apache-rat-plugin</artifactId>
          <version>0.7</version>
          <configuration>
            <excludeSubProjects>false</excludeSubProjects>
            <excludes>
              <exclude>**/*.iml</exclude>
              <exclude>.gitignore</exclude>
              <exclude>.reviewboardrc</exclude>
              <exclude>release.properties</exclude>
              <exclude>**/.git/**/*</exclude>
              <exclude>**/README*</exclude>
              <exclude>**/target/**</exclude>
              <exclude>**/external/**</exclude>
              <exclude>**/features/swfobject/swfobject.js</exclude>
              <exclude>**/features/swfobject/swfobject.opt.js</exclude>
              <exclude>etc/svn-ignores</exclude>
              <exclude>etc/svn-props</exclude>
              <exclude>etc/eclipse/shindig.importorder</exclude>
              <exclude>JsMin.php</exclude>
              <exclude>**/content/**/*.json</exclude>
              <exclude>**/test/misc/rewriter*.css</exclude>
              <exclude>**/test/misc/rewriter*.js</exclude>
              <exclude>**/test/misc/*.html</exclude>
              <exclude>**/test/misc/*.xml</exclude>
              <exclude>**/test/certs/*</exclude>
              <exclude>phpunit.xml.dist</exclude>
              <exclude>BUILD-JAVA</exclude>
              <exclude>COMMITTERS</exclude>
              <exclude>UPGRADING</exclude>
              <exclude>**/MANIFEST.MF</exclude>
              <exclude>**/src/test/**/*.html</exclude>
              <exclude>**/src/test/**/*.css</exclude>
              <exclude>**/src/test/**/*.json</exclude>
              <exclude>**/src/test/**/*.xml</exclude>
              <exclude>**/create.sql</exclude>
              <exclude>**/drop.sql</exclude>
              <exclude>**/derby.log</exclude>
              <exclude>content/editor/CodeMirror-0.8/js/*</exclude>
              <exclude>content/editor/CodeMirror-0.8/css/*</exclude>
            </excludes>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>

    <!-- ordered alphabetically by owner -->
    <plugins>
      <!-- Maven -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <executions>
          <execution>
            <id>enforce-java</id>
            <goals>
              <goal>enforce</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <!-- We want to package up license resources in the JARs produced -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-remote-resources-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>process</goal>
            </goals>
            <configuration>
              <resourceBundles>
                <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
              </resourceBundles>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <configuration>
          <encoding>${project.build.sourceEncoding}</encoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-sources</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <excludeResources>false</excludeResources>
          <attach>true</attach>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
      </plugin>

      <plugin>
        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
      </plugin>

      <!-- Misc -->
      <plugin>
        <groupId>org.apache.geronimo.genesis.plugins</groupId>
        <artifactId>tools-maven-plugin</artifactId>
      </plugin>
    </plugins>
  </build>

  <!-- ====================================================================== -->
  <!-- R E P O R T I N G                                                      -->
  <!-- ====================================================================== -->
  <reporting>
    <!-- ordered alphabetically by owner -->
    <plugins>
      <!-- Maven -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.3.1</version>
      </plugin>
    </plugins>
  </reporting>

  <!-- ====================================================================== -->
  <!-- R E P O S I T O R I E S                                                -->
  <!-- ====================================================================== -->
  <repositories>
    <repository>
      <id>central</id>
      <name>Maven Repository Switchboard</name>
      <layout>default</layout>
      <url>http://repo1.maven.org/maven2</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository>
      <id>diff_match_patch</id>
      <url>http://google-diff-match-patch.googlecode.com/svn/trunk/maven</url>
    </repository>
    <repository>
      <id>caja</id>
      <url>http://google-caja.googlecode.com/svn/maven</url><commit_msg>bump to reporting plugin 2.4<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.apache</groupId>
    <artifactId>apache</artifactId>
    <version>8</version>
  </parent>

  <groupId>org.apache.shindig</groupId>
  <artifactId>shindig-project</artifactId>
  <version>3.0.0-SNAPSHOT</version>
  <packaging>pom</packaging>

  <name>Apache Shindig Project</name>
  <description>
    Shindig is a JavaScript container and implementations of the
    backend APIs and proxy required for hosting OpenSocial
    applications.
  </description>
  <url>http://shindig.apache.org</url>
  <inceptionYear>2007</inceptionYear>

  <properties>
    <!-- What version of the API are we targeting for compatible -->
    <shindig.api.compatible>3.0.0</shindig.api.compatible>
    <!-- What version of the API did we ship last -->
    <shindig.api.previous>2.0.0</shindig.api.previous>

    <!-- properties that help us sort through the java 1.5/1.6 mess -->
    <shindig.jdk.version>1.5</shindig.jdk.version>
    <shindig.jdk.javadoc>1.5.0</shindig.jdk.javadoc>
    <shindig.jdk.classifier />
  </properties>

  <prerequisites>
    <maven>2.0.8</maven>
  </prerequisites>

  <!-- ====================================================================== -->
  <!-- S C M                                                                  -->
  <!-- ====================================================================== -->
  <scm>
    <connection>scm:svn:http://svn.apache.org/repos/asf/shindig/trunk</connection>
    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/shindig/trunk</developerConnection>
    <url>http://svn.apache.org/viewvc/shindig/trunk</url>
  </scm>

  <!-- ====================================================================== -->
  <!-- I S S U E  M A N A G E M E N T                                         -->
  <!-- ====================================================================== -->
  <issueManagement>
    <system>jira</system>
    <url>http://issues.apache.org/jira/browse/SHINDIG</url>
  </issueManagement>

  <!-- ====================================================================== -->
  <!-- C I  M A N A G E M E N T                                               -->
  <!-- ====================================================================== -->
  <ciManagement>
    <system>Hudson</system>
    <url>http://hudson.zones.apache.org/hudson/job/Shindig/</url>
  </ciManagement>

  <!-- ====================================================================== -->
  <!-- D I S T R I B U T I O N  M A N A G E M E N T                           -->
  <!-- ====================================================================== -->
  <distributionManagement>
    <!-- This is the technical website for Shindig 2.0.x -->
    <site>
      <id>apache.website</id>
      <url>scp://people.apache.org/www/shindig.apache.org/shindig-2.0.x</url>
    </site>
  </distributionManagement>

  <!-- ====================================================================== -->
  <!-- M A I L I N G   L I S T S                                              -->
  <!-- ====================================================================== -->
  <mailingLists>
    <mailingList>
      <name>Shindig Dev List</name>
      <subscribe><EMAIL></subscribe>
      <unsubscribe><EMAIL></unsubscribe>
      <post><EMAIL></post>
      <archive>http://mail-archives.apache.org/mod_mbox/shindig-dev/</archive>
      <otherArchives>
        <otherArchive>http://shindig-dev.markmail.org/</otherArchive>
      </otherArchives>
    </mailingList>
    <mailingList>
      <name>Shindig Users List</name>
      <subscribe><EMAIL></subscribe>
      <unsubscribe><EMAIL></unsubscribe>
      <archive>http://mail-archives.apache.org/mod_mbox/shindig-users/</archive>
    </mailingList>
    <mailingList>
      <name>Shindig Commit List</name>
      <subscribe><EMAIL></subscribe>
      <unsubscribe><EMAIL></unsubscribe>
      <archive>http://mail-archives.apache.org/mod_mbox/shindig-commits/</archive>
    </mailingList>
    <mailingList>
      <name>Shindig Issues List</name>
      <subscribe><EMAIL></subscribe>
      <unsubscribe><EMAIL></unsubscribe>
      <archive>http://mail-archives.apache.org/mod_mbox/shindig-issues/</archive>
    </mailingList>
  </mailingLists>

  <!-- ====================================================================== -->
  <!-- P E O P L E                                                            -->
  <!-- ====================================================================== -->
  <!-- Developers listed by PMC Chair, PMC, Mentors, Committers, Contributers, all alphabetical-->
  <developers>
    <!-- PMC Chair -->
    <developer>
      <id>lindner</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Chair</role>
      </roles>
    </developer>
    <!-- PMC -->
    <developer>
      <id>agektmr</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>bhofmann</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>brianm</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
        <role>Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>chabotc</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>dbentley</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>doll</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>dpeterson</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>etnu</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>ieb</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>evan</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>jasvir</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>johnh</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>jyang</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>sgala</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
       <role>Emeritus Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>lryan</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>martint</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>vsiveton</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>zhen</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>awiner</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>chico</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>chirag</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>hsaputra</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>chaowang</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>zhoresh</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>gagan</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>
    <developer>
      <id>hnguy</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
    </developer>

    <!-- Mentors -->
    <developer>
      <id>fitz</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>gstein</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Emeritus Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>sylvain</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>tomdz</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>upayavira</id>
      <name>Upayavira</name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Mentor</role>
      </roles>
    </developer>
    <developer>
      <id>dharkness</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Emeritus</role>
      </roles>
    </developer>
    <!--Committers-->
    <!--Emeritus-->
    <developer>
      <id>henning</id>
      <name><NAME></name>
      <email><EMAIL></email>
      <organization>ASF</organization>
      <roles>
        <role>Emeritus</role>
      </roles>
    </developer>
  </developers>

      <modules>
        <module>features</module>
        <module>java/common</module>
        <module>java/gadgets</module>
        <module>java/social-api</module>
        <module>java/server</module>
        <module>extras</module>
      </modules>


  <!-- ====================================================================== -->
  <!-- P R O F I L E S                                                        -->
  <!-- ====================================================================== -->
  <profiles>
    <profile>
      <!-- force java5 usage -->
      <id>java5</id>
      <activation>
        <activeByDefault>false</activeByDefault>
        <jdk>1.5</jdk>
      </activation>
      <properties>
        <shindig.jdk.version>1.5</shindig.jdk.version>
        <shindig.jdk.javadoc>1.5.0</shindig.jdk.javadoc>
        <shindig.jdk.classifier>java5</shindig.jdk.classifier>
      </properties>
    </profile>

    <profile>
      <!-- force java6 usage -->
      <id>java6</id>
      <activation>
        <activeByDefault>false</activeByDefault>
        <jdk>1.6</jdk>
      </activation>

      <properties>
        <shindig.jdk.version>1.6</shindig.jdk.version>
        <shindig.jdk.javadoc>1.6.0</shindig.jdk.javadoc>
      </properties>
    </profile>

    <!-- stub for all -->
    <profile>
      <id>all</id>
    </profile>

    <!-- profile to build java/samples -->
    <profile>
      <id>samples</id>
      <modules>
        <module>java/samples</module>
      </modules>
    </profile>

    <!-- profile to run an embedded jetty instance -->
    <profile>
      <id>run</id>
      <dependencies>
      </dependencies>

      <build>
        <defaultGoal>jetty:run-war</defaultGoal>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
              <execution>
                <id>create-work</id>
                <phase>compile</phase>
                <configuration>
                  <tasks>
                    <mkdir dir="target" />
                  </tasks>
                </configuration>
                <goals>
                  <goal>run</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.mortbay.jetty</groupId>
            <artifactId>maven-jetty-plugin</artifactId>
            <configuration>
              <tempDirectory>${basedir}/java/server/target/work</tempDirectory>
              <webApp>${basedir}/java/server/target/shindig-server-${project.version}.war</webApp>
              <contextPath>/</contextPath>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>

    <!-- generate reports -->
    <profile>
      <id>reporting</id>
      <modules>
        <module>features</module>
        <module>java/common</module>
        <module>java/gadgets</module>
        <module>java/social-api</module>
        <module>java/server</module>
        <module>java/samples</module>
        <module>extras</module>
      </modules>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>cobertura-maven-plugin</artifactId>
            <configuration>
              <check>
                <haltOnFailure>false</haltOnFailure>
                <regexes>
                  <regex>
                    <pattern>org.apache.shindig.*</pattern>
                    <branchRate>90</branchRate>
                    <lineRate>90</lineRate>
                  </regex>
                </regexes>
              </check>
              <instrumentation>
                <includes>
                  <include>org/apache/shindig/**/*.class</include>
                </includes>
              </instrumentation>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-site-plugin</artifactId>
            <configuration>
              <stagingSiteURL>scp://people.apache.org/www/shindig.apache.org/shindig-2.0.x/${project.version}</stagingSiteURL>
            </configuration>
          </plugin>
         <plugin>
           <groupId>org.apache.rat</groupId>
           <artifactId>apache-rat-plugin</artifactId>
         </plugin>
        </plugins>
      </build>

      <reporting>
        <!-- ordered alphabetically by owner -->
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-checkstyle-plugin</artifactId>
            <version>2.6</version>
            <configuration>
              <configLocation>http://svn.apache.org/repos/asf/shindig/trunk/etc/checkstyle/checkstyle.xml</configLocation>
              <headerLocation>http://svn.apache.org/repos/asf/shindig/trunk/etc/checkstyle/java.header</headerLocation>
              <encoding>${project.build.sourceEncoding}</encoding>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>2.7</version>
            <configuration>
              <source>${shindig.jdk.version}</source>
              <target>${shindig.jdk.version}</target>
              <encoding>${project.build.sourceEncoding}</encoding>
              <links>
                <link>http://java.sun.com/j2se/${shindig.jdk.javadoc}/docs/api</link>
                <link>http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/</link>
                <link>http://www.json.org/javadoc/</link>
                <link>http://junit.sourceforge.net/javadoc/</link>
              </links>
              <detectLinks>true</detectLinks>
            </configuration>
            <reportSets>
              <reportSet>
                <id>non-aggregate</id>
                <reports>
                  <report>javadoc</report>
                  <report>test-javadoc</report>
                </reports>
              </reportSet>
              <reportSet>
                <id>aggregate</id>
                <reports>
                  <report>aggregate</report>
                  <report>test-aggregate</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jxr-plugin</artifactId>
            <version>2.2</version>
            <configuration>
              <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
              <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
            </configuration>
            <reportSets>
              <reportSet>
                <id>non-aggregate</id>
                <configuration>
                  <aggregate>false</aggregate>
                </configuration>
                <reports>
                  <report>jxr</report>
                  <report>test-jxr</report>
                </reports>
              </reportSet>
              <reportSet>
                <id>aggregate</id>
                <configuration>
                  <aggregate>true</aggregate>
                </configuration>
                <reports>
                  <report>jxr</report>
                  <report>test-jxr</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-pmd-plugin</artifactId>
            <version>2.5</version>
            <configuration>
              <targetJdk>${shindig.jdk.version}</targetJdk>
              <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
            </configuration>
            <reportSets>
              <reportSet>
                <id>non-aggregate</id>
                <configuration>
                  <aggregate>false</aggregate>
                </configuration>
                <reports>
                  <report>cpd</report>
                  <report>pmd</report>
                </reports>
              </reportSet>
              <reportSet>
                <id>aggregate</id>
                <configuration>
                  <aggregate>true</aggregate>
                </configuration>
                <reports>
                  <report>cpd</report>
                  <report>pmd</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>

          <plugin>
            <groupId>org.apache.rat</groupId>
            <artifactId>apache-rat-plugin</artifactId>
            <version>0.7</version>
            <configuration>
              <excludeSubProjects>false</excludeSubProjects>
              <excludes>
                <exclude>**/*.iml</exclude>
                <exclude>.gitignore</exclude>
                <exclude>.reviewboardrc</exclude>
                <exclude>release.properties</exclude>
                <exclude>**/.git/**/*</exclude>
                <exclude>**/README*</exclude>
                <exclude>**/target/**</exclude>
                <exclude>**/external/**</exclude>
                <exclude>**/features/swfobject/swfobject.js</exclude>
                <exclude>**/features/swfobject/swfobject.opt.js</exclude>
                <exclude>etc/svn-ignores</exclude>
                <exclude>etc/svn-props</exclude>
                <exclude>etc/eclipse/shindig.importorder</exclude>
                <exclude>JsMin.php</exclude>
                <exclude>**/content/**/*.json</exclude>
                <exclude>**/test/misc/rewriter*.css</exclude>
                <exclude>**/test/misc/rewriter*.js</exclude>
                <exclude>**/test/misc/*.html</exclude>
                <exclude>**/test/misc/*.xml</exclude>
                <exclude>**/test/certs/*</exclude>
                <exclude>phpunit.xml.dist</exclude>
                <exclude>BUILD-JAVA</exclude>
                <exclude>COMMITTERS</exclude>
                <exclude>UPGRADING</exclude>
                <exclude>**/MANIFEST.MF</exclude>
                <exclude>**/src/test/**/*.html</exclude>
                <exclude>**/src/test/**/*.css</exclude>
                <exclude>**/src/test/**/*.json</exclude>
                <exclude>**/src/test/**/*.xml</exclude>
                <exclude>**/create.sql</exclude>
                <exclude>**/drop.sql</exclude>
                <exclude>**/derby.log</exclude>
                <exclude>content/editor/CodeMirror-0.8/js/*</exclude>
                <exclude>content/editor/CodeMirror-0.8/css/*</exclude>
              </excludes>
            </configuration>
          </plugin>

          <!-- Mojo -->
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>clirr-maven-plugin</artifactId>
            <version>2.2.3</version>
            <configuration>
              <comparisonVersion>${shindig.api.previous}</comparisonVersion>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>cobertura-maven-plugin</artifactId>
            <version>2.4</version>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>findbugs-maven-plugin</artifactId>
            <version>2.3.1</version>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>jdepend-maven-plugin</artifactId>
            <version>2.0-beta-2</version>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-report-plugin</artifactId>
            <version>2.8</version>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>taglist-maven-plugin</artifactId>
            <version>2.4</version>
            <configuration>
              <tagListOptions>
                <tagClasses>
                  <tagClass>
                    <displayName>Todo Work</displayName>
                    <tags>
                      <tag>
                        <matchString>todo</matchString>
                        <matchType>ignoreCase</matchType>
                      </tag>
                      <tag>
                        <matchString>FIXME</matchString>
                        <matchType>exact</matchType>
                      </tag>
                    </tags>
                  </tagClass>
                  <tagClass>
                    <displayName>Deprecated</displayName>
                    <tags>
                      <tag>
                        <matchString>@deprecated</matchString>
                        <matchType>exact</matchType>
                      </tag>
                    </tags>
                  </tagClass>
                </tagClasses>
              </tagListOptions>
              <encoding>${project.build.sourceEncoding}</encoding>
            </configuration>
            <reportSets>
              <reportSet>
                <id>non-aggregate</id>
                <configuration>
                  <aggregate>false</aggregate>
                </configuration>
                <reports>
                  <report>taglist</report>
                </reports>
              </reportSet>
              <reportSet>
                <id>aggregate</id>
                <configuration>
                  <aggregate>true</aggregate>
                </configuration>
                <reports>
                  <report>taglist</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>
        </plugins>
      </reporting>
    </profile>

    <!-- Apache Release Profile -->
    <profile>
      <id>apache-release</id>
      <modules>
        <module>features</module>
        <module>java/common</module>
        <module>java/gadgets</module>
        <module>java/social-api</module>
        <module>java/server</module>
        <module>java/samples</module>
        <module>extras</module>
        <module>php</module>
        <module>assembly</module>
      </modules>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar</goal>
                  <goal>test-jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                  <goal>test-jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.rat</groupId>
            <artifactId>apache-rat-plugin</artifactId>
            <executions>
              <execution>
                <phase>verify</phase>
                <goals>
                  <goal>check</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>

    <profile>
      <id>php</id>
      <modules>
        <module>features</module>
        <module>php</module>
      </modules>
    </profile>

    <!-- assemble the source releases -->
    <profile>
      <id>assemble</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar</goal>
                  <goal>test-jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <modules>
        <module>features</module>
        <module>java/common</module>
        <module>java/gadgets</module>
        <module>java/social-api</module>
        <module>java/server</module>
        <module>extras</module>
        <module>assembly</module>
      </modules>
    </profile>

    <profile>
      <id>to-committers</id>
      <build>
        <defaultGoal>xslt:transform</defaultGoal>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>xslt-maven-plugin</artifactId>
            <configuration>
              <xslFile>${basedir}/etc/to-committers.xsl</xslFile>
              <srcIncludes>pom.xml</srcIncludes>
              <srcDir>${basedir}</srcDir>
              <destDir>${project.build.directory}</destDir>
              <fileNameRegex>pom.xml</fileNameRegex>
              <fileNameReplacement>COMMITTERS</fileNameReplacement>
            </configuration>
            <executions>
              <execution>
                <goals>
                  <goal>transform</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

  <!-- ====================================================================== -->
  <!-- B U I L D                                                              -->
  <!-- ====================================================================== -->

  <build>
    <defaultGoal>install</defaultGoal>

    <pluginManagement>
      <!-- set versions/conf of common plugins for reproducibility, ordered alphabetically by owner -->
      <plugins>
        <!-- Maven -->
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-antrun-plugin</artifactId>
          <version>1.6</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>2.3.2</version>
          <configuration>
            <source>${shindig.jdk.version}</source>
            <target>${shindig.jdk.version}</target>
            <showDeprecation>true</showDeprecation>
            <compilerArgument>-Xlint:unchecked,deprecation,fallthrough,finally</compilerArgument>
            <fork>true</fork>
            <encoding>${project.build.sourceEncoding}</encoding>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>2.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins </groupId>
          <artifactId>maven-eclipse-plugin</artifactId>
          <!-- stay at 2.6, 2.8 has problems with our poms -->
          <version>2.6</version>
          <configuration>
            <addVersionToProjectName>true</addVersionToProjectName>
            <workspaceCodeStylesURL>http://svn.apache.org/repos/asf/shindig/trunk/etc/eclipse/shindig-eclipse-codestyle_2.xml</workspaceCodeStylesURL>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-enforcer-plugin</artifactId>
          <version>1.0</version>
            <configuration>
              <rules>
                <requireJavaVersion>
                  <version>[1.5,)</version>
                </requireJavaVersion>
              </rules>    
            </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-gpg-plugin</artifactId>
          <version>1.2</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-install-plugin</artifactId>
          <version>2.3.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>2.3.1</version>
          <executions>
           <execution>
             <goals>
               <goal>test-jar</goal>
             </goals>
           </execution>
          </executions>
          <configuration>
            <archive>
              <manifest>
                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
              </manifest>
            </archive>
            <classifier>${shindig.jdk.classifier}</classifier>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>2.7</version>
          <configuration>
            <source>${shindig.jdk.version}</source>
            <target>${shindig.jdk.version}</target>
            <encoding>${project.build.sourceEncoding}</encoding>
            <links>
              <link>http://java.sun.com/j2se/${shindig.jdk.javadoc}/docs/api</link>
              <link>http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/</link>
              <link>http://www.json.org/javadoc/</link>
              <link>http://junit.sourceforge.net/javadoc/</link>
            </links>
            <fixTags>since,param,return,throws</fixTags>
            <fixMethodComment>true</fixMethodComment>
            <fixClassComment>true</fixClassComment>
            <fixFieldComment>false</fixFieldComment>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jxr-plugin</artifactId>
          <version>2.2</version>
          <configuration>
            <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <version>2.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-remote-resources-plugin</artifactId>
          <version>1.2</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-resources-plugin</artifactId>
          <version>2.5</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-site-plugin</artifactId>
          <version>2.2</version>
          <configuration>
            <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
            <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
          <version>2.1.2</version>
          <executions>
            <execution>
              <id>attach-sources</id>
              <goals>
                <goal>jar</goal>
                <goal>test-jar</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <excludeResources>false</excludeResources>
            <attach>true</attach>
            <classifier>${shindig.jdk.classifier}</classifier>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.7.2</version>
          <configuration>
            <parallel>both</parallel>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-war-plugin</artifactId>
          <version>2.1.1</version>
        </plugin>

        <!-- Mojo -->
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>clirr-maven-plugin</artifactId>
          <version>2.2.3</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>cobertura-maven-plugin</artifactId>
          <version>2.4</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>findbugs-maven-plugin</artifactId>
          <version>2.3.1</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>jdepend-maven-plugin</artifactId>
          <version>2.0-beta-2</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>taglist-maven-plugin</artifactId>
          <version>2.4</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>xslt-maven-plugin</artifactId>
          <version>1.0</version>
        </plugin>

        <!-- Misc -->
        <plugin>
          <groupId>net.alchim31.maven</groupId>
          <artifactId>yuicompressor-maven-plugin</artifactId>
          <version>1.1</version>
        </plugin>

        <plugin>
          <groupId>org.mortbay.jetty</groupId>
          <artifactId>maven-jetty-plugin</artifactId>
          <version>6.1.26</version>
        </plugin>
        <plugin>
          <groupId>org.apache.geronimo.genesis.plugins</groupId>
          <artifactId>tools-maven-plugin</artifactId>
          <version>1.4</version>
          <executions>
            <execution>
              <id>verify-legal-files</id>
              <phase>verify</phase>
              <goals>
                <goal>verify-legal-files</goal>
              </goals>
              <configuration>
                <strict>true</strict>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.rat</groupId>
          <artifactId>apache-rat-plugin</artifactId>
          <version>0.7</version>
          <configuration>
            <excludeSubProjects>false</excludeSubProjects>
            <excludes>
              <exclude>**/*.iml</exclude>
              <exclude>.gitignore</exclude>
              <exclude>.reviewboardrc</exclude>
              <exclude>release.properties</exclude>
              <exclude>**/.git/**/*</exclude>
              <exclude>**/README*</exclude>
              <exclude>**/target/**</exclude>
              <exclude>**/external/**</exclude>
              <exclude>**/features/swfobject/swfobject.js</exclude>
              <exclude>**/features/swfobject/swfobject.opt.js</exclude>
              <exclude>etc/svn-ignores</exclude>
              <exclude>etc/svn-props</exclude>
              <exclude>etc/eclipse/shindig.importorder</exclude>
              <exclude>JsMin.php</exclude>
              <exclude>**/content/**/*.json</exclude>
              <exclude>**/test/misc/rewriter*.css</exclude>
              <exclude>**/test/misc/rewriter*.js</exclude>
              <exclude>**/test/misc/*.html</exclude>
              <exclude>**/test/misc/*.xml</exclude>
              <exclude>**/test/certs/*</exclude>
              <exclude>phpunit.xml.dist</exclude>
              <exclude>BUILD-JAVA</exclude>
              <exclude>COMMITTERS</exclude>
              <exclude>UPGRADING</exclude>
              <exclude>**/MANIFEST.MF</exclude>
              <exclude>**/src/test/**/*.html</exclude>
              <exclude>**/src/test/**/*.css</exclude>
              <exclude>**/src/test/**/*.json</exclude>
              <exclude>**/src/test/**/*.xml</exclude>
              <exclude>**/create.sql</exclude>
              <exclude>**/drop.sql</exclude>
              <exclude>**/derby.log</exclude>
              <exclude>content/editor/CodeMirror-0.8/js/*</exclude>
              <exclude>content/editor/CodeMirror-0.8/css/*</exclude>
            </excludes>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>

    <!-- ordered alphabetically by owner -->
    <plugins>
      <!-- Maven -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <executions>
          <execution>
            <id>enforce-java</id>
            <goals>
              <goal>enforce</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <!-- We want to package up license resources in the JARs produced -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-remote-resources-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>process</goal>
            </goals>
            <configuration>
              <resourceBundles>
                <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
              </resourceBundles>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <configuration>
          <encoding>${project.build.sourceEncoding}</encoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-sources</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <excludeResources>false</excludeResources>
          <attach>true</attach>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
      </plugin>

      <plugin>
        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
      </plugin>

      <!-- Misc -->
      <plugin>
        <groupId>org.apache.geronimo.genesis.plugins</groupId>
        <artifactId>tools-maven-plugin</artifactId>
      </plugin>
    </plugins>
  </build>

  <!-- ====================================================================== -->
  <!-- R E P O R T I N G                                                      -->
  <!-- ====================================================================== -->
  <reporting>
    <!-- ordered alphabetically by owner -->
    <plugins>
      <!-- Maven -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.4</version>
      </plugin>
    </plugins>
  </reporting>

  <!-- ====================================================================== -->
  <!-- R E P O S I T O R I E S                                                -->
  <!-- ====================================================================== -->
  <repositories>
    <repository>
      <id>central</id>
      <name>Maven Repository Switchboard</name>
      <layout>default</layout>
      <url>http://repo1.maven.org/maven2</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository>
      <id>diff_match_patch</id>
      <url>http://google-diff-match-patch.googlecode.com/svn/trunk/maven</url>
    </repository>
    <repository>
      <id>caja</id>
      <url>http://google-caja.googlecode.com/svn/maven</url>
{'fraction_non_alphanumeric': 0.17754793750206746, 'fraction_numerical': 0.004531871960834041, 'mean_word_length': 1.720460749317575, 'pattern_counts': {'":': 0, '<': 4031, '<?xml version=': 2, '>': 4031, 'https://': 2, 'lorem ipsum': 0, 'www.': 12, 'xml': 26}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 66, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6548271', 'n_tokens_mistral': 27804, 'n_tokens_neox': 25300, 'n_words': 3317}