Package org.apache.syncope.installer.utilities

Examples of org.apache.syncope.installer.utilities.MavenUtils


                            GlassfishCoreWebXml.withDataSource());
                    break;
            }
        }

        final MavenUtils mavenUtils = new MavenUtils(mavenDir, handler);
        mavenUtils.createPackage(installPath + "/" + artifactId, confDirectory, logsDirectory, bundlesDirectory);

        switch (selectedContainer) {
            case TOMCAT:
                final Tomcat tomcat = new Tomcat(
                        tomcatSsl, tomcatHost, tomcatPort, installPath, artifactId, tomcatUser, tomcatPassword, handler);
View Full Code Here


        final FileSystemUtils fileSystemUtils = new FileSystemUtils(handler);
        fileSystemUtils.createDirectory(installPath);
        InstallLog.initialize(installPath, handler);

        final MavenUtils mavenUtils = new MavenUtils(mavenDir, handler);
        mavenUtils.archetypeGenerate(
                syncopeVersion, groupId, artifactId, secretKey, anonymousKey, installPath);

        fileSystemUtils.writeToFile(new File(installPath + "/" + artifactId + Pom.PATH),
                String.format(Pom.FILE, syncopeVersion, syncopeVersion, groupId, artifactId));
        fileSystemUtils.createDirectory(confDirectory);
        fileSystemUtils.createDirectory(logsDirectory);
        fileSystemUtils.createDirectory(bundlesDirectory);
        mavenUtils.createPackage(installPath + "/" + artifactId, confDirectory, logsDirectory, bundlesDirectory);
    }
View Full Code Here

TOP

Related Classes of org.apache.syncope.installer.utilities.MavenUtils

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.