summaryrefslogtreecommitdiffstats
path: root/vespa-documentgen-plugin
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-06-04 23:52:15 +0200
committergjoranv <gv@verizonmedia.com>2022-06-08 11:45:29 +0200
commit030daab70b51094e9687410ce14690aacb8c4d13 (patch)
tree2ef65fdcc303017df9577c61a1811bc5a481554e /vespa-documentgen-plugin
parent9c81f1cc141d44d5bc5ed6d6fcf437b1201d6034 (diff)
Remove config version on Vespa 8
Diffstat (limited to 'vespa-documentgen-plugin')
-rw-r--r--vespa-documentgen-plugin/src/main/java/com/yahoo/vespa/DocumentGenMojo.java19
1 files changed, 2 insertions, 17 deletions
diff --git a/vespa-documentgen-plugin/src/main/java/com/yahoo/vespa/DocumentGenMojo.java b/vespa-documentgen-plugin/src/main/java/com/yahoo/vespa/DocumentGenMojo.java
index ed497e8ec1b..0183e2d08a6 100644
--- a/vespa-documentgen-plugin/src/main/java/com/yahoo/vespa/DocumentGenMojo.java
+++ b/vespa-documentgen-plugin/src/main/java/com/yahoo/vespa/DocumentGenMojo.java
@@ -58,19 +58,9 @@ public class DocumentGenMojo extends AbstractMojo {
private MavenProject project;
/**
- * Directory containing the searchdefinition files
- * @deprecated use {@link #schemasDirectory} instead
- */
- // TODO: Remove in Vespa 8
- @Deprecated
- @Parameter(defaultValue = ".", required = false)
- private File sdDirectory;
-
- /**
* Directory containing the schema files
*/
- // TODO: Make this required and with defaultValue "." when sdDirectory is removed in Vespa 8
- @Parameter
+ @Parameter(defaultValue = ".", required = true)
private File schemasDirectory;
/**
@@ -982,12 +972,7 @@ public class DocumentGenMojo extends AbstractMojo {
@Override
public void execute() {
- File dir = sdDirectory;
- // Prefer schemasDirectory if set
- if (this.schemasDirectory != null)
- dir = this.schemasDirectory;
-
- execute(dir, this.outputDirectory, packageName);
+ execute(this.schemasDirectory, this.outputDirectory, packageName);
}
Map<String, Schema> getSearches() {