Maven Pre-Integration launching two spring boot apps

Hello I am using Spring Boot to create an integration test. I have a mediator class and a test class where I have two separate spring boot applications running on local host but on two different ports.

They each have their own application.properties (app.properties and test.properties and they are respectively in src/main and src/test). My mediator class is connected to a northbound SOAP endpoint. I want to test these soap calls using an integration test class. I want it to launch on my test server but also launch my mediator server.

I want to do this in my pre-integration in my pom.xml

Currently I have this

                <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven plugin</artifactId>
                <version>2.1.7.RELEASE</version>
                <executions>
                    <execution>
                        <id>pre-integration-test</id>
                        <goals>
                            <goal>start</goal>
                        </goals>
                    </execution>
                    <execution>
                     <id>post-integration-test</id>
                    <goals>
                        <goal>stop</goal>
                     </goals>
                </execution>
                </executions>
            </plugin>


How do I specify to start the two different servers on two different ports?

I know I can do this in my Spring test class by getting the property source and telling which classes to run although I do not know if Spring can handle that annotation(specifying two property sources and running SpringBootTest with two apps). I have a feeling that it will most likely break.

I also want to avoid things like making a shell script. I want to do this in Maven.

I have tried setting the ports in server.properties to a custom name and setting them as arguments to connect but it's not pointing to any of my classes and not running both servers.

 <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>reserve-tomcat-port</id>
            <goals>
              <goal>reserve-network-port</goal>
            </goals>
            <phase>process-resources</phase>
            <configuration>
              <portNames>
              <portName>MY_APP_PORT</portName>
              <portName>billing.engine.port</portName>
              </portNames>
            </configuration>
          </execution>
        </executions>
      </plugin>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <version>2.1.7.RELEASE</version>
                <executions>
                    <execution>
                        <id>pre-integration-test</id>
                        <goals>
                            <goal>start</goal>
                        </goals>
                        <configuration>
                            <arguments>
                                <argument>--server.port=${MY_APP_PORT}</argument>
                                <argument>--server.port=${billing.engine.port}</argument>
                            </arguments>
                        </configuration>
                    </execution>
                </executions>
            </plugin>