<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.bridgedb</groupId>
  <artifactId>bridgedb-bundle</artifactId>
  <packaging>pom</packaging>
  <name>BridgeDb bundle</name>
  <version>1.0.3</version>
  <modules>
    <module>org.bridgedb</module>
    <module>org.bridgedb.bio</module>
<!--    <module>org.bridgedb.gui</module>-->
    <module>org.bridgedb.rdb</module>
    <module>org.bridgedb.rdb.construct</module>
    <module>org.bridgedb.webservice.bridgerest</module>
    <!--<module>org.bridgedb.webservice.biomart</module>
    <module>org.bridgedb.webservice.cronos</module>
    <module>org.bridgedb.webservice.picr</module>
    <module>org.bridgedb.webservice.synergizer</module>
    <module>examples</module>
    <module>org.bridgedb.server</module>-->
  </modules>
  
  	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<artifactId>maven-compiler-plugin</artifactId>
					<configuration>
						<source>1.6</source>
						<target>1.6</target>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>
	
  	<dependencies>
  		<dependency>
  			<groupId>junit</groupId>
  			<artifactId>junit</artifactId>
  			<version>4.4</version>
  			<scope>test</scope>
  		</dependency>
  	</dependencies>
  	
  	<profiles>
		<profile>
			<id>local</id>
			<!-- use as: mvn deploy -Plocal -->
			<distributionManagement>
				<snapshotRepository>
					<id>biopax.snapshots</id>
					<name>Local BioPAX Snapshots Repository</name>
					<url>${local.biopax.m2repo}/snapshots</url>
				</snapshotRepository>
				<repository>
					<id>biopax.releases</id>
					<name>Local BioPAX Repository</name>
					<url>${local.biopax.m2repo}/releases</url>
				</repository>
			</distributionManagement>
		</profile>
		<profile>
			<id>uoft</id>
			<distributionManagement>
				<repository>
					<id>nexus.cs.toronto.edu</id>
					<name>Maven2 Remote Repository for Releases</name>
					<url>http://nexus.cs.toronto.edu/nexus/content/repositories/externals</url>
				</repository>
			</distributionManagement>
		</profile>
	</profiles>
</project>
