From 02078f0afbcb4f5a2c9fdefe23840825f16676a8 Mon Sep 17 00:00:00 2001 From: Alexander Diewald <diewald@fortiss.org> Date: Fri, 31 Jan 2020 10:53:20 +0100 Subject: [PATCH] Update pom.xml --- bundles/emf-generator/pom.xml | 202 +++++++++++++++++----------------- 1 file changed, 101 insertions(+), 101 deletions(-) diff --git a/bundles/emf-generator/pom.xml b/bundles/emf-generator/pom.xml index ee982a1..e2cd49f 100644 --- a/bundles/emf-generator/pom.xml +++ b/bundles/emf-generator/pom.xml @@ -1,101 +1,101 @@ -<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> - - <name>EMF Generation</name> - <version>1.0.0-SNAPSHOT</version> - <artifactId>org.fortiss.af3.generation</artifactId> - <groupId>org.fortiss.af3</groupId> - - <parent> - <groupId>org.fortiss.af3</groupId> - <artifactId>org.fortiss.af3.root</artifactId> - <version>1.0.0-SNAPSHOT</version> - <relativePath>../../pom.xml</relativePath> - </parent> - - <packaging>pom</packaging> - - <!-- - Defines the code generation from EMF models. - --> - - <profiles> - <profile> - <id>tooling</id> - <activation> - <property> - <name>build.tooling</name> - <value>true</value> - </property> - </activation> - <properties> - <genmodel.searchpath>${basedir}/../kernel/</genmodel.searchpath> - </properties> - </profile> - <profile> - <id>af3</id> - <activation> - <property> - <name>build.af3</name> - <value>true</value> - </property> - </activation> - <!-- Here, we must include all ecores due to dependencies: The platform is - the common folder of the af3 and the kernel repo. --> - <properties> - <genmodel.searchpath>${basedir}/../</genmodel.searchpath> - </properties> - </profile> - </profiles> - - <build> - <plugins> - <plugin> - <groupId>com.googlecode.maven-download-plugin</groupId> - <artifactId>download-maven-plugin</artifactId> - <version>1.3.0</version> - <executions> - <execution> - <!-- the wget goal actually binds itself to this phase by default --> - <phase>generate-resources</phase> - <goals> - <goal>wget</goal> - </goals> - <configuration> - <!-- For testing new emf-generator jars, use a file:// URL. - NOTE: You must clean ${M2_HOME}/repository/.cache/download-maven-plugin/emf-generator.jar* - before. Otherwise, the previous version is used. --> - <url>https://git.fortiss.org/af3/jenkins-tools/raw/3620/de.itemis.emfgenerator/jar/emf-generator.jar</url> - <outputFileName>emf-generator.jar</outputFileName> - <!-- default target location, just to demonstrate the parameter --> - <outputDirectory>${project.build.directory}</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <version>1.2.1</version> - <executions> - <execution> - <id>Generate-EMF-code</id> - <phase>generate-resources</phase> - <goals> - <goal>exec</goal> - </goals> - <configuration> - <executable>java</executable> - <arguments> - <argument>-jar</argument> - <argument>${project.build.directory}/emf-generator.jar</argument> - <argument>${genmodel.searchpath}</argument> - </arguments> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - -</project> +<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> + + <name>EMF Generation</name> + <version>1.0.0-SNAPSHOT</version> + <artifactId>org.fortiss.af3.generation</artifactId> + <groupId>org.fortiss.af3</groupId> + + <parent> + <groupId>org.fortiss.af3</groupId> + <artifactId>org.fortiss.af3.root</artifactId> + <version>1.0.0-SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + + <packaging>pom</packaging> + + <!-- + Defines the code generation from EMF models. + --> + + <profiles> + <profile> + <id>tooling</id> + <activation> + <property> + <name>build.tooling</name> + <value>true</value> + </property> + </activation> + <properties> + <genmodel.searchpath>${basedir}/../kernel/</genmodel.searchpath> + </properties> + </profile> + <profile> + <id>af3</id> + <activation> + <property> + <name>build.af3</name> + <value>true</value> + </property> + </activation> + <!-- Here, we must include all ecores due to dependencies: The platform is + the common folder of the af3 and the kernel repo. --> + <properties> + <genmodel.searchpath>${basedir}/../</genmodel.searchpath> + </properties> + </profile> + </profiles> + + <build> + <plugins> + <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>download-maven-plugin</artifactId> + <version>1.3.0</version> + <executions> + <execution> + <!-- the wget goal actually binds itself to this phase by default --> + <phase>generate-resources</phase> + <goals> + <goal>wget</goal> + </goals> + <configuration> + <!-- For testing new emf-generator jars, use a file:// URL. + NOTE: You must clean ${M2_HOME}/repository/.cache/download-maven-plugin/emf-generator.jar* + before. Otherwise, the previous version is used. --> + <url>https://git.fortiss.org/af3/ci-tools/raw/de.itemis.emfgenerator/jar/emf-generator.jar</url> + <outputFileName>emf-generator.jar</outputFileName> + <!-- default target location, just to demonstrate the parameter --> + <outputDirectory>${project.build.directory}</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.2.1</version> + <executions> + <execution> + <id>Generate-EMF-code</id> + <phase>generate-resources</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <executable>java</executable> + <arguments> + <argument>-jar</argument> + <argument>${project.build.directory}/emf-generator.jar</argument> + <argument>${genmodel.searchpath}</argument> + </arguments> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> -- GitLab