File tree 7 files changed +27
-29
lines changed
src/main/java/guru/nidi/codeassert/junit
7 files changed +27
-29
lines changed Original file line number Diff line number Diff line change 12
12
<name >${project.artifactId} </name >
13
13
14
14
<properties >
15
- <maven-jar .version>3.2.0</ maven-jar .version >
15
+ <module .name>guru.nidi.codeassert.core</ module .name >
16
16
</properties >
17
17
18
18
<build >
73
73
</execution >
74
74
</executions >
75
75
</plugin >
76
- <plugin >
77
- <groupId >org.apache.maven.plugins</groupId >
78
- <artifactId >maven-jar-plugin</artifactId >
79
- <version >${maven-jar.version} </version >
80
- <configuration >
81
- <archive >
82
- <manifestEntries >
83
- <Automatic-Module-Name >guru.nidi.codeassert</Automatic-Module-Name >
84
- </manifestEntries >
85
- </archive >
86
- </configuration >
87
- </plugin >
88
76
</plugins >
89
77
</build >
90
78
Original file line number Diff line number Diff line change 10
10
<artifactId >code-assert-gui</artifactId >
11
11
<name >${project.artifactId} </name >
12
12
13
+ <properties >
14
+ <module .name>guru.nidi.codeassert.gui</module .name>
15
+ </properties >
16
+
13
17
<dependencyManagement >
14
18
<dependencies >
15
19
<dependency >
Original file line number Diff line number Diff line change 12
12
<name >${project.artifactId} </name >
13
13
<packaging >maven-plugin</packaging >
14
14
15
+ <properties >
16
+ <module .name>guru.nidi.codeassert.mavenplugin</module .name>
17
+ </properties >
18
+
15
19
<build >
16
20
<plugins >
17
21
<plugin >
67
71
</dependency >
68
72
</dependencies >
69
73
70
- </project >
74
+ </project >
Original file line number Diff line number Diff line change 12
12
<name >${project.artifactId} </name >
13
13
14
14
<properties >
15
+ <module .name>guru.nidi.codeassert</module .name>
15
16
<checkstyle .version>6.19</checkstyle .version>
16
17
<findbugs .version>3.1.12</findbugs .version>
17
18
<findsecbugs .version>1.9.0</findsecbugs .version>
18
19
<pmd .version>5.8.1</pmd .version>
19
20
<kotlin .version>1.3.71</kotlin .version>
20
21
<detekt .version>1.9.1</detekt .version>
21
22
<ktlint .version>0.36.0</ktlint .version>
22
- <maven-jar .version>3.2.0</maven-jar .version>
23
23
</properties >
24
24
25
25
<build >
80
80
</execution >
81
81
</executions >
82
82
</plugin >
83
- <plugin >
84
- <groupId >org.apache.maven.plugins</groupId >
85
- <artifactId >maven-jar-plugin</artifactId >
86
- <version >${maven-jar.version} </version >
87
- <configuration >
88
- <archive >
89
- <manifestEntries >
90
- <Automatic-Module-Name >guru.nidi.codeassert</Automatic-Module-Name >
91
- </manifestEntries >
92
- </archive >
93
- </configuration >
94
- </plugin >
95
83
</plugins >
96
84
</build >
97
85
Original file line number Diff line number Diff line change 18
18
import org .junit .jupiter .api .Disabled ;
19
19
import org .junit .jupiter .api .Test ;
20
20
21
- import static guru .nidi .codeassert .junit .CodeAssertCoreMatchers .*;
22
21
import static guru .nidi .codeassert .junit .CodeAssertMatchers .*;
23
22
import static guru .nidi .codeassert .junit .CodeAssertTestType .*;
24
23
import static org .hamcrest .MatcherAssert .assertThat ;
Original file line number Diff line number Diff line change 18
18
import org .junit .Ignore ;
19
19
import org .junit .Test ;
20
20
21
- import static guru .nidi .codeassert .junit .CodeAssertCoreMatchers .*;
22
21
import static guru .nidi .codeassert .junit .CodeAssertMatchers .*;
23
22
import static guru .nidi .codeassert .junit .CodeAssertTestType .*;
24
23
import static org .hamcrest .MatcherAssert .assertThat ;
Original file line number Diff line number Diff line change 38
38
<tag >HEAD</tag >
39
39
</scm >
40
40
41
+ <build >
42
+ <plugins >
43
+ <plugin >
44
+ <artifactId >maven-jar-plugin</artifactId >
45
+ <version >3.2.0</version >
46
+ <configuration >
47
+ <archive >
48
+ <manifestEntries >
49
+ <Automatic-Module-Name >${module.name} </Automatic-Module-Name >
50
+ </manifestEntries >
51
+ </archive >
52
+ </configuration >
53
+ </plugin >
54
+ </plugins >
55
+ </build >
56
+
41
57
</project >
You can’t perform that action at this time.
0 commit comments