Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Maven Castor Plugin Settings

Property name Description Optional?
maven.castor.properties.dir Specifies the directory to locate the castorbuilder.properties file. Yes
maven.castor.dest Specifies the directory to place generated sources.

Defaults value is ${maven.build.dir}/castor/src
Yes
maven.castor.tstamp Specifies the directory to output timestamp files. These are used to track source modifications against the generated files, to avoid unecessary generation.

Default value is ${maven.build.dir}/castor/tstamp
Yes

Other properties used

Property name Description Optional?
maven.compile.src.set The source directories maven uses to compile java code. The Castor plugin adds the directory it generates code to this path, so that generated code is compiled seamlessly Yes