diff --git a/java/pom.xml b/java/pom.xml
index ad484455..c5b1a354 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -15,7 +15,7 @@
17
17
UTF-8
- src/test/java/com/ibm/plugin/
+ src/test/java/com/ibm/plugin/rules
diff --git a/java/src/test/java/com/ibm/plugin/rules/ExportJavaRulesToJsonTest.java b/java/src/test/java/com/ibm/plugin/ExportJavaRulesToJsonTest.java
similarity index 98%
rename from java/src/test/java/com/ibm/plugin/rules/ExportJavaRulesToJsonTest.java
rename to java/src/test/java/com/ibm/plugin/ExportJavaRulesToJsonTest.java
index 0747ec7f..f783a20a 100644
--- a/java/src/test/java/com/ibm/plugin/rules/ExportJavaRulesToJsonTest.java
+++ b/java/src/test/java/com/ibm/plugin/ExportJavaRulesToJsonTest.java
@@ -17,7 +17,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package com.ibm.plugin.rules;
+package com.ibm.plugin;
import com.ibm.engine.serializer.ExportRules;
import com.ibm.plugin.rules.detection.JavaDetectionRules;