users@jaxb.java.net

Re: JAXB compilation plugin

From: Malachi de Ælfweald <malachid_at_gmail.com>
Date: Mon, 6 Mar 2006 18:38:56 -0800

Sounds good

And yes, I have been looking in vain for that document as well

Let's make sure OUR documentation isn't that bad :)


On 3/6/06, Jonathan Johnson <jonjohnson_at_mail.com> wrote:
>
> >> Are you reading the maven docs differently?
>
> The realy question is have I read the docs at all. ;-). Your right, its
> not a defacto standard. I was mistaken. Many articles about resource
> loading and image talk about putting images a /images directory, but that
> not written in permanent ink. As you say, all resources just go into
> resources root and thereafter its up to your specific needs.
>
> So lets make it
>
> /**
>
> * The source directory containing *.xsd schema and *.xjb binding
> files.
> *
> * @parameter expression="${basedir}/src/main/resources"
> */
> protected File schemaDirectory;
>
> Perhaps there is a maven setting for the resources directory like
> ${resources} instead of using "${basedir}/src/main/resources" but I couldn't
> find the doc for all the ${xxx} settings.
>
> -----Original Message-----
> *From:* Malachi de Ælfweald [mailto:malachid_at_gmail.com]
> *Sent:* Monday, March 06, 2006 1:57 AM
> *To:* users_at_jaxb.dev.java.net
> *Subject:* Re: JAXB compilation plugin
>
> hmmm... I don't think src/main/resources/images is the defacto
> standard... according to the docs, it should copy:
> src/main/resources/net/java/dev/myimage.gif ->
> jar!/net/java/dev/myimage.gif
> by default
>
> by making a schemas subdirectory (or not putting it directly under
> resources), you require that each user make a custom resources section and
> not use the default that comes with maven
>
> to use the default resources settings for maven, it seems like it should
> have the org-net-com/company/package directly under resources
>
> Are you reading the maven docs differently?
>
>
>