Hi,

there's a few issues with the Maven plugin that still needs resolution.
As such, the current (akak released) Maven plugin won't work with Castor
1.1. or higher.

But even with versions 1.0.X, this should work.

As such, how a are you setting the castor builder properties file in
your POM ?

Werner

Baldurien wrote:
> Hi,
> 
> I am working with Castor 1.2 (or at least, that what I put in my pom.xml)
> with Maven 2 on java 1.6sdk6 (last).
> 
> I have set the castorbuilder.properties to a file, that contains
> org.exolab.castor.builder.javaVersion<http://www.castor.org/srcgen-properties.html#Source-generation-&-Java-5.0>=5.0,
> and I am expecting my XML Schema to be "transformed" into Java Class with
> Parametized collection and other fuzzy stuff that only Java 1.5 provide (I
> love it).
> 
> While I do have error with bindings (I'll post a new mail ASAP ;)), I have
> some class that contains list of other element, like:
> 
> <commands>
> <command>...</command>
> <command>...</command>
> </commands>
> 
> So, with Java 1.5, Collection should be parametized. But in my class
> Commands, I only have private ArrayList _somename = ...;
> 
> Where are the parameters?
> 
> It seems that I'm generating stuff in 1.4 even while I have a properties and
> a bindings - which are read, as if I have an error into the xml file, it
> warms me.
> 
> My pom.xml is based on the sample on the site. As I don't have it know, I
> will provide it later if needed. I really think it's due to the pom.xml
> file, as I think it downloaded Castor 0.9.7 somewhere.
> 
> Has someone a good example of valid pom.xml file?
> 
> Also, I'd like to know how I could turn on the logger in DEBUG mode so that
> I could explain it better?
> 
> Thank you,
> 
> Honestly,
> Baldurien
> 
> 


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to