1
1
<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/maven-v4_0_0.xsd" >
2
- <modelVersion >4.0.0</modelVersion >
2
+ <modelVersion >4.0.0</modelVersion >
3
3
4
- <parent >
5
- <groupId >net.objectlab.kit</groupId >
6
- <artifactId >kit-parent</artifactId >
7
- <version >1.4.1-SNAPSHOT</version >
8
- </parent >
4
+ <parent >
5
+ <groupId >net.objectlab.kit</groupId >
6
+ <artifactId >kit-parent</artifactId >
7
+ <version >1.4.1-SNAPSHOT</version >
8
+ </parent >
9
9
10
- <artifactId >datecalc-jdk</artifactId >
11
- <packaging >jar</packaging >
10
+ <artifactId >datecalc-jdk</artifactId >
11
+ <packaging >jar</packaging >
12
12
13
- <name >Date Calc JDK</name >
14
- <description >Date Calculator methods for JDK</description >
13
+ <name >Date Calc JDK</name >
14
+ <description >Date Calculator methods for JDK</description >
15
15
16
- <dependencies >
17
- <dependency >
18
- <groupId >net.objectlab.kit</groupId >
19
- <artifactId >datecalc-common</artifactId >
20
- </dependency >
21
- <dependency >
22
- <groupId >net.objectlab.kit</groupId >
23
- <artifactId >datecalc-common</artifactId >
24
- <scope >test</scope >
25
- <classifier >tests</classifier >
26
- </dependency >
27
- </dependencies >
16
+ <dependencies >
17
+ <dependency >
18
+ <groupId >net.objectlab.kit</groupId >
19
+ <artifactId >datecalc-common</artifactId >
20
+ </dependency >
21
+ <dependency >
22
+ <groupId >net.objectlab.kit</groupId >
23
+ <artifactId >datecalc-common</artifactId >
24
+ <scope >test</scope >
25
+ <classifier >tests</classifier >
26
+ </dependency >
27
+ </dependencies >
28
28
29
- <build >
30
- <plugins >
31
- <!-- UNIT tests -->
32
- <plugin >
33
- <groupId >org.apache.maven.plugins</groupId >
34
- <artifactId >maven-surefire-plugin</artifactId >
35
- <version >2.19.1</version >
36
- <configuration >
37
- <skip >true</skip >
38
- </configuration >
39
- <executions >
40
- <execution >
41
- <id >surefire-test</id >
42
- <phase >test</phase >
43
- <goals >
44
- <goal >test</goal >
45
- </goals >
46
- <configuration >
47
- <skip >false</skip >
48
- <excludes >
49
- <exclude >**/perf/**</exclude >
50
- </excludes >
51
- </configuration >
52
- </execution >
53
- </executions >
54
- </plugin >
55
- </plugins >
56
- </build >
57
-
58
- <profiles >
59
- <profile >
60
- <id >perf-testing</id >
61
- <build >
29
+ <build >
62
30
<plugins >
63
- <plugin >
64
- <groupId >org.apache.maven.plugins</groupId >
65
- <artifactId >maven-surefire-plugin</artifactId >
66
- <version >2.19.1</version >
67
- <configuration >
68
- <skip >true</skip >
69
- </configuration >
70
- <executions >
71
- <execution >
72
- <id >surefire-perf</id >
73
- <!-- use it mvn test -P perf-testing -->
74
- <phase >test</phase >
75
- <goals >
76
- <goal >test</goal >
77
- </goals >
31
+ <!-- UNIT tests -->
32
+ <plugin >
33
+ <groupId >org.apache.maven.plugins</groupId >
34
+ <artifactId >maven-surefire-plugin</artifactId >
35
+ <version >2.19.1</version >
36
+ <configuration >
37
+ <skip >true</skip >
38
+ </configuration >
39
+ <executions >
40
+ <execution >
41
+ <id >surefire-test</id >
42
+ <phase >test</phase >
43
+ <goals >
44
+ <goal >test</goal >
45
+ </goals >
46
+ <configuration >
47
+ <skip >false</skip >
48
+ <excludes >
49
+ <exclude >**/perf/**</exclude >
50
+ </excludes >
51
+ </configuration >
52
+ </execution >
53
+ </executions >
54
+ </plugin >
55
+ <plugin >
56
+ <groupId >org.apache.maven.plugins</groupId >
57
+ <artifactId >maven-jar-plugin</artifactId >
78
58
<configuration >
79
- < argLine >-Xms256m -Xmx1024m</ argLine >
80
- < skip >false</ skip >
81
- < includes >
82
- < include >**/perf/*Test.java</ include >
83
- </ includes >
59
+ < archive >
60
+ < manifestEntries >
61
+ < Automatic-Module-Name >net.objectlab.kit.datecalc.jdk</ Automatic-Module-Name >
62
+ </ manifestEntries >
63
+ </ archive >
84
64
</configuration >
85
- </execution >
86
- </executions >
87
- </plugin >
65
+ </plugin >
88
66
</plugins >
89
- </build >
90
- </profile >
91
- </profiles >
67
+ </build >
68
+
69
+ <profiles >
70
+ <profile >
71
+ <id >perf-testing</id >
72
+ <build >
73
+ <plugins >
74
+ <plugin >
75
+ <groupId >org.apache.maven.plugins</groupId >
76
+ <artifactId >maven-surefire-plugin</artifactId >
77
+ <version >2.19.1</version >
78
+ <configuration >
79
+ <skip >true</skip >
80
+ </configuration >
81
+ <executions >
82
+ <execution >
83
+ <id >surefire-perf</id >
84
+ <!-- use it mvn test -P perf-testing -->
85
+ <phase >test</phase >
86
+ <goals >
87
+ <goal >test</goal >
88
+ </goals >
89
+ <configuration >
90
+ <argLine >-Xms256m -Xmx1024m</argLine >
91
+ <skip >false</skip >
92
+ <includes >
93
+ <include >**/perf/*Test.java</include >
94
+ </includes >
95
+ </configuration >
96
+ </execution >
97
+ </executions >
98
+ </plugin >
99
+ </plugins >
100
+ </build >
101
+ </profile >
102
+ </profiles >
92
103
93
104
</project >
0 commit comments