All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources.pom.xml Maven / Gradle / Ivy

There is a newer version: 4.6.0-eu
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<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>

	<groupId>${groupId}</groupId>
	<artifactId>${artifactId}</artifactId>
	<version>${version}</version>
	<packaging>jar</packaging>

	<name>${artifactId}</name>
	<url>http://${groupId}</url>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<etlunit.project.version>4.5.24-eu</etlunit.project.version>
	</properties>

	<repositories>
		<repository>
			<id>distrib-snapshots</id>
			<name>Snapshots</name>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</repository>
	</repositories>

	<dependencies>
		<dependency>
			<groupId>org.bitbucket.bradleysmithllc.etlunit</groupId>
			<artifactId>etlunit-core</artifactId>
			<version>${etlunit.project.version}</version>
		</dependency>
		<dependency>
			<groupId>org.bitbucket.bradleysmithllc.etlunit</groupId>
			<artifactId>etlunit-jline-cli</artifactId>
			<version>${etlunit.project.version}</version>
		</dependency>
		<dependency>
			<groupId>org.bitbucket.bradleysmithllc.etlunit</groupId>
			<artifactId>etlunit-hadoop</artifactId>
			<version>${etlunit.project.version}</version>
		</dependency>
	</dependencies>

	<profiles>
		<profile>
			<id>ci</id>
			<properties>
				<etlunit.override.configuration>ci</etlunit.override.configuration>
			</properties>
		</profile>
	</profiles>

	<build>
		<resources>
			<resource>
				<filtering>false</filtering>
				<directory>${basedir}/src/main/resources</directory>
			</resource>
			<resource>
				<targetPath>reference</targetPath>
				<filtering>false</filtering>
				<directory>${basedir}/src/main/reference</directory>
			</resource>
			<resource>
				<targetPath>${databaseImplementation}</targetPath>
				<filtering>false</filtering>
				<directory>${basedir}/src/main/${databaseImplementation}</directory>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<groupId>org.bitbucket.bradleysmithllc.etlunit</groupId>
				<artifactId>etlunit-maven</artifactId>
				<version>${etlunit.project.version}</version>
				<executions>
					<execution>
						<phase>test</phase>
						<goals>
							<goal>test</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<version>2.4</version>
				<executions>
					<execution>
						<id>copy-dependencies</id>
						<phase>generate-resources</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${project.build.directory}/etlunit-lib</outputDirectory>
							<overWriteReleases>false</overWriteReleases>
							<overWriteSnapshots>false</overWriteSnapshots>
							<overWriteIfNewer>true</overWriteIfNewer>
						</configuration>
					</execution>
					<execution>
						<id>unpack-dependencies</id>
						<phase>generate-resources</phase>
						<goals>
							<goal>unpack</goal>
						</goals>
						<configuration>
							<artifactItems>
								<artifactItem>
									<groupId>org.bitbucket.bradleysmithllc.etlunit</groupId>
									<artifactId>etlunit-jline-cli</artifactId>
									<type>tar.gz</type>
									<version>${etlunit.project.version}</version>
									<overWrite>false</overWrite>
									<classifier>bin</classifier>
									<outputDirectory>${basedir}</outputDirectory>
								</artifactItem>
							</artifactItems>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-clean-plugin</artifactId>
				<version>3.1.0</version>
				<configuration>
					<filesets>
						<fileset>
							<directory>${basedir}/bin</directory>
						</fileset>
						<fileset>
							<directory>${basedir}/lib</directory>
						</fileset>
					</filesets>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy