[ http://jira.codehaus.org/browse/MOJO-454?page=all ]
Anagnostopoulos Kostis closed MOJO-454.
---------------------------------------
Resolution: Fixed
You are correct Jochen,
this patch has no reason, since the functionality is provided by the
'addToClasspath' parameter.
I also agree with you that the name 'addToResources' would be a more decriptive
and correct for the former parameter.
(Actually, that's why i submitted the patch in the first place: i mistakenly
thought that the 'addToClasspath' parameter adds the output dir(s) into the
list of source folders.)
> [xml-maven-plugin] Parameter to attach as resources the transformed files.
> --------------------------------------------------------------------------
>
> Key: MOJO-454
> URL: http://jira.codehaus.org/browse/MOJO-454
> Project: Mojo
> Issue Type: Improvement
> Components: xml
> Environment: version: 0.0.1
> revision: 2093
> Reporter: Anagnostopoulos Kostis
> Attachments: xmlplgn.addToRescs.MOJO-454.patch
>
>
> Since there is already a parameter addedAsClasspath, the it is ok (and
> necessary) to permit to add the generated files as resources.
> param: addedToResources:(false). When false, it transformed files are not
> added as resources.
> ----
> RATIONAL:
> A perfect ecample for the necessity of this parameter is a project i'm
> currently working. I use Hyperjaxb2 and i generate hibernate mapping files
> directly from the schemas. Since the hyperjaxb2 cannot handle all cases, i
> need to twick a little bit the resulted *.hdm.xml files, using XSLTs.
> Eventually, they should end up inside the jars, and without this param, a
> separate ant execution is needed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email