forked from RustDT/RustDT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.jar-common.xml
95 lines (80 loc) · 2.36 KB
/
pom.jar-common.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<!--
Parent and aggregator pom for Maven projects that build plain JARs,
that is with no OSGI/Tycho/PDE/Eclipse involvedmodules.
These projects are also built using Tycho-Maven, but that's using a different pom
and build script altogether.
-->
<groupId>com.github.rustdt</groupId>
<artifactId>jar-common-parent</artifactId>
<version>1-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>
<modules>
<module>melnorme_util/maven-jar</module>
<module>plugin_tooling/maven-jar</module>
</modules>
<!-- -->
<build>
<!-- This source folder and resource configuration must match the PDE OSGi bundle build -->
<sourceDirectory>${source.dir}</sourceDirectory>
<testSourceDirectory>${source_tests.dir}</testSourceDirectory>
<resources>
<resource>
<directory>${source.dir}</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<testResources>
<testResource>
<directory>${source_tests.dir}</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</testResource>
</testResources>
<plugins>
<!-- Default to Java 8 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<excludes>
<!-- Empty so that no class is excluded, otherwise the default excludes inner classes. -->
<exclude></exclude>
</excludes>
<includes>
<include>**/*.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</project>