blob: 7c985a3441947732f0fadbc9c453aab86cbb18b9 [file] [log] [blame]
Zakir Meer9f251f52018-06-17 16:21:31 +02001<!--
2 /*******************************************************************************
3 * Copyright (c) 2018 Robert Bosch GmbH.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Robert Bosch GmbH - initial API and implementation
11 *******************************************************************************/
12 -->
13<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
15 <modelVersion>4.0.0</modelVersion>
16
17 <parent>
18 <relativePath>./com.bosch.m2m.simulation.build</relativePath>
19 <groupId>m2m</groupId>
20 <artifactId>com.bosch.m2m.simulation.build</artifactId>
21 <version>1.0.0.qualifier</version>
22 </parent>
23
24 <artifactId>com.bosch.m2m.app4mc.simulation</artifactId>
25 <packaging>eclipse-plugin</packaging>
26
27 <build>
28 <sourceDirectory>src</sourceDirectory>
29 <resources>
30 <resource>
31 <directory>xtend-gen</directory>
32 <excludes>
33 <exclude>**/*.java</exclude>
34 </excludes>
35 </resource>
36 <resource>
37 <directory>src</directory>
38 <excludes>
39 <exclude>**/*.java</exclude>
40 </excludes>
41 </resource>
42 </resources>
43 <plugins>
44 <plugin>
45 <artifactId>maven-clean-plugin</artifactId>
46 <version>2.4.1</version>
47 <configuration>
48 <filesets>
49 <fileset>
50 <directory>xtend-gen</directory>
51 <includes>
52 <include>**</include>
53 </includes>
54 </fileset>
55 </filesets>
56 </configuration>
57 </plugin>
58 <plugin>
59 <groupId>org.codehaus.mojo</groupId>
60 <artifactId>build-helper-maven-plugin</artifactId>
61 <version>1.7</version>
62 <executions>
63 <execution>
64 <id>add-source</id>
65 <phase>generate-sources</phase>
66 <goals>
67 <goal>add-source</goal>
68 </goals>
69 <configuration>
70 <sources>
71 <source>xtend-gen</source>
72 </sources>
73 </configuration>
74 </execution>
75 </executions>
76 </plugin>
77 <plugin>
78 <groupId>org.eclipse.xtend</groupId>
79 <artifactId>xtend-maven-plugin</artifactId>
80 <version>2.7.3</version>
81 <executions>
82 <execution>
83 <goals>
84 <goal>compile</goal>
85 </goals>
86 <configuration>
87 <outputDirectory>xtend-gen</outputDirectory>
88 </configuration>
89 </execution>
90 </executions>
91 </plugin>
92 </plugins>
93 </build>
94 <groupId>m2m</groupId>
95</project>