users@jaxb.java.net

hyperjaxb3: Does not work with Dublin Core

From: Martin Homik <mhomik_at_dfki.de>
Date: Fri, 7 Dec 2007 00:49:07 -0800 (PST)

Sorry for cross-posting. My original message to the mailinglist did not show
up,
so, I try to get here some feedback.

I am a bit unexperienced, so maybe there is a simple answer to my problem of
which
I am not aware. I downloaded Dublin Core XSD files and put them into the
resource folder.
I took the schemas from: http://dublincore.org/schemas/xmls/

Running maven with clean and install stopped with a build error. It is quite
surprising that hyperjabx3 doesn't work on the most used schemas.


[INFO] [hyperjaxb3:generate {execution: default}]
[ERROR] Outline processing error.
       org.jvnet.hyperjaxb3.ejb.plugin.EjbPlugin

[ERROR] XJC while compiling schema(s):
java.lang.UnsupportedOperationException: Unexpected type.
Caused by: java.lang.UnsupportedOperationException: Unexpected type.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to compile input schema(s)! Error messages should have been
provided.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to compile
input schema(s)! Error messages should have been provided.
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to compile
input schema(s)! Error messages should have been provided.
       at org.jvnet.jaxb2.maven2.XJC2Mojo.runXJC(XJC2Mojo.java:1027)
       at org.jvnet.jaxb2.maven2.XJC2Mojo.execute(XJC2Mojo.java:652)
       at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
       ... 16 more
-- 
View this message in context: http://www.nabble.com/hyperjaxb3%3A-Does-not-work-with-Dublin-Core-tf4960971.html#a14208984
Sent from the java.net - jaxb users mailing list archive at Nabble.com.