<commit_before><!--
 * 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>
  <groupId>org.opensocial.explorer</groupId>
  <artifactId>opensocial-explorer</artifactId>
  <version>0.0.3-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>OpenSocial Explorer</name>
  <description>The OpenSocial Explorer is a tool to help developers learn how to build OpenSocial gadgets. The goal of the OpenSocial Explorer is to demonstrate how to use all the features and APIs that are part of the OpenSocial specification. Besides the samples, the OpenSocial Explorer has an editor which allows developers to tweak the gadget to learn more about the specific features and APIs the sample is demonstrating. After modifying the sample the OpenSocial Explorer allows developers to re-render the gadget to see how the changes effect the sample.</description>
  <inceptionYear>2013</inceptionYear>
  <url>http://opensocial.github.com/explorer/</url>

  <!-- ====================================================================== -->
  <!-- L I C E N C E S -->
  <!-- ====================================================================== -->
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <!-- ====================================================================== -->
  <!-- D E V E L O P E R S -->
  <!-- ====================================================================== -->
  <developers>
    <developer>
      <id>ssievers</id>
      <name><NAME></name>
      <email><EMAIL></email>
    </developer>
    <developer>
      <id>rbaxter</id>
      <name><NAME></name>
      <email><EMAIL></email>
    </developer>
  </developers>

  <!-- ====================================================================== -->
  <!-- P R O P E R T I E S -->
  <!-- ====================================================================== -->
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <shindig.version>2.5.0-update1</shindig.version>
    <pom.version>2.0.0</pom.version>
    <maven-eclipse-plugin.version>2.9</maven-eclipse-plugin.version>
    <maven-site-plugin.version>3.2</maven-site-plugin.version>
    <maven-compiler-plugin.version>3.0</maven-compiler-plugin.version>
    <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
    <maven-surefire-plugins.version>2.13</maven-surefire-plugins.version>
    <maven-surefire-report-plugin.version>2.13</maven-surefire-report-plugin.version>
    <maven-project-info-reports-plugin.version>2.2</maven-project-info-reports-plugin.version>
    <servletapi.version>2.4-20040521</servletapi.version>
    <wink.version>1.2.1-incubating</wink.version>
    <guava.version>13.0</guava.version>
    <junit.version>4.10</junit.version>
    <easymock.version>3.0</easymock.version>
    <powermock.version>1.5</powermock.version>
    <guice.version>3.0</guice.version>
    <findbugs.version>2.5.2</findbugs.version>
    <cobertura.version>2.5.2</cobertura.version>
    <maven-javadoc-plugin.version>2.9</maven-javadoc-plugin.version>
    <jdepend-maven-plugin.version>2.0-beta-2</jdepend-maven-plugin.version>
    <taglist-maven-plugin.version>2.4</taglist-maven-plugin.version>
    <apache-rat-plugin.version>0.8</apache-rat-plugin.version>
    <slf4j.version>1.6.1</slf4j.version>
    <maven-scm-publish-plugin.version>1.0-beta-2</maven-scm-publish-plugin.version>
    <scmpublish.content>target/staging</scmpublish.content>
    <doxia-module-markdown.version>1.3</doxia-module-markdown.version>
    <maven-source-plugin.version>2.2.1</maven-source-plugin.version>
    <maven-gpg-plugin.version>1.4</maven-gpg-plugin.version>
    <maven-release-plugin.version>2.4.1</maven-release-plugin.version>
  </properties>

  <!-- ====================================================================== -->
  <!-- M O D U L E S -->
  <!-- ====================================================================== -->
  <modules>
    <module>java/server</module>
    <module>java/gadget-spec-server</module>
    <module>gadget-specs</module>
    <module>opensocial-explorer-webcontent</module>
    <module>opensocial-explorer-server-war</module>
  </modules>

  <!-- ====================================================================== -->
  <!-- B U I L D -->
  <!-- ====================================================================== -->
  <build>
    <defaultGoal>install</defaultGoal>
    <plugins>
      <plugin>
        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
        <version>${apache-rat-plugin.version}</version>
        <executions>
          <execution>
            <phase>verify</phase>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <excludeSubProjects>false</excludeSubProjects>
          <excludes>
            <exclude>**/MANIFEST.MF</exclude>
            <exclude>**/target/**</exclude>
            <exclude>**/*.classpath</exclude>
            <exclude>**/.project</exclude>
            <exclude>**/.settings/*</exclude>
            <exclude>**/src/test/resources/**</exclude>
            <exclude>**/resources/libs/codemirror/**</exclude>
            <exclude>**/resources/libs/bootstrap/**</exclude>
            <exclude>**/*.json</exclude>
            <exclude>**/src/main/specs/specs.txt</exclude>
            <exclude>**/src/main/specs/**/*.xml</exclude>
            <exclude>**/src/main/specs/**/*.html</exclude>
            <exclude>**/src/main/specs/**/*.js</exclude>
            <exclude>**/src/main/specs/**/*.css</exclude>
            <exclude>**/src/main/javascript/modules/templates/**</exclude>
            <exclude>**/src/main/javascript/modules/stubs/**</exclude>
            <exclude>**/.git/**</exclude>
            <exclude>**/.gitignore</exclude>
            <exclude>**/README.md</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>${maven-release-plugin.version}</version>
        <configuration>
          <autoVersionSubmodules>true</autoVersionSubmodules>
          <releaseProfiles>release</releaseProfiles>
          <goals>deploy</goals>
        </configuration>
      </plugin>
    </plugins>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-gpg-plugin</artifactId>
          <version>${maven-gpg-plugin.version}</version>
          <executions>
            <execution>
              <id>sign-artifacts</id>
              <phase>verify</phase>
              <goals>
                <goal>sign</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>${maven-compiler-plugin.version}</version>
          <configuration>
            <fork>true</fork>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-eclipse-plugin</artifactId>
          <version>${maven-eclipse-plugin.version}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>${maven-jar-plugin.version}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>${maven-surefire-plugins.version}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-site-plugin</artifactId>
          <version>${maven-site-plugin.version}</version>
          <dependencies>
            <dependency>
              <!--
              | allows markdown syntax for site generation. To use it place files below
              | src/site/markdown/[filename].md
              -->
              <groupId>org.apache.maven.doxia</groupId>
              <artifactId>doxia-module-markdown</artifactId>
              <version>${doxia-module-markdown.version}</version>
            </dependency>
          </dependencies>
          <configuration>
            
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>cobertura-maven-plugin</artifactId>
          <version>${cobertura.version}</version>
          <configuration>
            <instrumentation>
              <excludes>
                <exclude>org/opensocial/**/*Test*.class</exclude>
                <exclude>org/opensocial/**/*Module*.class</exclude>
                <exclude>org/opensocial/**/Cheating*.class</exclude>
              </excludes>
            </instrumentation>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-scm-publish-plugin</artifactId>
          <version>${maven-scm-publish-plugin.version}</version>
          <inherited>true</inherited>
          <configuration>
            <pubScmUrl>${project.scm.developerConnection}</pubScmUrl>
            <scmBranch>gh-pages</scmBranch>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

  <!-- ====================================================================== -->
  <!-- R E P O R T I N G -->
  <!-- ====================================================================== -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>${maven-project-info-reports-plugin.version}</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>index</report>
              <report>project-team</report>
              <report>license</report>
              <report>mailing-list</report>
              <!-- Some of these reports are hanging the builds trying 
                to pull down dependency information -->
              <!-- <report>dependencies</report> -->
              <report>dependency-convergence</report>
              <report>plugin-management</report>
              <report>cim</report>
              <report>issue-tracking</report>
              <report>scm</report>
              <report>summary</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>${findbugs.version}</version>
        <configuration>
          <xmlOutput>true</xmlOutput>
          <xmlOutputDirectory>target/site</xmlOutputDirectory>
          <effort>Max</effort>
          <threshold>Low</threshold>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <version>${cobertura.version}</version>
        <configuration>
          <formats>
            <format>xml</format>
            <format>html</format>
          </formats>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>${maven-surefire-report-plugin.version}</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jdepend-maven-plugin</artifactId>
        <version>${jdepend-maven-plugin.version}</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>taglist-maven-plugin</artifactId>
        <version>${taglist-maven-plugin.version}</version>
        <configuration>
          <tagListOptions>
            <tagClasses>
              <tagClass>
                <displayName>Code Work</displayName>
                <tags>
                  <tag>
                    <matchString>TODO</matchString>
                    <matchType>ignoreCase</matchType>
                  </tag>
                </tags>
              </tagClass>
              <tagClass>
                <displayName>Bugs</displayName>
                <tags>
                  <tag>
                    <matchString>FIXME</matchString>
                    <matchType>ignoreCase</matchType>
                  </tag>
                </tags>
              </tagClass>
            </tagClasses>
          </tagListOptions>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
        <version>${apache-rat-plugin.version}</version>
        <configuration>
          <excludeSubProjects>false</excludeSubProjects>
          <excludes>
            <exclude>**/MANIFEST.MF</exclude>
            <exclude>**/target/**</exclude>
            <exclude>**/*.classpath</exclude>
            <exclude>**/.project</exclude>
            <exclude>**/.settings/*</exclude>
            <exclude>**/src/test/resources/**</exclude>
            <exclude>**/resources/libs/codemirror/**</exclude>
            <exclude>**/resources/libs/bootstrap/**</exclude>
            <exclude>**/*.json</exclude>
            <exclude>**/src/main/specs/specs.txt</exclude>
            <exclude>**/src/main/resources/js/modules/templates/**</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${maven-javadoc-plugin.version}</version>
        <reportSets>
          <reportSet>
            <!-- 
                 select non-aggregate reports, aggregate reports cause the build
                 to fork and build the sub-modules which in some cases can result
                 in build errors if certain artifacts are not installed in the 
                 local maven repo
            -->
            <reports>
              <report>javadoc</report>
              <report>test-javadoc</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>

  <!-- ====================================================================== -->
  <!-- P R O F I L E S -->
  <!-- ====================================================================== -->
  <profiles>
    <profile>
      <id>release</id>
      <modules>
        <module>gadget-specs</module>
        <module>java/gadget-spec-server</module>
        <module>java/server</module>
        <module>opensocial-explorer-webcontent</module>
        <module>opensocial-explorer-server-war</module>
        <module>opensocial-explorer-assembly</module>
      </modules>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <version>${maven-source-plugin.version}</version>
            <executions>
              <execution>
                <id>attach-sources</id>
                <phase>verify</phase>
                <goals>
                  <goal>jar</goal>
                  <goal>test-jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>${maven-javadoc-plugin.version}</version>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                  <goal>test-jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

  <!-- ====================================================================== -->
  <!-- D E P E N D E N C I E S -->
  <!-- ====================================================================== -->
  <dependencies>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>${servletapi.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.wink</groupId>
      <artifactId>wink-json4j</artifactId>
      <version>${wink.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <version>${guava.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.inject</groupId>
      <artifactId>guice</artifactId>
      <version>${guice.version}</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junit.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
      <version>${easymock.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-api-easymock</artifactId>
      <version>${powermock.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-module-junit4</artifactId>
      <version>${powermock.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-common</artifactId>
      <version>${shindig.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-sample-container</artifactId>
      <version>${shindig.version}</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-extras</artifactId>
      <version>${shindig.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-social-api</artifactId>
      <version>${shindig.version}</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-gadgets</artifactId>
      <version>${shindig.version}</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-features</artifactId>
      <version>${shindig.version}</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
      <version>${slf4j.version}</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  
  <!-- ====================================================================== -->
  <!-- O R G A N I Z A T I O N -->
  <!-- ====================================================================== -->
  <organization>
    <name>OpenSocial Foundation</name>
    <url>http://opensocial.org</url>
  </organization>
  
  <!-- ====================================================================== -->
  <!-- S C M -->
  <!-- ====================================================================== -->
  <scm>
    <url>git<EMAIL>:OpenSocial/explorer.git</url>
    <connection>scm:git:git<EMAIL>:OpenSocial/explorer.git</connection>
    <developerConnection>scm:git:git@github.com:OpenSocial/explorer.git</developerConnection>
    <tag>HEAD</tag>
  </scm>

  <!-- ====================================================================== -->
  <!-- D I S T R I B U T I O N    M A N A G E M E N T -->
  <!-- ====================================================================== -->
  <distributionManagement>
    <site>
      <id>github</id>
      <name>maven-reports at github</name>
      <url>http://opensocial.github.com/explorer/</url>
    </site>
  </distributionManagement>

  <!-- ====================================================================== -->
  <!-- I S S U E    M A N A G E M E N T -->
  <!-- ====================================================================== -->
  <issueManagement>
    <system>GitHub Issues</system>
    <url>https://github.com/OpenSocial/explorer/issues</url>
  </issueManagement>

  <!-- ====================================================================== -->
  <!-- P A R E N T     P O M -->
  <!-- ====================================================================== -->
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>
</project><commit_msg>Upgraded shindig to 2.5.1<commit_after><!--
 * 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>
  <groupId>org.opensocial.explorer</groupId>
  <artifactId>opensocial-explorer</artifactId>
  <version>0.0.3-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>OpenSocial Explorer</name>
  <description>The OpenSocial Explorer is a tool to help developers learn how to build OpenSocial gadgets. The goal of the OpenSocial Explorer is to demonstrate how to use all the features and APIs that are part of the OpenSocial specification. Besides the samples, the OpenSocial Explorer has an editor which allows developers to tweak the gadget to learn more about the specific features and APIs the sample is demonstrating. After modifying the sample the OpenSocial Explorer allows developers to re-render the gadget to see how the changes effect the sample.</description>
  <inceptionYear>2013</inceptionYear>
  <url>http://opensocial.github.com/explorer/</url>

  <!-- ====================================================================== -->
  <!-- L I C E N C E S -->
  <!-- ====================================================================== -->
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <!-- ====================================================================== -->
  <!-- D E V E L O P E R S -->
  <!-- ====================================================================== -->
  <developers>
    <developer>
      <id>ssievers</id>
      <name><NAME></name>
      <email><EMAIL></email>
    </developer>
    <developer>
      <id>rbaxter</id>
      <name><NAME></name>
      <email><EMAIL></email>
    </developer>
  </developers>

  <!-- ====================================================================== -->
  <!-- P R O P E R T I E S -->
  <!-- ====================================================================== -->
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <shindig.version>2.5.1</shindig.version>
    <pom.version>2.0.0</pom.version>
    <maven-eclipse-plugin.version>2.9</maven-eclipse-plugin.version>
    <maven-site-plugin.version>3.2</maven-site-plugin.version>
    <maven-compiler-plugin.version>3.0</maven-compiler-plugin.version>
    <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
    <maven-surefire-plugins.version>2.13</maven-surefire-plugins.version>
    <maven-surefire-report-plugin.version>2.13</maven-surefire-report-plugin.version>
    <maven-project-info-reports-plugin.version>2.2</maven-project-info-reports-plugin.version>
    <servletapi.version>2.4-20040521</servletapi.version>
    <wink.version>1.2.1-incubating</wink.version>
    <guava.version>13.0</guava.version>
    <junit.version>4.10</junit.version>
    <easymock.version>3.0</easymock.version>
    <powermock.version>1.5</powermock.version>
    <guice.version>3.0</guice.version>
    <findbugs.version>2.5.2</findbugs.version>
    <cobertura.version>2.5.2</cobertura.version>
    <maven-javadoc-plugin.version>2.9</maven-javadoc-plugin.version>
    <jdepend-maven-plugin.version>2.0-beta-2</jdepend-maven-plugin.version>
    <taglist-maven-plugin.version>2.4</taglist-maven-plugin.version>
    <apache-rat-plugin.version>0.8</apache-rat-plugin.version>
    <slf4j.version>1.6.1</slf4j.version>
    <maven-scm-publish-plugin.version>1.0-beta-2</maven-scm-publish-plugin.version>
    <scmpublish.content>target/staging</scmpublish.content>
    <doxia-module-markdown.version>1.3</doxia-module-markdown.version>
    <maven-source-plugin.version>2.2.1</maven-source-plugin.version>
    <maven-gpg-plugin.version>1.4</maven-gpg-plugin.version>
    <maven-release-plugin.version>2.4.1</maven-release-plugin.version>
  </properties>

  <!-- ====================================================================== -->
  <!-- M O D U L E S -->
  <!-- ====================================================================== -->
  <modules>
    <module>java/server</module>
    <module>java/gadget-spec-server</module>
    <module>gadget-specs</module>
    <module>opensocial-explorer-webcontent</module>
    <module>opensocial-explorer-server-war</module>
  </modules>

  <!-- ====================================================================== -->
  <!-- B U I L D -->
  <!-- ====================================================================== -->
  <build>
    <defaultGoal>install</defaultGoal>
    <plugins>
      <plugin>
        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
        <version>${apache-rat-plugin.version}</version>
        <executions>
          <execution>
            <phase>verify</phase>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <excludeSubProjects>false</excludeSubProjects>
          <excludes>
            <exclude>**/MANIFEST.MF</exclude>
            <exclude>**/target/**</exclude>
            <exclude>**/*.classpath</exclude>
            <exclude>**/.project</exclude>
            <exclude>**/.settings/*</exclude>
            <exclude>**/src/test/resources/**</exclude>
            <exclude>**/resources/libs/codemirror/**</exclude>
            <exclude>**/resources/libs/bootstrap/**</exclude>
            <exclude>**/*.json</exclude>
            <exclude>**/src/main/specs/specs.txt</exclude>
            <exclude>**/src/main/specs/**/*.xml</exclude>
            <exclude>**/src/main/specs/**/*.html</exclude>
            <exclude>**/src/main/specs/**/*.js</exclude>
            <exclude>**/src/main/specs/**/*.css</exclude>
            <exclude>**/src/main/javascript/modules/templates/**</exclude>
            <exclude>**/src/main/javascript/modules/stubs/**</exclude>
            <exclude>**/.git/**</exclude>
            <exclude>**/.gitignore</exclude>
            <exclude>**/README.md</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>${maven-release-plugin.version}</version>
        <configuration>
          <autoVersionSubmodules>true</autoVersionSubmodules>
          <releaseProfiles>release</releaseProfiles>
          <goals>deploy</goals>
        </configuration>
      </plugin>
    </plugins>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-gpg-plugin</artifactId>
          <version>${maven-gpg-plugin.version}</version>
          <executions>
            <execution>
              <id>sign-artifacts</id>
              <phase>verify</phase>
              <goals>
                <goal>sign</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>${maven-compiler-plugin.version}</version>
          <configuration>
            <fork>true</fork>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-eclipse-plugin</artifactId>
          <version>${maven-eclipse-plugin.version}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>${maven-jar-plugin.version}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>${maven-surefire-plugins.version}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-site-plugin</artifactId>
          <version>${maven-site-plugin.version}</version>
          <dependencies>
            <dependency>
              <!--
              | allows markdown syntax for site generation. To use it place files below
              | src/site/markdown/[filename].md
              -->
              <groupId>org.apache.maven.doxia</groupId>
              <artifactId>doxia-module-markdown</artifactId>
              <version>${doxia-module-markdown.version}</version>
            </dependency>
          </dependencies>
          <configuration>
            
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>cobertura-maven-plugin</artifactId>
          <version>${cobertura.version}</version>
          <configuration>
            <instrumentation>
              <excludes>
                <exclude>org/opensocial/**/*Test*.class</exclude>
                <exclude>org/opensocial/**/*Module*.class</exclude>
                <exclude>org/opensocial/**/Cheating*.class</exclude>
              </excludes>
            </instrumentation>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-scm-publish-plugin</artifactId>
          <version>${maven-scm-publish-plugin.version}</version>
          <inherited>true</inherited>
          <configuration>
            <pubScmUrl>${project.scm.developerConnection}</pubScmUrl>
            <scmBranch>gh-pages</scmBranch>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

  <!-- ====================================================================== -->
  <!-- R E P O R T I N G -->
  <!-- ====================================================================== -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>${maven-project-info-reports-plugin.version}</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>index</report>
              <report>project-team</report>
              <report>license</report>
              <report>mailing-list</report>
              <!-- Some of these reports are hanging the builds trying 
                to pull down dependency information -->
              <!-- <report>dependencies</report> -->
              <report>dependency-convergence</report>
              <report>plugin-management</report>
              <report>cim</report>
              <report>issue-tracking</report>
              <report>scm</report>
              <report>summary</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>${findbugs.version}</version>
        <configuration>
          <xmlOutput>true</xmlOutput>
          <xmlOutputDirectory>target/site</xmlOutputDirectory>
          <effort>Max</effort>
          <threshold>Low</threshold>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <version>${cobertura.version}</version>
        <configuration>
          <formats>
            <format>xml</format>
            <format>html</format>
          </formats>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>${maven-surefire-report-plugin.version}</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jdepend-maven-plugin</artifactId>
        <version>${jdepend-maven-plugin.version}</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>taglist-maven-plugin</artifactId>
        <version>${taglist-maven-plugin.version}</version>
        <configuration>
          <tagListOptions>
            <tagClasses>
              <tagClass>
                <displayName>Code Work</displayName>
                <tags>
                  <tag>
                    <matchString>TODO</matchString>
                    <matchType>ignoreCase</matchType>
                  </tag>
                </tags>
              </tagClass>
              <tagClass>
                <displayName>Bugs</displayName>
                <tags>
                  <tag>
                    <matchString>FIXME</matchString>
                    <matchType>ignoreCase</matchType>
                  </tag>
                </tags>
              </tagClass>
            </tagClasses>
          </tagListOptions>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
        <version>${apache-rat-plugin.version}</version>
        <configuration>
          <excludeSubProjects>false</excludeSubProjects>
          <excludes>
            <exclude>**/MANIFEST.MF</exclude>
            <exclude>**/target/**</exclude>
            <exclude>**/*.classpath</exclude>
            <exclude>**/.project</exclude>
            <exclude>**/.settings/*</exclude>
            <exclude>**/src/test/resources/**</exclude>
            <exclude>**/resources/libs/codemirror/**</exclude>
            <exclude>**/resources/libs/bootstrap/**</exclude>
            <exclude>**/*.json</exclude>
            <exclude>**/src/main/specs/specs.txt</exclude>
            <exclude>**/src/main/resources/js/modules/templates/**</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${maven-javadoc-plugin.version}</version>
        <reportSets>
          <reportSet>
            <!-- 
                 select non-aggregate reports, aggregate reports cause the build
                 to fork and build the sub-modules which in some cases can result
                 in build errors if certain artifacts are not installed in the 
                 local maven repo
            -->
            <reports>
              <report>javadoc</report>
              <report>test-javadoc</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>

  <!-- ====================================================================== -->
  <!-- P R O F I L E S -->
  <!-- ====================================================================== -->
  <profiles>
    <profile>
      <id>release</id>
      <modules>
        <module>gadget-specs</module>
        <module>java/gadget-spec-server</module>
        <module>java/server</module>
        <module>opensocial-explorer-webcontent</module>
        <module>opensocial-explorer-server-war</module>
        <module>opensocial-explorer-assembly</module>
      </modules>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <version>${maven-source-plugin.version}</version>
            <executions>
              <execution>
                <id>attach-sources</id>
                <phase>verify</phase>
                <goals>
                  <goal>jar</goal>
                  <goal>test-jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>${maven-javadoc-plugin.version}</version>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                  <goal>test-jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

  <!-- ====================================================================== -->
  <!-- D E P E N D E N C I E S -->
  <!-- ====================================================================== -->
  <dependencies>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>${servletapi.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.wink</groupId>
      <artifactId>wink-json4j</artifactId>
      <version>${wink.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <version>${guava.version}</version>
    </dependency>
    <dependency>
      <groupId>com.google.inject</groupId>
      <artifactId>guice</artifactId>
      <version>${guice.version}</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junit.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
      <version>${easymock.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-api-easymock</artifactId>
      <version>${powermock.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-module-junit4</artifactId>
      <version>${powermock.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-common</artifactId>
      <version>${shindig.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-sample-container</artifactId>
      <version>${shindig.version}</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-extras</artifactId>
      <version>${shindig.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-social-api</artifactId>
      <version>${shindig.version}</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-gadgets</artifactId>
      <version>${shindig.version}</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.shindig</groupId>
      <artifactId>shindig-features</artifactId>
      <version>${shindig.version}</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
      <version>${slf4j.version}</version>
      <type>jar</type>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  
  <!-- ====================================================================== -->
  <!-- O R G A N I Z A T I O N -->
  <!-- ====================================================================== -->
  <organization>
    <name>OpenSocial Foundation</name>
    <url>http://opensocial.org</url>
  </organization>
  
  <!-- ====================================================================== -->
  <!-- S C M -->
  <!-- ====================================================================== -->
  <scm>
    <url><EMAIL>:OpenSocial/explorer.git</url>
    <connection>scm:git:<EMAIL>:OpenSocial/explorer.git</connection>
    <developerConnection>scm:git:git@<EMAIL>:OpenSocial/explorer.git</developerConnection>
    <tag>HEAD</tag>
  </scm>

  <!-- ====================================================================== -->
  <!-- D I S T R I B U T I O N    M A N A G E M E N T -->
  <!-- ====================================================================== -->
  <distributionManagement>
    <site>
      <id>github</id>
      <name>maven-reports at github</name>
      <url>http://opensocial.github.com/explorer/</url>
    </site>
  </distributionManagement>

  <!-- ====================================================================== -->
  <!-- I S S U E    M A N A G E M E N T -->
  <!-- ====================================================================== -->
  <issueManagement>
    <system>GitHub Issues</system>
    <url>https://github.com/OpenSocial/explorer/issues</url>
  </issueManagement>

  <!-- ====================================================================== -->
  <!-- P A R E N T     P O M -->
  <!-- ====================================================================== -->
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>
</project>
{'fraction_non_alphanumeric': 0.22553777396564567, 'fraction_numerical': 0.005552671376656208, 'mean_word_length': 2.4296330701346958, 'pattern_counts': {'":': 0, '<': 1624, '<?xml version=': 0, '>': 1624, 'https://': 2, 'lorem ipsum': 0, 'www.': 6, 'xml': 16}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3964281', 'n_tokens_mistral': 13411, 'n_tokens_neox': 12003, 'n_words': 1784}