<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>es.dalocar.software</groupId>
	<artifactId>FacturaMasIGU</artifactId>
	<version>0.0.1-SNAPSHOT</version>

	<build>
		<finalName>FacturaMAS</finalName>

		<resources>

			<!--
				<resource> <directory>src/main/java</directory> <excludes>
				<exclude>**/*.java</exclude> <exclude>*.properties*</exclude>
				<exclude>*xml*</exclude> <exclude>*sample*</exclude>
				<exclude>**/*.bak</exclude> </excludes> </resource>
			-->
			<resource>
				<directory>src/main/resources</directory>
				<includes>
					<include>**/*.jasper</include>
					<include>**/*.gif</include>
					<include>**/*.jpg</include>
				</includes>
			</resource>
		</resources>

		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<configuration>
					<descriptorSourceDirectory>src/main/assembly</descriptorSourceDirectory>
				</configuration>
			</plugin>
			<!-- Creación del archivo exe -->

			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<executions>
					<execution>
						<phase>package</phase>
						<configuration>
							<tasks>
								<ant dir="src/main/exe" inheritRefs="true">
									<target name="exe" />
								</ant>
							</tasks>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
	<plugin>
		<artifactId>maven-jar-plugin</artifactId>
		<configuration>
			<archive>
				<manifestEntries>
					<Class-Path>classes/</Class-Path>
				</manifestEntries>
				<manifest>
					<mainClass>es.dalocar.facturamas.swt.MainComposite</mainClass>
					<addClasspath>true</addClasspath>
					<classpathPrefix>lib/</classpathPrefix>
				</manifest>
			</archive>
		</configuration>
	</plugin>



		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>es.dalocar.software</groupId>
			<artifactId>FacturaMas</artifactId>
			<version>0.0.1-SNAPSHOT</version>
		</dependency>
		<!--
			SWT <dependency> <groupId>org.eclipse</groupId>
			<artifactId>swt</artifactId> <version>3.3.2</version> </dependency>
		-->
		<dependency>
			<groupId>swt</groupId>
			<artifactId>jface</artifactId>
			<version>3.0.1</version>
		</dependency>
		<dependency>
			<groupId>com.jroller</groupId>
			<artifactId>gface</artifactId>
			<version>0.9.1</version>
		</dependency>
		<dependency>
			<groupId>jasperreports</groupId>
			<artifactId>jasperreports</artifactId>
			<version>3.5.3</version>
		</dependency>
		<dependency>
			<groupId>es.dalocar.software</groupId>
			<artifactId>appskeleton</artifactId>
			<version>0.6-SNAPSHOT</version>
		</dependency>
	</dependencies>
</project>