Kostis Anagnostopoulos wrote:
> Hi,
>
> I have uploaded the jaxb-1.x jars into m2-repo_at_dev.java.net with (as
> it seems) erroneous dependencies. I have forgotten to include the
> dom4j dependency, as reported by
> Stephan Götter:
Since this is a snapshot version, I think you can just post a new
version with dom4j added as a dependency.
>
> On Thursday 07 September 2006 13:59, Stephan Götter wrote:
>> ...
>> 5. Then I added this option
>>
>> <schemaLanguage>DTD</schemaLanguage>
>>
>> and now I've got this error:
>>
>> [INFO] XJC parsing input schema(s)...
>> [ERROR] XJC while parsing schemas: org.xml.sax.SAXParseException: dom4j
>> is required to compile DTD. Please download it f
>> rom http://www.dom4j.org/ and place it to the lib directory, then
>> try again.
>>
>> After adding this to
>>
>> <dependency>
>> <groupId>dom4j</groupId>
>> <artifactId>dom4j</artifactId>
>> <version>1.6.1</version>
>> </dependency>
>>
>> com/sun/tools/xjc/maven2/maven-jaxb1-plugin/1.0-SNAPSHOT/maven-jaxb1-plugin
>>-1.0-SNAPSHOT.pom
>>
>> in local repository the generation of classes worked.
>> ...
>
> There are a couple of issues now:
>
> 1. This lib is not included into jaxb-ri-1.0.6 does not include the
> dom4j into the /libs dir. Is this forgotten? Is it on purpose ?
>
> 2. Is this lib required on runtime ?
>
> 3. Which jar's deps to update ?
> a) jaxb-libs ?
> b) jaxb-xjc ?
> c) maven-jaxb1-plugin ?
>
> 4. What version should the updated jar be ?
> a) 1.0.6.1 ?
> b) 1.0.6-SOMETHING ?
>
> Regards and Thanks in Advance,
> Kostis
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
> .
>
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com