File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
38
38
39
39
<build >
40
40
<sourceDirectory >.</sourceDirectory >
41
- <!-- TODO: use build-helper:add-test-source to add plugins/UserPlugin/test/ -->
41
+ <!-- Note that the plugins/UserPlugin/test/ directory is added via the build-helper plugin below -->
42
42
<testSourceDirectory >LdapPlugin/test</testSourceDirectory >
43
43
44
44
<testResources >
@@ -75,6 +75,26 @@ Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
75
75
</configuration >
76
76
</plugin >
77
77
78
+ <plugin >
79
+ <groupId >org.codehaus.mojo</groupId >
80
+ <artifactId >build-helper-maven-plugin</artifactId >
81
+ <version >1.8</version >
82
+ <executions >
83
+ <execution >
84
+ <id >add-test-source</id >
85
+ <phase >generate-test-sources</phase >
86
+ <goals >
87
+ <goal >add-test-source</goal >
88
+ </goals >
89
+ <configuration >
90
+ <sources >
91
+ <directory >UserPlugin/test</directory >
92
+ </sources >
93
+ </configuration >
94
+ </execution >
95
+ </executions >
96
+ </plugin >
97
+
78
98
</plugins >
79
99
</build >
80
100
You can’t perform that action at this time.
0 commit comments