blob: d85b9d26f2440788142328c38d858a5957d1b286 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014 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:
Ken Lee - 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>4.3.0-SNAPSHOT</version>
<relativePath>../org.eclipse.scout.parent</relativePath>
</parent>
<artifactId>org.eclipse.scout.repo.all.target</artifactId>
<packaging>eclipse-target-definition</packaging>
<properties>
<target-template>${basedir}/org.eclipse.scout.repo.all.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>
<scout-rt-incubator-repo-location>${project.baseUri}../org.eclipse.scout.rt.incubator/org.eclipse.scout.rt.ui.rap.incubator.filechooser-repository</scout-rt-incubator-repo-location>
<scout-rt-repo-location>${project.baseUri}../org.eclipse.scout.rt/org.eclipse.scout.rt-repository</scout-rt-repo-location>
<scout-sdk-repo-location>${project.baseUri}../org.eclipse.scout.sdk/org.eclipse.scout.sdk-repository</scout-sdk-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_RAP_REPO_TARGET_LOCATION$</token>
<value>${scout-rt-rap-repo-location}</value>
</replacement>
<replacement>
<token>$SCOUT_RT_INCUBATOR_REPO_TARGET_LOCATION$</token>
<value>${scout-rt-incubator-repo-location}</value>
</replacement>
<replacement>
<token>$SCOUT_RT_REPO_TARGET_LOCATION$</token>
<value>${scout-rt-repo-location}</value>
</replacement>
<replacement>
<token>$SCOUT_SDK_REPO_TARGET_LOCATION$</token>
<value>${scout-sdk-repo-location}</value>
</replacement>
</replacements>
</configuration>
</plugin>
</plugins>
</build>
</project>