Skip to main content
summaryrefslogblamecommitdiffstats
blob: c498fd7558957cb92c763556efa917f462a63cf5 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                                        
                                          
















































































                                                                                                                                         
<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>org.eclipse.osee</groupId>
	<artifactId>org.eclipse.osee.support.maven</artifactId>
	<packaging>pom</packaging>
	<name>OSEE Maven Build Support</name>
	<version>0.18.0-SNAPSHOT</version>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

		<git-repo-root>file:../../..</git-repo-root>

		<maven-antrun-version>1.7</maven-antrun-version>
		<apache-ant-version>1.8.4</apache-ant-version>
		<ant-contrib-version>1.0b3</ant-contrib-version>
	</properties>

	<build>
		<sourceDirectory>src</sourceDirectory>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>${maven-antrun-version}</version>
				<dependencies>
					<dependency>
						<groupId>org.apache.ant</groupId>
						<artifactId>ant</artifactId>
						<version>${apache-ant-version}</version>
					</dependency>
					<dependency>
						<groupId>ant-contrib</groupId>
						<artifactId>ant-contrib</artifactId>
						<version>${ant-contrib-version}</version>
						<exclusions>
							<exclusion>
								<groupId>ant</groupId>
								<artifactId>ant</artifactId>
							</exclusion>
						</exclusions>
					</dependency>
					<dependency>
						<groupId>com.jcraft</groupId>
						<artifactId>jsch</artifactId>
						<version>0.1.42</version>
					</dependency>
					<dependency>
						<groupId>org.apache.ant</groupId>
						<artifactId>ant-jsch</artifactId>
						<version>1.8.2</version>
					</dependency>
				</dependencies>
				<executions>
					<execution>
						<id>osee-build</id>
						<phase>compile</phase>
						<configuration>
							<target>
								<property name="plugin_classpath" refid="maven.plugin.classpath" />
								<taskdef resource="net/sf/antcontrib/antlib.xml">
									<classpath>
										<pathelement path="${classpath}" />
										<pathelement path="${plugin_classpath}" />
									</classpath>
								</taskdef>

								<property name="repository-base" value="${project.basedir}/../.." />
								<property name="store-settings-dir" value="${project.build.directory}" />
								<property name="default-settings-file"
									value="${project.basedir}/default-settings.properties" />

								<ant antfile="osee-build.xml" target="run" inheritRefs="true"
									inheritall="true" />
							</target>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>


</project>

Back to the top