<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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>io.konig</groupId>
		<artifactId>konig-parent</artifactId>
		<version>2.11.0</version>
		<relativePath>../konig-parent/pom.xml</relativePath>
	</parent>

	<groupId>io.konig</groupId>
	<artifactId>konig-omcs-deploy-maven-plugin</artifactId>
	<packaging>maven-plugin</packaging>
	<name>konig OMCS Deployment Maven Plugin</name>

	<dependencies>
		<dependency>
			<groupId>org.apache.maven</groupId>
			<artifactId>maven-plugin-api</artifactId>
			<version>2.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.maven.plugin-tools</groupId>
			<artifactId>maven-plugin-annotations</artifactId>
			<version>3.2</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.codehaus.plexus</groupId>
			<artifactId>plexus-utils</artifactId>
			<version>3.0.8</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.8.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.oracle</groupId>
			<artifactId>ojdbc7</artifactId>
			<version>12.1.0.2</version>
			<scope>system</scope>
			<systemPath>${project.basedir}/src/lib/ojdbc7-12.1.0.2.jar</systemPath>
		</dependency>
		<dependency>
	  		<groupId>io.konig</groupId>
	  		<artifactId>konig-maven-common</artifactId>
			<version>${konig.version}</version>
	  	</dependency>
	  	<dependency>
			<groupId>io.konig</groupId>
			<artifactId>konig-core</artifactId>
			<version>${konig.version}</version>
		</dependency>
		<dependency>
			<groupId>io.konig</groupId>
			<artifactId>konig-schemagen</artifactId>
			<version>${konig.version}</version>
		</dependency>
			<dependency>
		<groupId>com.fasterxml.jackson.core</groupId>
		<artifactId>jackson-core</artifactId>
		<version>${jackson.version}</version>
	</dependency>
	</dependencies>
	

	<build>
		<plugins>
			<plugin>
			    <groupId>org.apache.maven.plugins</groupId>
			    <artifactId>maven-install-plugin</artifactId>
			    <version>2.3.1</version>
			    <executions>
			        <execution>
			            <id>install-oracle-jdbc</id>
			            <goals>
			                <goal>install-file</goal>
			            </goals>
			            <phase>initialize</phase>
			            <configuration>
			                <groupId>com.oracle</groupId>
			                <artifactId>ojdbc7</artifactId>
			                <version>12.1.0.2</version>
			                <packaging>jar</packaging>
			                <generatePom>true</generatePom>
			                <createChecksum>true</createChecksum>
			                <file>${project.basedir}/src/lib/ojdbc7-12.1.0.2.jar</file>
			            </configuration>
			        </execution>
			    </executions>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
				<plugin>
					<groupId>org.eclipse.m2e</groupId>
					<artifactId>lifecycle-mapping</artifactId>
					<version>1.0.0</version>
					<configuration>
						<lifecycleMappingMetadata>
							<pluginExecutions>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>
											org.apache.maven.plugins
										</groupId>
										<artifactId>
											maven-install-plugin
										</artifactId>
										<versionRange>
											[2.3.1,)
										</versionRange>
										<goals>
											<goal>install-file</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore></ignore>
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
	      <plugin>
	        <groupId>org.apache.maven.plugins</groupId>
	        <artifactId>maven-plugin-plugin</artifactId>
	        <version>3.4</version>
	        <configuration>
	          <goalPrefix>konig-model-merge-maven-plugin</goalPrefix>
	          <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
	        </configuration>
	        <executions>
	          <execution>
	            <id>mojo-descriptor</id>
	            <goals>
	              <goal>descriptor</goal>
	            </goals>
	          </execution>
	          <execution>
	            <id>help-goal</id>
	            <goals>
	              <goal>helpmojo</goal>
	            </goals>
	          </execution>
	        </executions>
	      </plugin>				 
			</plugins>
		</pluginManagement>
	</build>

</project>
