Package mojo

Examples of mojo.IndexBuilderMojo


import org.springframework.core.io.FileSystemResource;

class TestIndexBuilderMojo {

    public static void main(String[] args) throws Exception {
        IndexBuilderMojo builderMojo = new IndexBuilderMojo();
        FileSystemResource fileSystemResource = new FileSystemResource("src/main/resources/sample-lucene.xml");
        builderMojo.setConfigFileLocation(fileSystemResource.getFile().getAbsolutePath());
        builderMojo.execute();
    }
View Full Code Here

TOP

Related Classes of mojo.IndexBuilderMojo

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.