Zakir Meer | 1882c13 | 2017-07-06 09:20:59 +0200 | [diff] [blame^] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
| 5 | <parent> |
| 6 | <relativePath>../../build/org.eclipse.app4mc.emfutils.extractor.build</relativePath> |
| 7 | <groupId>org.eclipse.app4mc.emfutils.content.extractor</groupId> |
| 8 | <artifactId>org.eclipse.app4mc.emfutils.extractor.build</artifactId> |
| 9 | <version>0.8.0.qualifier</version> |
| 10 | </parent> |
| 11 | |
| 12 | <artifactId>org.eclipse.app4mc.emfutils.resourceset.mapper</artifactId> |
| 13 | <packaging>eclipse-plugin</packaging> |
| 14 | |
| 15 | <build> |
| 16 | <sourceDirectory>src</sourceDirectory> |
| 17 | <resources> |
| 18 | <resource> |
| 19 | <directory>xtend-gen</directory> |
| 20 | <excludes> |
| 21 | <exclude>**/*.java</exclude> |
| 22 | </excludes> |
| 23 | </resource> |
| 24 | <resource> |
| 25 | <directory>src</directory> |
| 26 | <excludes> |
| 27 | <exclude>**/*.java</exclude> |
| 28 | </excludes> |
| 29 | </resource> |
| 30 | </resources> |
| 31 | <plugins> |
| 32 | <plugin> |
| 33 | <artifactId>maven-clean-plugin</artifactId> |
| 34 | <version>2.4.1</version> |
| 35 | <configuration> |
| 36 | <filesets> |
| 37 | <fileset> |
| 38 | <directory>xtend-gen</directory> |
| 39 | <includes> |
| 40 | <include>**</include> |
| 41 | </includes> |
| 42 | </fileset> |
| 43 | </filesets> |
| 44 | </configuration> |
| 45 | </plugin> |
| 46 | <plugin> |
| 47 | <groupId>org.codehaus.mojo</groupId> |
| 48 | <artifactId>build-helper-maven-plugin</artifactId> |
| 49 | <version>1.7</version> |
| 50 | <executions> |
| 51 | <execution> |
| 52 | <id>add-source</id> |
| 53 | <phase>generate-sources</phase> |
| 54 | <goals> |
| 55 | <goal>add-source</goal> |
| 56 | </goals> |
| 57 | <configuration> |
| 58 | <sources> |
| 59 | <source>xtend-gen</source> |
| 60 | </sources> |
| 61 | </configuration> |
| 62 | </execution> |
| 63 | </executions> |
| 64 | </plugin> |
| 65 | <plugin> |
| 66 | <groupId>org.eclipse.xtend</groupId> |
| 67 | <artifactId>xtend-maven-plugin</artifactId> |
| 68 | <version>2.7.3</version> |
| 69 | <executions> |
| 70 | <execution> |
| 71 | <goals> |
| 72 | <goal>compile</goal> |
| 73 | </goals> |
| 74 | <configuration> |
| 75 | <outputDirectory>xtend-gen</outputDirectory> |
| 76 | </configuration> |
| 77 | </execution> |
| 78 | </executions> |
| 79 | </plugin> |
| 80 | </plugins> |
| 81 | </build> |
| 82 | </project> |