| <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> |
| <parent> |
| <groupId>org.eclipse.vorto</groupId> |
| <artifactId>bundles</artifactId> |
| <version>0.1.0</version> |
| </parent> |
| |
| <artifactId>org.eclipse.vorto.codegen</artifactId> |
| <packaging>eclipse-plugin</packaging> |
| |
| <name>Vorto Code Generator</name> |
| |
| <profiles> |
| <profile> |
| <id>copy-plugins</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.8</version> |
| <executions> |
| <execution> |
| <id>copy-kepler</id> |
| <phase>deploy</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.eclipse.vorto</groupId> |
| <artifactId>org.eclipse.vorto.codegen</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| <outputDirectory>${kepler.path}</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| <overWriteReleases>true</overWriteReleases> |
| <overWriteSnapshots>true</overWriteSnapshots> |
| <excludeTransitive>true</excludeTransitive> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-luna</id> |
| <phase>deploy</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.eclipse.vorto</groupId> |
| <artifactId>org.eclipse.vorto.codegen</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| <outputDirectory>${luna.path}</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| <overWriteReleases>true</overWriteReleases> |
| <overWriteSnapshots>true</overWriteSnapshots> |
| <excludeTransitive>true</excludeTransitive> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-visualrules</id> |
| <phase>deploy</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.eclipse.vorto</groupId> |
| <artifactId>org.eclipse.vorto.codegen</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| <outputDirectory>${visualrules.path}</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| <overWriteReleases>true</overWriteReleases> |
| <overWriteSnapshots>true</overWriteSnapshots> |
| <excludeTransitive>true</excludeTransitive> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.xtend</groupId> |
| <artifactId>xtend-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>2.4.1</version> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>xtend-gen</directory> |
| <includes> |
| <include>**</include> |
| </includes> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |