Added eclipse resource filters for pom modules.

This commit is contained in:
Willem Cazander 2013-09-10 23:25:54 +02:00
parent 76ff798ea1
commit d15d963aa3
3 changed files with 93 additions and 0 deletions

View file

@ -14,4 +14,51 @@
<natures> <natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature> <nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures> </natures>
<filteredResources>
<filter>
<id>1378848121085</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-projectRelativePath-matches-false-false-x4o-driver</arguments>
</matcher>
</filter>
<filter>
<id>1378848121092</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-projectRelativePath-matches-false-false-x4o-eld-doc</arguments>
</matcher>
</filter>
<filter>
<id>1378848121099</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-projectRelativePath-matches-false-false-x4o-html</arguments>
</matcher>
</filter>
<filter>
<id>1378848121142</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-projectRelativePath-matches-false-false-x4o-meta</arguments>
</matcher>
</filter>
<filter>
<id>1378848121146</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-projectRelativePath-matches-false-false-x4o-tool</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription> </projectDescription>

26
pom.xml
View file

@ -79,6 +79,7 @@
<maven-changelog-plugin.version>2.2</maven-changelog-plugin.version> <maven-changelog-plugin.version>2.2</maven-changelog-plugin.version>
<maven-jar-plugin.version>2.4</maven-jar-plugin.version> <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
<maven-license-plugin.version>1.10.b1</maven-license-plugin.version> <maven-license-plugin.version>1.10.b1</maven-license-plugin.version>
<maven-clean-plugin.version>2.4.1</maven-clean-plugin.version>
<!-- Build non-maven plugin versions --> <!-- Build non-maven plugin versions -->
<webstart-maven-plugin.version>1.0-beta-1</webstart-maven-plugin.version> <webstart-maven-plugin.version>1.0-beta-1</webstart-maven-plugin.version>
@ -112,6 +113,31 @@
</properties> </properties>
<build> <build>
<plugins> <plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean-plugin.version}</version>
<executions>
<execution>
<id>default-clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<!-- only clean childeren of target not folder itself. -->
<excludeDefaultDirectories>true</excludeDefaultDirectories>
<filesets>
<fileset>
<directory>${project.build.directory}</directory>
<includes>
<include>**/*</include>
</includes>
</fileset>
</filesets>
</configuration>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>

View file

@ -14,4 +14,24 @@
<natures> <natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature> <nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures> </natures>
<filteredResources>
<filter>
<id>1378240259439</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-projectRelativePath-matches-false-false-x4o-tool-ant-plugin</arguments>
</matcher>
</filter>
<filter>
<id>1378240259445</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-projectRelativePath-matches-false-false-x4o-tool-maven-plugin</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription> </projectDescription>