<?xml version="1.0" encoding="UTF-8"?>
<project>
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.gvsig.mobile</groupId>
		<artifactId>gvsig-base-extension-pom</artifactId>
		<version>1.0-SNAPSHOT</version>
	</parent>
	<groupId>org.gvsig.mobile</groupId>
	<artifactId>org.gvsig.mobile.extension.wms</artifactId>
	<name>org.gvsig.mobile.extension.wms</name>
	<version>1.0.0.SNAPSHOT</version>
	<packaging>bundle</packaging>

	<properties>
		<build-dir>../build</build-dir>
		<project.build.sourceEncoding>ISO-8859-1
		</project.build.sourceEncoding>
	</properties>

	<dependencies>

		<dependency>
			<groupId>org.gvsig.mobile</groupId>
			<artifactId>org.gvsig.mobile.logging</artifactId>
			<version>1.0</version>
		</dependency>
		
		<dependency>
			<groupId>org.gvsig.mobile</groupId>
			<artifactId>org.gvsig.mobile.libProjection</artifactId>	
			<version>0.0.1.SNAPSHOT</version>
		</dependency>

		<dependency>
			<groupId>org.gvsig.mobile</groupId>
			<artifactId>org.gvsig.mobile.core.libraries</artifactId>
			<version>1.0.0.SNAPSHOT</version>
		</dependency>

		<dependency>
			<groupId>org.gvsig.mobile</groupId>
			<artifactId>org.gvsig.mobile.core.GvSigCore</artifactId>
			<version>1.0.0.SNAPSHOT</version>
		</dependency>

		<dependency>
			<groupId>org.apache.felix</groupId>
			<artifactId>org.osgi.core</artifactId>
			<version>1.2.0</version>
		</dependency>

		<dependency>
			<groupId>org.apache.felix</groupId>
			<artifactId>org.osgi.compendium</artifactId>
			<version>1.2.0</version>
		</dependency>
	</dependencies>

	<build>
		<sourceDirectory>src</sourceDirectory>
		<testSourceDirectory>src-test</testSourceDirectory>
		<testResources>
			<testResource>
				<directory>src-test</directory>
			</testResource>
		</testResources>
		<resources>
			<resource>
				<directory>${basedir}/resources</directory>
			</resource>
		</resources>
		<plugins>
			<plugin>    <!-- (2) START -->
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<extensions>true</extensions>
				<configuration>
					<instructions>
						<Bundle-SymbolicName>${pom.artifactId}
						</Bundle-SymbolicName>
						<Bundle-Name>${pom.name}</Bundle-Name>
						<Bundle-Version>${pom.version}</Bundle-Version>
						<Bundle-Activator>
							org.gvsig.mobile.extension.wms.activator.Activator
						</Bundle-Activator>
						<Import-Package>
							org.cresques.cts,
 							org.gvsig.compat,
 							org.gvsig.compat.lang,
 							org.gvsig.compat.net,
 							org.gvsig.compat.print,
 							org.gvsig.fmap.crs,
 							org.gvsig.fmap.dal.exception,
 							org.gvsig.fmap.geom,
 							org.gvsig.fmap.geom.exception,
 							org.gvsig.fmap.geom.primitive,
 							org.gvsig.fmap.mapcontext,
 							org.gvsig.fmap.mapcontext.exceptions,
 							org.gvsig.fmap.mapcontext.layers,
 							org.gvsig.fmap.mapcontext.layers.operations,
 							org.gvsig.fmap.mapcontext.rendering.legend,
 							org.gvsig.i18n,
 							org.gvsig.remoteclient,
 							org.gvsig.remoteclient.exceptions,
 							org.gvsig.remoteclient.utils,
 							org.gvsig.remoteclient.wms,
 							org.gvsig.mobile.core.auxfunctions,
 							org.gvsig.mobile.core.concepts,
 							org.gvsig.mobile.core.extensions.interfaces,
 							org.gvsig.mobile.core.interfaces,
 							org.gvsig.mobile.extension.wms.activator,
 							org.gvsig.mobile.extension.wms.dialog,
 							org.gvsig.mobile.extension.wms.fmap.drivers.wms,
 							org.gvsig.mobile.extension.wms.fmap.exceptions,
 							org.gvsig.mobile.extension.wms.fmap.layers,
 							org.gvsig.mobile.extension.wms.functionality,
 							org.gvsig.mobile.libProjection.impl,
 							org.gvsig.mobile.ui.awt.mapcontrol,
 							org.gvsig.mobile.ui.lw,
 							org.gvsig.tools,			
 							org.gvsig.tools.dynobject,
 							org.gvsig.tools.persistence,
 							org.gvsig.tools.persistence.exception,
 							org.gvsig.tools.task,
 							org.osgi.framework;version="1.3.0",
 							org.osgi.service.wireadmin;version="1.0.0",
 							org.slf4j;version="1.5.5",
 							org.zaval.data,
 							org.zaval.data.event,
 							org.zaval.lw,
 							org.zaval.lw.event,
 							org.zaval.lw.misc,
 							org.zaval.lw.tree,
							!*
						</Import-Package>
						<Export-Package>
							org.gvsig.mobile.extension.wms.*
						</Export-Package>
						<Bundle-RequiredExecutionEnvironment>
							J2SE-1.4
						</Bundle-RequiredExecutionEnvironment>
					</instructions>
					<manifestLocation>${basedir}/META-INF</manifestLocation>
				</configuration>
			</plugin>
		</plugins>
	</build>

</project>
