diff options
author | Ken Lee | 2014-06-03 11:50:10 -0400 |
---|---|---|
committer | Ken Lee | 2014-06-03 12:00:24 -0400 |
commit | 90f038b7768adb30503d8981343d9f4446aededd (patch) | |
tree | e816d88f598f43f54a67e1e1ce03c9c31480493c /org.eclipse.scout.repo.all.target/pom.xml | |
parent | 69e6fa028e6bd45381181569373a7961ac32c6c2 (diff) | |
download | org.eclipse.scout-aggregator-90f038b7768adb30503d8981343d9f4446aededd.tar.gz org.eclipse.scout-aggregator-90f038b7768adb30503d8981343d9f4446aededd.tar.xz org.eclipse.scout-aggregator-90f038b7768adb30503d8981343d9f4446aededd.zip |
Bug 426444 - CBI Build: Cleanup and rename target files in Scout RT
https://bugs.eclipse.org/bugs/show_bug.cgi?id=426444
Generate repo all target file.
Change-Id: Ie57cd86a32388ef13278e2c919d3a796df392225
Reviewed-on: https://git.eclipse.org/r/27838
Reviewed-by: Ken Lee <kle@bsiag.com>
Tested-by: Ken Lee <kle@bsiag.com>
Diffstat (limited to 'org.eclipse.scout.repo.all.target/pom.xml')
-rw-r--r-- | org.eclipse.scout.repo.all.target/pom.xml | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/org.eclipse.scout.repo.all.target/pom.xml b/org.eclipse.scout.repo.all.target/pom.xml new file mode 100644 index 0000000..bef42d3 --- /dev/null +++ b/org.eclipse.scout.repo.all.target/pom.xml @@ -0,0 +1,102 @@ +<?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.1.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>
\ No newline at end of file |