<?xml version="1.0" encoding="UTF-8"?>
<project
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
        xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  
  <parent>
    <groupId>org.fusesource.ide</groupId>
    <artifactId>project</artifactId>
    <version>7.2.129</version>
  </parent>

  <modelVersion>4.0.0</modelVersion>

  <artifactId>ide-parent</artifactId>

  <packaging>pom</packaging>
  <name>Fuse Plugins for Eclipse</name>

  <url>http://fusesource.com/products/fuse-ide/</url>

  <organization>
    <name>Red Hat</name>
    <url>http://www.redhat.com</url>
  </organization>

  <properties>
    <commons-net.version>3.2</commons-net.version>
    <slf4j-version>1.7.0</slf4j-version>
    <google-guava-version>13.0.1</google-guava-version>		
    <drools.updatesite.version>5.5.0.Final</drools.updatesite.version>		
		
    <spring3-version>3.1.3.RELEASE</spring3-version>
    <scala.library.version>${scala-version}</scala.library.version>
    <aries-version>${aries-blueprint-version}</aries-version>
    <aries-quiesce-version>1.0.0</aries-quiesce-version>
    <aries-proxy-version>1.0.0</aries-proxy-version>
    <commons-management-version>1.0</commons-management-version>
    <aopalliance-bundle-version>1.0_3</aopalliance-bundle-version>
    <jaxb-bundle-version>2.1.13_1</jaxb-bundle-version>
    <jettison-version>1.2</jettison-version>

    <!-- TODO update -->
    <nmr-version>1.5.0-fuse-00-39</nmr-version>
    <ide-version>7.2.129</ide-version>
    <servicemix-specs-version>1.6.0</servicemix-specs-version>
    <spring-osgi-version>1.2.1</spring-osgi-version>
<!--
    not sure this dependency works for camel-spring?
    <spring-osgi-version>2.0.0.M2-SNAPSHOT</spring-osgi-version>
-->

    <jbtis.version>4.0.0-SNAPSHOT</jbtis.version>

    <tycho-version>0.16.0</tycho-version>
    <m2e.group.id>org.eclipse.tycho</m2e.group.id>
  </properties>


  <distributionManagement>
    <repository>
      <id>fusesource-nexus-staging</id>
      <name>Fusesource Release Repository</name>
      <!-- <url>http://repo.fusesource.com/nexus/service/local/staging/deploy/maven2</url>
         <url>dav:http://fusesource.com/forge/dav/rider/update/${project.version}</url> -->
      <url>scpexe://repo.fusesource.com/www/repo.fusesource.com/beta/ide-2.x</url>
    </repository>
    <snapshotRepository>
      <id>fusesource-nexus-snapshots</id>
      <name>Fusesource Nexus Snapshots</name>
      <!-- <url>http://repo.fusesource.com/nexus/content/repositories/subscriber-snapshot</url>
         <url>dav:http://fusesource.com/forge/dav/rider/update-snapshot/${project.version}</url> -->
      <url>scpexe://repo.fusesource.com/www/repo.fusesource.com/beta/ide-2.x</url>
    </snapshotRepository>
    <site>
      <id>website.fusesource.org</id>
      <name>website</name>
      <url>dav:http://fusesource.com/forge/dav/rider/maven/${project.version}</url>
    </site>
  </distributionManagement>

  <build>
    <plugins>
  	   <plugin>
          <artifactId>maven-remote-resources-plugin</artifactId>
          <version>1.0</version>
          <dependencies>
              <dependency>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-build</artifactId>
                  <version>1.0</version>
              </dependency>
          </dependencies>
          <executions>
              <execution>
                  <goals>
                     <goal>process</goal>
                  </goals>
                  <configuration>
                      <resourceBundles>
                          <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
                      </resourceBundles>
                      <supplementalModels>
                          <supplementalModel>notice-supplements.xml</supplementalModel>
                      </supplementalModels>
                      <properties>
                          <projectName>Fuse IDE</projectName>
                      </properties>
                  </configuration>
              </execution>
          </executions>
	</plugin>
      <plugin>
	      <groupId>${m2e.group.id}</groupId>
	         <artifactId>tycho-versions-plugin</artifactId>
	      <version>${tycho-version}</version>
      </plugin>
      <plugin>
		<groupId>${m2e.group.id}</groupId>
		<artifactId>tycho-surefire-plugin</artifactId>
		<version>${tycho-version}</version>
		<configuration>
			<useUIThread>true</useUIThread>
			<bundleStartLevel>
				<bundle>
					<id>org.eclipse.equinox.ds</id>
					<level>1</level>
					<autoStart>true</autoStart>
				</bundle>
			</bundleStartLevel>
		</configuration>
   	  </plugin>
      <plugin>
        <groupId>${m2e.group.id}</groupId>
        <artifactId>tycho-maven-plugin</artifactId>
        <version>${tycho-version}</version>
        <extensions>true</extensions>
      </plugin>
      <plugin>
        <groupId>${m2e.group.id}</groupId>
        <artifactId>tycho-compiler-plugin</artifactId>
        <version>${tycho-version}</version>
        <configuration>
          <source>1.6</source>
          <target>1.6</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>${m2e.group.id}</groupId>
        <artifactId>target-platform-configuration</artifactId>
        <version>${tycho-version}</version>
        <configuration>
          <resolver>p2</resolver>
          <pomDependencies>consider</pomDependencies>
          <target>
            <artifact>
              <groupId>org.fusesource.ide</groupId>
              <artifactId>org.fusesource.ide.targetplatform</artifactId>
              <version>${project.version}</version>
              <classifier>indigo_dev</classifier>
            </artifact>
          </target>
          <ignoreTychoRepositories>false</ignoreTychoRepositories>
          <environments> 
             <environment>
                <os>win32</os>
                <ws>win32</ws>
                <arch>x86</arch>
             </environment>
             <environment>
                <os>linux</os>
                <ws>gtk</ws>
                <arch>x86_64</arch>
             </environment>
             <environment>
                <os>linux</os>
                <ws>gtk</ws>
                <arch>x86</arch>
             </environment>
             <environment>
                <os>macosx</os>
                <ws>cocoa</ws>
                <arch>x86</arch>
             </environment>
             <environment>
                <os>macosx</os>
                <ws>cocoa</ws>
                <arch>x86_64</arch>
             </environment>
          </environments>
        </configuration>
      </plugin>
      <!-- necessary to omit the maven pom.xml inside the generated jar files -->
      <plugin>
          <groupId>${m2e.group.id}</groupId>
          <artifactId>tycho-packaging-plugin</artifactId>
          <version>${tycho-version}</version>
          <configuration>
              <!--  <includeSources>true</includeSources> -->
              <format>'v'yyyyMMdd-HHmm'-LOCAL'</format>
              <archiveSite>true</archiveSite>
              <archive>
                  <addMavenDescriptor>false</addMavenDescriptor>
              </archive>
              <strictVersions>true</strictVersions>
          </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>commons-pool</groupId>
      <artifactId>commons-pool</artifactId>
      <version>1.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.javax-inject</artifactId>
      <version>1_2</version>
    </dependency>
    <dependency>
      <groupId>org.eclipse.jetty.orbit</groupId>
      <artifactId>javax.annotation</artifactId>
      <version>1.1.0.v201108011116</version>
    </dependency>
    <dependency>
      <groupId>org.fusesource.commonman</groupId>
      <artifactId>commons-management</artifactId>
      <version>${commons-management-version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-asm</artifactId>
      <version>${spring3-version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-aop</artifactId>
      <version>${spring3-version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-aspects</artifactId>
      <version>${spring3-version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
      <version>${spring3-version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-beans</artifactId>
      <version>${spring3-version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
      <version>${spring3-version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context-support</artifactId>
      <version>${spring3-version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-expression</artifactId>
      <version>${spring3-version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-tx</artifactId>
      <version>${spring3-version}</version>
    </dependency>
    <dependency>
      <groupId>commons-net</groupId>
      <artifactId>commons-net</artifactId>
      <version>${commons-net.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.aopalliance</artifactId>
      <version>${aopalliance-bundle-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.cglib</artifactId>
      <version>2.2_2</version>
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <version>${google-guava-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-core</artifactId>
      <version>${camel-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-blueprint</artifactId>
      <version>${camel-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-spring</artifactId>
      <version>${camel-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-core-xml</artifactId>
      <version>${camel-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-core-osgi</artifactId>
      <version>${camel-version}</version>
    </dependency>

    <!-- spring osgi / dm -->
    <dependency>
      <groupId>org.springframework.osgi</groupId>
      <artifactId>spring-osgi-core</artifactId>
      <version>${spring-osgi-version}</version>
      <exclusions>
        <exclusion>
          <groupId>org.springframework</groupId>
          <artifactId>org.springframework.aop</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.springframework</groupId>
          <artifactId>org.springframework.beans</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.springframework</groupId>
          <artifactId>org.springframework.context</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.springframework</groupId>
          <artifactId>org.springframework.core</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.springframework.osgi</groupId>
      <artifactId>spring-osgi-annotation</artifactId>
      <version>${spring-osgi-version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework.osgi</groupId>
      <artifactId>spring-osgi-io</artifactId>
      <version>${spring-osgi-version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework.osgi</groupId>
      <artifactId>spring-osgi-extender</artifactId>
      <version>${spring-osgi-version}</version>
    </dependency>

    <!-- activemq -->
    <dependency>
        <groupId>org.apache.activemq</groupId>
        <artifactId>activemq-osgi</artifactId>
        <version>${activemq-version}</version>
    </dependency>
    <!-- TODO this should be optional -->
    <dependency>
        <groupId>org.apache.activemq</groupId>
        <artifactId>activemq-karaf</artifactId>
        <version>${activemq-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.xbean</groupId>
      <artifactId>xbean-spring</artifactId>
      <version>3.12</version>
    </dependency>    
    <dependency>
      <groupId>org.codehaus.jettison</groupId>
      <artifactId>jettison</artifactId>
      <version>${jettison-version}</version>
    </dependency>  
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-jms_1.1_spec</artifactId>
      <version>1.1.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
      <version>1.0.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-annotation_1.0_spec</artifactId>
      <version>1.1.1</version>
    </dependency>
    <!-- HACK - temp hack around dodgy dependencies in ActiveMQ-core... -->
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.xmlpull</artifactId>
      <version>1.1.3.1_2</version>
    </dependency>
    
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>fabric-activemq-facade</artifactId>
      <version>${fmc-version}</version>
    </dependency>
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>fabric-camel-facade</artifactId>
      <version>${fmc-version}</version>
    </dependency>
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>fabric-servicemix-facade</artifactId>
      <version>${fmc-version}</version>
    </dependency>

    <!-- servicemix facade -->
    <dependency>
      <groupId>org.apache.servicemix.nmr</groupId>
      <artifactId>org.apache.servicemix.nmr.api</artifactId>
      <version>${nmr-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.nmr</groupId>
      <artifactId>org.apache.servicemix.nmr.management</artifactId>
      <version>${nmr-version}</version>
    </dependency>

    <!-- fabric -->
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.enterprise</artifactId>
      <version>4.2.0</version>
    </dependency>
<!--
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      <version>4.3.0</version>
    </dependency>
-->
    <dependency>
      <groupId>org.fusesource.insight</groupId>
      <artifactId>insight-log</artifactId>
      <version>${fabric-version}</version>
    </dependency>
		<!--
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>fabric-core</artifactId>
      <version>${fabric-version}</version>
    </dependency>
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>fabric-core-agent-jclouds</artifactId>
      <version>${fabric-version}</version>
      <exclusions>
        <exclusion>
          <groupId>org.jclouds</groupId>
          <artifactId>jclouds-compute</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.jclouds.provider</groupId>
          <artifactId>aws-ec2</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>fabric-core-agent-ssh</artifactId>
      <version>${fabric-version}</version>
    </dependency>
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>fabric-maven-proxy</artifactId>
      <version>${fabric-version}</version>
    </dependency>
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>fabric-groups</artifactId>
      <version>${fabric-version}</version>
    </dependency>
		-->
    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-core-asl</artifactId>
      <version>${jackson-version}</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-mapper-asl</artifactId>
      <version>${jackson-version}</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-jaxrs</artifactId>
      <version>${jackson-version}</version>
    </dependency>

      <dependency>
        <groupId>org.fusesource.fabric</groupId>
        <artifactId>fabric-linkedin-zookeeper</artifactId>
        <version>${fabric-version}</version>
      </dependency>
      <!--
      <dependency>
        <groupId>org.fusesource.fabric</groupId>
        <artifactId>fabric-zookeeper-spring</artifactId>
        <version>${fabric-version}</version>
      </dependency>
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>fabric-zookeeper</artifactId>
      <version>${fabric-version}</version>
    </dependency>
		-->

    <dependency>
      <groupId>org.apache.xerces</groupId>
      <artifactId>xml-apis</artifactId>
      <version>${xml.api.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.xerces</groupId>
      <artifactId>xercesImpl</artifactId>
      <version>${xerces.version}</version>
    </dependency>

    <!-- karaf stuff -->
    <dependency>
      <groupId>org.apache.karaf</groupId>
      <artifactId>org.apache.karaf.util</artifactId>
      <version>${karaf-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.karaf.management</groupId>
      <artifactId>org.apache.karaf.management.server</artifactId>
      <version>${karaf-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.karaf.shell</groupId>
      <artifactId>org.apache.karaf.shell.console</artifactId>
      <version>${karaf-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.karaf.shell</groupId>
      <artifactId>org.apache.karaf.shell.log</artifactId>
      <version>${karaf-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.karaf.shell</groupId>
      <artifactId>org.apache.karaf.shell.obr</artifactId>
      <version>${karaf-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.karaf.admin</groupId>
      <artifactId>org.apache.karaf.admin.management</artifactId>
      <version>${karaf-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.karaf.admin</groupId>
      <artifactId>org.apache.karaf.admin.core</artifactId>
      <version>${karaf-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.karaf.jaas</groupId>
      <artifactId>org.apache.karaf.jaas.modules</artifactId>
      <version>${karaf-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.karaf.jaas</groupId>
      <artifactId>org.apache.karaf.jaas.config</artifactId>
      <version>${karaf-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.karaf.jaas</groupId>
      <artifactId>org.apache.karaf.jaas.boot</artifactId>
      <version>${karaf-version}</version>
    </dependency>

    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.apache.felix.bundlerepository</artifactId>
      <version>1.6.4</version>
    </dependency>
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.apache.felix.gogo.runtime</artifactId>
      <version>0.10.0</version>
    </dependency>

    <dependency>
      <groupId>org.apache.mina</groupId>
      <artifactId>mina-core</artifactId>
      <version>2.0.5</version>
    </dependency>
    <dependency>
      <groupId>org.apache.aries</groupId>
      <artifactId>org.apache.aries.util</artifactId>
      <version>${aries-util-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.aries.blueprint</groupId>
      <artifactId>org.apache.aries.blueprint</artifactId>
      <version>${aries-blueprint-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.aries.blueprint</groupId>
      <artifactId>org.apache.aries.blueprint.core</artifactId>
      <version>${aries-blueprint-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.aries.blueprint</groupId>
      <artifactId>org.apache.aries.blueprint.annotation.api</artifactId>
      <version>${aries-blueprint-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.aries.blueprint</groupId>
      <artifactId>org.apache.aries.blueprint.annotation.impl</artifactId>
      <version>${aries-blueprint-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.aries.quiesce</groupId>
      <artifactId>org.apache.aries.quiesce.api</artifactId>
      <version>${aries-quiesce-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.aries.quiesce</groupId>
      <artifactId>org.apache.aries.quiesce.manager</artifactId>
      <version>${aries-quiesce-version}</version>
    </dependency>
    
    <dependency>
      <groupId>org.apache.aries.proxy</groupId>
      <artifactId>org.apache.aries.proxy.api</artifactId>
      <version>${aries-proxy-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.aries.proxy</groupId>
      <artifactId>org.apache.aries.proxy.impl</artifactId>
      <version>${aries-proxy-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.aries.jmx</groupId>
      <artifactId>org.apache.aries.jmx.core</artifactId>
      <version>${aries-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.aries.jmx</groupId>
      <artifactId>org.apache.aries.jmx.blueprint</artifactId>
      <version>${aries-version}</version>
    </dependency>

    <dependency>
      <groupId>org.linkedin</groupId>
      <artifactId>org.linkedin.zookeeper-impl</artifactId>
      <version>${linkedin-zookeeper-version}</version>
      <exclusions>
          <exclusion>
              <groupId>com.sun.jdmk</groupId>
              <artifactId>jmxtools</artifactId>
          </exclusion>
          <exclusion>
              <groupId>com.sun.jmx</groupId>
              <artifactId>jmxri</artifactId>
          </exclusion>
      </exclusions>
    </dependency>

    <!-- rider and scalate -->
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>camel-tooling-util</artifactId>
      <version>${fabric-version}</version>
    </dependency>
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>tooling-jclouds-all</artifactId>
      <version>${fabric-jclouds-version}</version>
    </dependency>
    <dependency>
      <groupId>org.fusesource.fabric</groupId>
      <artifactId>tooling-fabric-all</artifactId>
      <version>${fabric-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.bundles</groupId>
      <artifactId>org.apache.servicemix.bundles.commons-io</artifactId>
      <version>${commons-io-version}</version>
    </dependency>

    <dependency>
      <groupId>org.fusesource.scalate</groupId>
      <artifactId>scalate-util</artifactId>
      <version>${scalate-version}</version>
    </dependency>

    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>${slf4j-version}</version>
    </dependency>

    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>log4j-over-slf4j</artifactId>
      <version>${slf4j-version}</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-simple</artifactId>
      <version>${slf4j-version}</version>
    </dependency>

    <dependency>
      <groupId>com.weiglewilczek.scala-lang-osgi</groupId>
      <artifactId>scala-library</artifactId>
      <version>${scala.library.version}</version>
    </dependency>

    <!--  http client -->
    <dependency>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-core</artifactId>
      <version>${jersey-version}</version>
    </dependency>
    <dependency>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-server</artifactId>
      <version>${jersey-version}</version>
    </dependency>
    <dependency>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-client</artifactId>
      <version>${jersey-version}</version>
    </dependency>

    <dependency>
      <groupId>javax.ws.rs</groupId>
      <artifactId>jsr311-api</artifactId>
      <version>1.1.1</version>
    </dependency>
    
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junit-version}</version>
    </dependency>
  </dependencies>

  <repositories>
<!--
    <repository>
      <id>fusesource-nexus-snapshots</id>
      <name>Fusesource Nexus Snapshots</name>
      <url>http://repo.fusesource.com/nexus/content/repositories/subscriber-snapshot</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases>
        <enabled>false</enabled>
      </releases>
    </repository>
-->
    <repository>
      <id>fusesource.m2</id>
      <name>FuseSource Community Release Repository</name>
      <url>http://repo.fusesource.com/nexus/content/repositories/public</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <releases>
        <enabled>true</enabled>
      </releases>
    </repository>
    <repository>
      <id>release.fusesource.org</id>
      <name>FuseSource Release Repository</name>
      <url>http://repo.fusesource.com/nexus/content/repositories/releases</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <releases>
        <enabled>true</enabled>
      </releases>
    </repository>
    <repository>
      <id>ea.fusesource.org</id>
      <name>FuseSource Early Access Repository</name>
      <url>http://repo.fusesource.com/nexus/content/groups/ea</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <releases>
        <enabled>true</enabled>
      </releases>
    </repository>
    <repository>
      <id>fusesource-snapshots</id>
      <name>fusesource-snapshots</name>
      <url>http://repo.fusesource.com/nexus/content/groups/public-snapshots</url>
      <snapshots><enabled>true</enabled></snapshots>
      <releases><enabled>false</enabled></releases>
    </repository>

    <repository>
      <id>com.springsource.repository.bundles.release</id>
      <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
      <url>http://repository.springsource.com/maven/bundles/release</url>
    </repository>

    <repository>
      <id>com.springsource.repository.bundles.external</id>
      <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
      <url>http://repository.springsource.com/maven/bundles/external</url>
    </repository>

    <repository>
      <id>com.springsource.repository.libraries.release</id>
      <name>SpringSource Enterprise Bundle Repository - SpringSource Library Releases</name>
      <url>http://repository.springsource.com/maven/libraries/release</url>
    </repository>
    <repository>
      <id>com.springsource.repository.bundles.snapshot</id>
      <name>EBR Spring Snapshot Repository</name>
      <url>http://repository.springsource.com/maven/bundles/snapshot</url>
    </repository>
    <repository>
      <id>org.springsource.maven.snapshot</id>
      <name>SpringSource Maven Snapshot Repository</name>
      <url>http://maven.springframework.org/snapshot</url>
    </repository>

    <!-- ServiceMix Maven 2 repository: -->
    <repository>
      <id>servicemix.m2-repo</id>
      <name>ServiceMix Maven 2 repository</name>
      <url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url>
      <releases>
          <enabled>true</enabled>
      </releases>
      <snapshots>
          <enabled>false</enabled>
      </snapshots>
    </repository>
      <repository>
        <id>release-proxy.fusesource.org</id>
        <name>FuseSource Release Proxy Repository</name>
        <url>http://repo.fusesource.com/nexus/content/groups/m2-release-proxy</url>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
        <releases>
          <enabled>true</enabled>
        </releases>
      </repository>
<!--
    <repository>
      <id>fusesource-nexus-snapshots</id>
      <name>Fusesource Nexus Snapshots</name>
      <url>http://repo.fusesource.com/nexus/content/repositories/subscriber-snapshot</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases>
        <enabled>false</enabled>
      </releases>
    </repository>
-->

    <repository>
      <id>fusesource-nexus-snapshots</id>
      <name>Fusesource Nexus Snapshots</name>
      <url>http://download.jboss.org/drools/release/${drools.updatesite.version}/org.drools.updatesite</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases>
        <enabled>true</enabled>
      </releases>
    </repository>
  </repositories>

  <pluginRepositories>
    <pluginRepository>
      <id>release-proxy.fusesource.org</id>
      <name>FuseSource Release Proxy Repository</name>
      <url>http://repo.fusesource.com/nexus/content/groups/m2-release-proxy</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <releases>
        <enabled>true</enabled>
      </releases>
    </pluginRepository>
    <pluginRepository>
      <id>release.fusesource.org</id>
      <name>FuseSource Release Repository</name>
      <url>http://repo.fusesource.com/nexus/content/repositories/releases</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <releases>
        <enabled>true</enabled>
      </releases>
    </pluginRepository>
    <pluginRepository>
      <id>ea.fusesource.org</id>
      <name>FuseSource Early Access Repository</name>
      <url>http://repo.fusesource.com/nexus/content/groups/ea</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <releases>
        <enabled>true</enabled>
      </releases>
    </pluginRepository>
	  <pluginRepository>
      <id>m2eclipse-snapshot</id>
      <url>https://repository.sonatype.org/content/repositories/snapshots</url>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>daily</updatePolicy>
      </snapshots>
      <releases>
        <enabled>false</enabled>
      </releases>
    </pluginRepository>
  </pluginRepositories>

  <profiles>
    <profile>
      <id>sign</id>
      <!-- To sign plug-ins and features, run: mvn -Psign -Dkeystore=<path>
         -Dstorepass=*** -Dalias=<keyalias> clean install -->
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-jar-plugin</artifactId>
              <version>2.3.1</version>
              <executions>
                <execution>
                  <goals>
                    <goal>sign</goal>
                  </goals>
                </execution>
              </executions>
              <configuration>
                <verify>true</verify>
                <jarPath>${project.build.directory}/${project.build.finalName}.jar</jarPath>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>default-tools.jar</id>
      <activation>
        <property>
          <name>java.vendor</name>
          <value>Sun Microsystems Inc.</value>
        </property>
      </activation>
      <dependencies>
        <dependency>
          <groupId>com.sun</groupId>
          <artifactId>tools</artifactId>
          <version>1.6</version>
          <scope>system</scope>
          <!-- assumes JAVA_HOME is set to the JDK dir? -->
          <systemPath>${java.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    </profile> 
    <profile>
      <id>hudson</id>
      <activation>
        <property>
          <name>BUILD_NUMBER</name>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>tycho-packaging-plugin</artifactId>
            <version>${tycho-version}</version>
            <configuration>
              <format>'v'yyyyMMdd-HHmm'-H${BUILD_NUMBER}-${BUILD_ALIAS}'</format>
              <archiveSite>true</archiveSite>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

  <modules>
    <module>org.fusesource.ide.commons</module>

    <module>org.fusesource.ide.zk.core</module>
    <module>org.fusesource.ide.zk.jmx</module>
    <module>org.fusesource.ide.zk.zookeeper</module>

    <module>org.fusesource.ide.preferences</module>
    <module>org.fusesource.ide.maven</module>
    <module>org.fusesource.ide.cheatsheets</module>
    <module>org.fusesource.ide.graph</module>
    <module>org.fusesource.ide.jvmmonitor.core</module>
    <module>org.fusesource.ide.jvmmonitor.tools</module>
    <module>org.fusesource.ide.jvmmonitor.ui</module>

    <module>org.fusesource.ide.jmx.core</module>
    <module>org.fusesource.ide.jmx.ui</module>
    <module>org.fusesource.ide.jmx.local</module>
    <module>org.fusesource.ide.camel.model</module>
    <module>org.fusesource.ide.fabric</module>
    <module>org.fusesource.ide.fabric.activemq</module>
    <module>org.fusesource.ide.fabric.camel</module>
    <module>org.fusesource.ide.fabric.servicemix</module>
    <module>org.fusesource.ide.catalogs</module>
    <module>org.fusesource.ide.branding</module>
    <module>org.fusesource.ide.deployment</module>
    <module>org.fusesource.ide.camel.editor</module>
    <module>org.fusesource.ide.help</module>
    <module>org.fusesource.ide.launcher</module>
    <module>org.fusesource.ide.launcher.ui</module>
    <module>org.fusesource.ide.project</module>
    <module>org.fusesource.ide.server.karaf.core</module>
    <module>org.fusesource.ide.server.karaf.ui</module>
    <module>org.fusesource.ide.server.karaf.view</module>

    <!-- stuff once we've built all the modules.. -->
    <module>org.fusesource.ide.feature</module>
    <module>org.fusesource.ide.updatesite</module>
    <module>org.fusesource.ide.targetplatform</module>

    <!--  tests -->
    <module>org.fusesource.ide.camel.editor.tests</module>
    <module>org.fusesource.ide.camel.model.tests</module>
    <module>org.fusesource.ide.fabric.tests</module>

  </modules>

</project>
