<?xml version="1.0" encoding="UTF-8"?>

<!--
  ~ Copyright 2006-2007 Nicolas De Loof.
  ~
  ~ Licensed 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">
<!--
  <parent>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>mojo-sandbox</artifactId>
    <version>5-SNAPSHOT</version>
  </parent>
-->
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.devspan.mojo.javascript</groupId>
  <artifactId>javascript-maven-tools</artifactId>
  <packaging>pom</packaging>
  <name>Maven tools for JavaScript developers</name>
  <version>0.9.3</version>
  <url>http://mojo.codehaus.org/javascript-maven-tools</url>

  <description>
      A set of tools to bring maven support to JavaScript developpers.
  </description>
    
  <licenses>
    <license>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <name>Apache 2.0</name>
      <distribution>repo</distribution>
    </license>
  </licenses>    

  <modules>
	<module>javascript-project</module>
	<module>javascript-compressor</module>
    <module>javascript-maven-archive</module>
    <module>javascript-maven-plugin</module>
    <module>javascript-report-maven-plugin</module>
  </modules>

  <developers>
    <developer>
      <id>ndeloof</id>
      <email>nicolas.deloof@gmail.com</email>
      <timezone>+1</timezone>
      <url>http://blof.loof.fr</url>
    </developer>
	<developer>
      <id>harlanji</id>
      <email>h.iverson@gmail.com</email>
      <timezone>-6</timezone>
      <url>http://blog.devspan.com</url>
    </developer>
  </developers>

    
  <scm>
	<connection>scm:git:git://github.com/harlanji/javascript-maven-tools.git</connection>
	<developerConnection>scm:git:git://github.com/harlanji/javascript-maven-tools.git</developerConnection>
	<url>http://github.com/harlanji/javascript-maven-tools</url>
  </scm>    

  <repositories>
    <repository>
      <id>sonatype-oss</id>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <url>https://oss.sonatype.org/content/groups/public</url>
    </repository>
  </repositories>

	<distributionManagement>
		<snapshotRepository>
			<id>sonatype-oss-snapshots</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
		</snapshotRepository>
	</distributionManagement>


	<profiles>
		<profile>
			<id>release-sign-artifacts</id>
			<activation>
				<property>
				<name>performRelease</name>
					<value>true</value>
				</property>
			</activation>

			<distributionManagement>
				<repository>
					<id>sonatype-oss-staging</id>
					<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
				</repository>
			</distributionManagement>

			<build>
				<plugins>
					<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>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.codehaus.plexus</groupId>
        <artifactId>plexus-utils</artifactId>
        <version>1.5.9</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>2.0.2</version>
          <configuration>
            <source>1.5</source>
            <target>1.5</target>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
</project>

