Maven sibling module support

Hi, I have a maven project which has a structure in file system like this

project_root
|
+-- project_parent
|        +-- pom.xml
+-- project_moduleA
|        +-- pom.xml
+-- project_moduleB
|        +-- pom.xml

pom.xml in project_parent directory defines the sibling relationship between module A & B.

<!-- pom.xml in project_parent -->
<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.circleci.discuss</groupId>
    <artifactId>project_parent</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <packaging>pom</packaging>
    <name>project_parent</name>
    <description>Parent Module of the Project</description>
    <modules>
        <module>../project_moduleA</module>
        <module>../project_moduleB</module>
    </modules>
</project>

Also, module A imports module B as a dependency in pom.xml.

I am managing module A and B separately on GitHub and using Circle CI as the CI service for each one. Since they are treated as different project, when CI test ran in module A, “Could not resolve dependencies for project” error would appear.
I tried to add module B as a git submodule for module A but didn’t help.

Could anyone kindly tell me how can I achieve maven test in Circle CI for module A?