<?xml version="1.0"?>
<!-- 
	I did it myself and the ***ONLY intention*** was to quickly setup the database configuration info to a few stand-alone java apps.
	I was not trying to expose sensitive data or the company that owns this product.
	I think that it is a great product, there is a lot of people using it and the main reason to export data out the app is to share,
	so why not make it a configuration file for my own apps? ;)
-->
<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">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>consulting.omnia.util</groupId>
		<artifactId>util-parent</artifactId>
		<version>1.0.1-RELEASE</version>
	</parent>

	<artifactId>sql-developer-xml-importer</artifactId>
	
	<name>SQL Developer XML Importer</name>
	<description>Import database connection info from SQL Developer 3.x exported XML.</description>
	<url>https://bitbucket.org/omniaconsulting/util-java</url>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-shade-plugin</artifactId>
				<version>1.5</version>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>shade</goal>
						</goals>
						<configuration>
							<transformers>
								<transformer
									implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
									<mainClass>consulting.omnia.ronaldoblanc.util.Main</mainClass>
									<manifestEntries>
										<Class-Path>.</Class-Path>
									</manifestEntries>
								</transformer>
							</transformers>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.6</version>
				<executions>
					<execution>
						<id>copy-resources</id>
						<phase>package</phase>
						<goals>
							<goal>copy-resources</goal>
						</goals>
						<configuration>
							<outputDirectory>${basedir}/target</outputDirectory>
							<resources>
								<resource>
									<directory>src/main/scripts</directory>
									<filtering>true</filtering>
								</resource>
								<resource>
									<directory>${basedir}/data</directory>
									<filtering>true</filtering>
								</resource>
							</resources>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>
