<!--
- Copyright (c) 2012-2014 Red Hat Inc.
- All rights reserved. This program and the accompanying materials
- are made available under the terms of the Eclipse Public License v1.0
- which accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html
-
- Contributors:
- Mickael Istria (JBoss by Red Hat) - Initial API and implementation
- Nick Boldt (JBoss by Red Hat) - contributions
-->
<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.jboss.tools</groupId>
	<artifactId>tycho-plugins</artifactId>
	<packaging>pom</packaging>
	<version>0.21.2-SNAPSHOT</version>
	<name>jbosstools-tycho-plugins-parent</name>
        <description>In-House Maven plugins for JBT/JBDS build</description>
        <url>http://jboss.org/tools</url>
        <licenses>
	  <license>
	    <name>Eclipse Public License</name>
	    <url>http://www.eclipse.org/legal/epl-v10.html</url>
	  </license>
	</licenses>
 
        <scm>
           <connection>scm:git:git://git@github.com:jbosstools/jbosstools-maven-plugins.git</connection>
           <developerConnection>scm:git:ssh://git@github.com:jbosstools/jbosstools-maven-plugins.git</developerConnection>
           <url>git://github.com/jbosstools/jbosstools-maven-plugins.git</url>
        </scm>

        <developers>
           <developer>
	     <id>tools.jboss.org</id>
             <name>JBoss Tools</name>
	     <organization>jboss.org/tools</organization>
	     <organizationUrl>http://jboss.org/tools</organizationUrl>
	   </developer>
	</developers>

	<properties>
		<tychoVersion>0.21.0</tychoVersion>
	</properties>

	<modules>
		<module>repository-utils</module>
		<module>discovery-utils</module>
		<module>target-platform-utils</module>
		<module>tycho-dependency-plugin</module>
	</modules>

	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<configuration>
						<compilerVersion>1.5</compilerVersion>
						<target>1.5</target>
						<source>1.5</source>
					</configuration>
				</plugin>
				<plugin>
        			<groupId>org.apache.maven.plugins</groupId>
        			<artifactId>maven-plugin-plugin</artifactId>
        			<version>3.3</version>
        			<configuration>
          				<!-- see http://jira.codehaus.org/browse/MNG-5346 -->
          				<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
        			</configuration>
        			<executions>
          				<execution>
            				<id>mojo-descriptor</id>
            				<goals>
              					<goal>descriptor</goal>
            				</goals>
          				</execution>
          			</executions>
          		</plugin>
			</plugins>
		</pluginManagement>
	</build>

	<dependencies>
	    <dependency>
	      <groupId>org.apache.maven</groupId>
	      <artifactId>maven-plugin-api</artifactId>
	      <version>3.0</version>
	    </dependency>
	    <dependency>
	      <groupId>org.apache.maven</groupId>
	      <artifactId>maven-core</artifactId>
	      <version>3.0</version>
	    </dependency>
	    <dependency>
	      <groupId>org.apache.maven.plugin-tools</groupId>
	      <artifactId>maven-plugin-annotations</artifactId>
	      <version>3.3</version>
	      <scope>provided</scope>
	    </dependency>
	    <dependency>
	    	<groupId>org.codehaus.plexus</groupId>
	    	<artifactId>plexus-component-annotations</artifactId>
	    	<version>1.5.4</version>
	    </dependency>
	    <dependency>
	      <groupId>junit</groupId>
	      <artifactId>junit</artifactId>
	      <version>4.7</version>
	      <scope>test</scope>
	    </dependency>
	    <dependency>
			<groupId>org.apache.maven.plugin-testing</groupId>
			<artifactId>maven-plugin-testing-harness</artifactId>
			<version>1.2</version>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<!-- To deploy to Nexus -->
	<!-- Don't change "id" since it should match credentials entry in $M2_REPO/settings.xml -->
	<distributionManagement>
		<snapshotRepository>
			<id>jboss-snapshots-repository</id>
			<name>JBoss Snapshots Repository</name>
			<url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
			<uniqueVersion>false</uniqueVersion>
		</snapshotRepository>
		<repository>
			<id>jboss-staging-repository</id>
			<name>JBoss Staging Repository</name>
			<uniqueVersion>false</uniqueVersion>
			<url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

</project>
