maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wilde" <...@it-innovation.soton.ac.uk>
Subject RE: Maven castor plugin: Could not find
Date Mon, 21 Feb 2005 10:58:58 GMT
> Has anybody got the castor plugin that is shipped with maven 
> v1.0.2 to work at all?

Yes.

This is the relevant code from maven.xml:

<project default="java:compile" xmlns:castor="castor"
xmlns:ant="jelly:ant" xmlns:j="jelly:core" xmlns:deploy="deploy">

...

<goal name="xsd-compile" description="Compiles schema files">
		<attainGoal name="castor:prepare-filesystem"/>
		<castor:generate schema="src/xsd/auth-types.xsd"
                     marshal="false"
	
package="uk.ac.soton.itinnovation.grid.auth.types"
                     types="j2"/>
</goal>

And I have declared the location of castor.properties and
castorbuild.properties using

maven.castor.properties.dir=src/resources/castor

Hope this helps.

Andy Wilde
IT Innovation Centre
2 Venture Road
Chilworth Science Park
Southampton, SO16 7NP, UK

tel: +44 23 8076 0834
fax: +44 23 8076 0833

mailto:ajw@it-innovation.soton.ac.uk
http://www.it-innovation.soton.ac.uk



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


Mime
View raw message