You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Tim Anderson <tm...@netspace.net.au> on 2003/05/27 06:18:13 UTC

[castor plugin] plugin improvements

Hi guys,
    I've patched the castor plugin so that it can be
used in a pregoal for java:compile, e.g:

  <preGoal name="java:compile">
    <attainGoal name="castor:prepare-filesystem"/>
    <castor:generate schema="src/schemas/foo.xsd"
                     package="com.foo.bar"
                     types="j2"/>
  </preGoal>

The changes include:

. timestamp tracking so that java sources are only generated
  if the schema is newer than the existing generate source
. improved documentation
. generation of the marshalling code - this is now the default behaviour
 
I've raised the following issue, and attached the patches:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-445

Regards,

Tim


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org