Skip to content

Commit

Permalink
Merge pull request #181 from mojavelinux/issue-114
Browse files Browse the repository at this point in the history
resolves #114 remove the compact configuration option
  • Loading branch information
mojavelinux committed Dec 11, 2015
2 parents 22789b3 + b4b815b commit 50922eb
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/main/java/org/asciidoctor/maven/AsciidoctorMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ public class AsciidoctorMojo extends AbstractMojo {
@Parameter(property = AsciidoctorMaven.PREFIX + Options.BACKEND, defaultValue = "docbook", required = true)
protected String backend = "";

@Parameter(property = AsciidoctorMaven.PREFIX + Options.COMPACT, required = false)
protected boolean compact = false;

@Parameter(property = AsciidoctorMaven.PREFIX + Options.DOCTYPE, defaultValue = "article", required = true)
protected String doctype = "article";

Expand Down Expand Up @@ -153,7 +150,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
}
}

final OptionsBuilder optionsBuilder = OptionsBuilder.options().compact(compact).safe(SafeMode.UNSAFE)
final OptionsBuilder optionsBuilder = OptionsBuilder.options().safe(SafeMode.UNSAFE)
.eruby(eruby).backend(backend).docType(doctype).headerFooter(headerFooter).mkDirs(true);

final AttributesBuilder attributesBuilder = AttributesBuilder.attributes();
Expand Down Expand Up @@ -428,14 +425,6 @@ public void setAttributes(Map<String, Object> attributes) {
this.attributes = attributes;
}

public boolean isCompact() {
return compact;
}

public void setCompact(boolean compact) {
this.compact = compact;
}

public boolean isHeaderFooter() {
return headerFooter;
}
Expand Down

0 comments on commit 50922eb

Please sign in to comment.