1 package org.codehaus.mojo.sqlj;
2
3 import java.io.File;
4
5 import org.apache.maven.plugin.AbstractMojo;
6 import org.apache.maven.plugins.annotations.Parameter;
7
8
9
10
11
12
13 public abstract class AbstractSqljMojo
14 extends AbstractMojo
15 {
16
17
18
19 @Parameter( property = "sqlj.generatedSourcesDirectory", defaultValue = "${project.build.directory}/generated-sources/sqlj" )
20 private File generatedSourcesDirectory;
21
22
23
24
25 @Parameter( property = "sqlj.generatedResourcesDirectory", defaultValue = "${project.build.directory}/generated-resources/sqlj" )
26 private File generatedResourcesDirectory;
27
28 protected File getGeneratedSourcesDirectory()
29 {
30 return generatedSourcesDirectory;
31 }
32
33 protected File getGeneratedResourcesDirectory()
34 {
35 return generatedResourcesDirectory;
36 }
37
38 }