| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2013 BSI Business Systems Integration AG. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v10.html |
| |
| Contributors: |
| Stephan Leicht Vogt - initial contribution |
| --> |
| <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>org.eclipse.scout</groupId> |
| <artifactId>org.eclipse.scout.parent</artifactId> |
| <version>3.9.2-SNAPSHOT</version> |
| <relativePath>../org.eclipse.scout.parent</relativePath> |
| </parent> |
| |
| <artifactId>org.eclipse.scout.rap.basic.target</artifactId> |
| <packaging>eclipse-target-definition</packaging> |
| |
| <properties> |
| <target-template>${basedir}/org.eclipse.scout.rap.basic.target_template.target</target-template> |
| <target-gen-filename>${project.artifactId}.target</target-gen-filename> |
| <target-gen-file>${basedir}/${target-gen-filename}</target-gen-file> |
| <scout-rt-rap-repo-location>${project.baseUri}../org.eclipse.scout.rt/org.eclipse.scout.rt.rap-repository</scout-rt-rap-repo-location> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>2.5</version> |
| <executions> |
| <execution> |
| <id>auto-clean</id> |
| <phase>clean</phase> |
| <goals> |
| <goal>clean</goal> |
| </goals> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>${basedir}</directory> |
| <includes> |
| <include>${target-gen-file}</include> |
| </includes> |
| </fileset> |
| </filesets> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.google.code.maven-replacer-plugin</groupId> |
| <artifactId>replacer</artifactId> |
| <version>1.5.2</version> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>replace</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <ignoreMissingFile>true</ignoreMissingFile> |
| <file>${target-template}</file> |
| <outputFile>${target-gen-file}</outputFile> |
| <regex>false</regex> |
| <replacements> |
| <replacement> |
| <token>$SCOUT_RT_REPO_TARGET_LOCATION$</token> |
| <value>${scout-rt-rap-repo-location}</value> |
| </replacement> |
| </replacements> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>target-platform-validation-plugin</artifactId> |
| <version>${tycho-extras.version}</version> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>validate-target-platform</goal> |
| </goals> |
| <configuration> |
| <targetFiles> |
| <param>org.eclipse.scout.rap.basic.target.target</param> |
| </targetFiles> |
| <failOnError>true</failOnError> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |