[ https://jira.codehaus.org/browse/MJAXB-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=287369#comment-287369 ]
James Nord commented on MJAXB-58: --------------------------------- Similar support is available in the java.net jaxb plugin (http://java.net/projects/maven-jaxb2-plugin/pages/Home) > Add native support for episodes > ------------------------------- > > Key: MJAXB-58 > URL: https://jira.codehaus.org/browse/MJAXB-58 > Project: Maven 2.x JAXB 2.1 Plugin > Issue Type: New Feature > Affects Versions: 1.3.1 > Reporter: James Nord > > it is not trivial to use jaxb episodes. > The episode file needs to be called sun-jaxb.episode and located in META-INF/ > of the created jar. > passing "-episode > ${project.build.directory}/generated-resources/META-INF/sun-jaxb.episode" as > an argument fails as the folder does not exists (the xjc tool fails) > using > <generatedResourcesDirectory>${project.build.directory}/generated-resources</generatedResourcesDirectory> > fails (as the meta-inf directory is missing. > using > <generatedResourcesDirectory>${project.build.directory}/generated-resources/META-INF</generatedResourcesDirectory> > the episode file ends up in the root of the jar. > Coupled with this there is no obvious way of adding one or more jars to the > classpath of the xjc tool that contain the binding file, to reuse a jar with > jaxb generated classes and a episode file. > Similar support is available in the -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.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