@Override
    public void execute() throws MojoExecutionException {
        if (skip) {
            getLog().info("Skipped execution of ActiveMQ Broker");
            return;
        }

        addActiveMQSystemProperties();

        getLog().info("Loading broker configUri: " + configUri);
        if (this.xBeanFileResolver.isXBeanFile(configUri)) {
            getLog().debug("configUri before transformation: " + configUri);
            configUri = this.xBeanFileResolver.toUrlCompliantAbsolutePath(configUri);
            getLog().debug("configUri after transformation: " + configUri);
        }

        this.useBrokerManager().start(fork, configUri);

        //
        // Register the transport connector URIs in the Maven project.
        //
        this.registerTransportConnectorUris();

        getLog().info("Started the ActiveMQ Broker");
    }
@Test
    public void testUseXbeanConfigFile () throws Exception {
        Mockito.when(this.mockXbeanFileResolver.isXBeanFile("x-config-uri-x")).thenReturn(true);
        Mockito.when(this.mockXbeanFileResolver.toUrlCompliantAbsolutePath("x-config-uri-x"))
                .thenReturn("x-transformed-uri-x");

        this.startBrokerMojo.execute();

        Mockito.verify(this.mockMavenLog).debug("configUri before transformation: x-config-uri-x");
        Mockito.verify(this.mockMavenLog).debug("configUri after transformation: x-transformed-uri-x");
    }