public OutputGenerator create()

in freemarker-generator-maven-plugin/src/main/java/org/apache/freemarker/generator/maven/OutputGenerator.java [116:133]


        public OutputGenerator create() {
            if (pomModifiedTimestamp == Long.MAX_VALUE) {
                throw new IllegalStateException("Must set the pomModifiedTimestamp");
            }
            if (generatorLocation == null) {
                throw new IllegalStateException("Must set a non-null generatorLocation");
            }
            if (templateLocation == null) {
                throw new IllegalStateException("Must set a non-null templateLocation");
            }
            if (outputLocation == null) {
                throw new IllegalStateException("Must set a non-null outputLocation");
            }
            if (dataModel == null) {
                throw new IllegalStateException("Must set a non-null dataModel");
            }
            return new OutputGenerator(pomModifiedTimestamp, generatorLocation, templateLocation, outputLocation, dataModel);
        }