File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 65
65
<scope >test</scope >
66
66
</dependency >
67
67
</dependencies >
68
+ <build >
69
+ <plugins >
70
+ <plugin >
71
+ <!-- Don't generate a jar -->
72
+ <groupId >org.apache.maven.plugins</groupId >
73
+ <artifactId >maven-jar-plugin</artifactId >
74
+ <executions >
75
+ <execution >
76
+ <id >default-jar</id >
77
+ <phase />
78
+ </execution >
79
+ </executions >
80
+ </plugin >
81
+ <plugin >
82
+ <!-- No jar to install, skip configuration needs 2.4+ -->
83
+ <groupId >org.apache.maven.plugins</groupId >
84
+ <artifactId >maven-install-plugin</artifactId >
85
+ <version >2.4</version >
86
+ <configuration >
87
+ <skip >true</skip >
88
+ </configuration >
89
+ </plugin >
90
+ </plugins >
91
+ </build >
68
92
<profiles >
69
93
<profile >
70
94
<id >hibernate5_2-test</id >
77
101
<groupId >org.apache.maven.plugins</groupId >
78
102
<artifactId >maven-surefire-plugin</artifactId >
79
103
<configuration >
104
+ <!-- Configure surefire to look for tests inside jackson-datatype-hibernate5 test-jar
105
+ package, otherwise no test runs -->
80
106
<dependenciesToScan >
81
107
<dependency >com.fasterxml.jackson.datatype:jackson-datatype-hibernate5</dependency >
82
108
</dependenciesToScan >
You can’t perform that action at this time.
0 commit comments