<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.dojotoolkit</groupId>
  <artifactId>dojo-maven</artifactId>
  <version>1.7.2</version>
  <packaging>pom</packaging>
  <name>Dojo Toolkit</name>
  <description>Maven packaging of the Dojo Toolkit</description>
  <url>http://dojotoolkit.org</url>
  <properties>
    <dojo.version>1.7.2</dojo.version>
  </properties>
  <issueManagement>
    <system>trac</system>
    <url>http://trac.dojotoolkit.org/</url>
  </issueManagement>
  <mailingLists>
    <mailingList>
      <name>dojo-interest</name>
      <subscribe>http://dojotoolkit.org/mailman/listinfo/dojo-interest</subscribe>
      <unsubscribe>http://dojotoolkit.org/mailman/listinfo/dojo-interest</unsubscribe>
      <archive>http://dojotoolkit.org/pipermail/dojo-interest/</archive>
    </mailingList>
    <mailingList>
      <name>dojo-contributors</name>
      <subscribe>http://dojotoolkit.org/mailman/listinfo/dojo-contributors</subscribe>
      <unsubscribe>http://dojotoolkit.org/mailman/listinfo/dojo-contributors</unsubscribe>
      <archive>http://dojotoolkit.org/pipermail/dojo-contributors/</archive>
    </mailingList>
    <mailingList>
      <name>dojo-checkins</name>
      <subscribe>http://dojotoolkit.org/mailman/listinfo/dojo-checkins</subscribe>
      <unsubscribe>http://dojotoolkit.org/mailman/listinfo/dojo-checkins</unsubscribe>
      <archive>http://dojotoolkit.org/pipermail/dojo-checkins/</archive>
    </mailingList>
  </mailingLists>
  <developers>
    <developer>
      <id>gregw</id>
      <name>Greg Wilkins</name>
      <email>gregw@apache.org</email>
      <url>http://www.mortbay.com/mortbay/people/gregw</url>
      <organization>Mort Bay Consulting</organization>
      <organizationUrl>http://www.mortbay.com</organizationUrl>
    </developer>
    <!-- obviously lots more to come here -->
  </developers>
  <licenses>
    <license>
      <name>Academic Free License v2.1</name>
      <url>http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE</url>
    </license>
    <license>
      <name>BSD License</name>
      <url>http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE</url>
    </license>
  </licenses>
  <organization>
    <name>The Dojo Foundation</name>
    <url>http://dojotoolkit.org/foundation</url>
  </organization>

  <repositories>
    <repository>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
        <checksumPolicy>warn</checksumPolicy>
      </snapshots>
      <id>dojoSnapshots</id>
      <name>Dojo Maven2 Snapshot Repository</name>
      <url>http://oss.sonatype.org/content/groups/dojo/</url>
      <layout>default</layout>
    </repository>
  </repositories>
	
  <distributionManagement>
    <repository>
      <id>oss.sonatype.org</id>
      <name>OSS Repository at sonatype</name>
      <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
      <layout>default</layout>
    </repository>
    <snapshotRepository>
      <id>snapshot.oss.sonatype.org</id>
      <name>OSS Snapshot Repository at sonatype</name>
      <url>http://oss.sonatype.org/content/repositories/dojo-snapshots/</url>
      <layout>default</layout>
    </snapshotRepository>
    <!-- none yet 
    <site>
      <id></id>
      <name></name>
      <url></url>
    </site>
    -->
  </distributionManagement>
  <scm>
    <connection>scm:svn:http://svn.dojotoolkit.org/src/maven/tags/dojo-maven-1.7.2</connection>
    <developerConnection>scm:svn:https://svn.dojotoolkit.org/src/maven/tags/dojo-maven-1.7.2</developerConnection>
    <url>scm:svn:https://svn.dojotoolkit.org/src/maven/tags/dojo-maven-1.7.2</url>
  </scm>
  <build>
    <defaultGoal>install</defaultGoal>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <configuration>
          <tagBase>https://svn.dojotoolkit.org/src/maven/tags</tagBase>
          <autoVersionSubmodules>true</autoVersionSubmodules>
          <useReleaseProfile>false</useReleaseProfile>
          <goals>deploy</goals>
          <preparationGoals>clean install</preparationGoals>
          <arguments>-Pdojo-release</arguments>
          <mavenExecutorId>forked-path</mavenExecutorId>
        </configuration>
      </plugin>
    </plugins>
    <pluginManagement>
      <!-- fix plugin versions for repeatable releases -->
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-antrun-plugin</artifactId>
          <version>1.4</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-assembly-plugin</artifactId>
          <version>2.2-beta-5</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>2.3</version>
        </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-deploy-plugin</artifactId>
          <version>2.5</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>2.3</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>2.5</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jxr-plugin</artifactId>
          <version>2.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <version>2.0-beta-7</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-remote-resources-plugin</artifactId>
          <version>1.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-resources-plugin</artifactId>
          <version>2.4.2</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-site-plugin</artifactId>
          <version>2.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
          <version>2.1.1</version>
        </plugin>
         <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.5</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-war-plugin</artifactId>
          <version>2.1-beta-1</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>exec-maven-plugin</artifactId>
          <version>1.0.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <version>2.0.0</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
  <modules>
    <module>dojo</module>
    <module>dojo-war</module>
    <module>dojo-shrinksafe</module>
  </modules>
  <profiles>
    <profile>
      <id>dojo-release</id>
      <activation>
        <property>
          <name>dojoRelease</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <inherited>true</inherited>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-deploy-plugin</artifactId>
            <configuration>
              <updateReleaseInfo>true</updateReleaseInfo>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>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>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
