Commit 52a6938a authored by Ole Hejlskov's avatar Ole Hejlskov
Browse files

Remove Solr and custom databases (including H2) from the plugin. This now...

Remove Solr and custom databases (including H2) from the plugin. This now requires these services to be available externally
parent 7edac56e
Loading
Loading
Loading
Loading
+16 −618

File changed.

Preview size limit exceeded, changes collapsed.

+1 −7
Original line number Diff line number Diff line
@@ -82,18 +82,12 @@ public class IntegrationTestMojo extends AbstractRunMojo {
        getLog().info("Checking if Tomcat is already running on port " + "");
        if ( ! tomcatIsRunning() ) {

            if (enableSolr) {
                unpackSolrConfig();
                fixSolrHomePath();
                replaceSolrConfigProperties();
                installSolr10InLocalRepo();
            }


            if (enableTestProperties && enablePlatform) {
                copyAlfrescoGlobalProperties();
            }

            String testJarArtifactId = null;
            if (enablePlatform) {
                // Add alfresco-rad module to platform WAR
                // So we got access to Alfresco Test Runner in the server
+0 −10
Original line number Diff line number Diff line
@@ -47,15 +47,6 @@ public class RunMojo extends AbstractRunMojo {
        );



        if (enableSolr) {
            unpackSolrConfig();
            fixSolrHomePath();
            copySolrCustomConfig();
            replaceSolrConfigProperties();
            installSolr10InLocalRepo();
        }

        if (enableTestProperties && enablePlatform) {
            copyAlfrescoGlobalProperties();
        }
@@ -69,7 +60,6 @@ public class RunMojo extends AbstractRunMojo {
        }

        if (startTomcat) {
            checkDatabaseConfig();
            boolean fork = false;
            startTomcat(fork);
        }