Hello all
i am trying to use Maven jibx plugin in my maven project... but i am getting
lots of problems
here's my configuration
<plugin>
<groupId>org.jibx</groupId>
<artifactId>maven-jibx-plugin</artifactId>
<version>1.1.5</version>
<configuration>
<directory>src/main/resources/jibx</directory>
<includes>
<includes>*.xml</includes>
</includes>
<verbose>true</verbose>
</configuration>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>bind</goal>
</goals>
</execution>
</executions>
</plugin>
and here's exception
[INFO] Running JiBX binding compiler (single-module mode) on 18 binding file(s)
Running binding compiler version jibx_1_1_5
binding calendar:
context (mp#=2) (cv#=0) (fm#=0)
mapping class com.barcap.rsp.domain.calendar.SmsCalendarImpl to element Calend
ar (#0)
context (ns#=1) (cv#=0) (fm#=0)
namespace static.sms.calendar
element wrapper Calendar
object binding for com.barcap.rsp.domain.calendar.SmsCalendarImpl create cla
ss com.barcap.rsp.domain.calendar.SmsCalendarImpl
structure unordered
attribute Action from property action (java.lang.String)
attribute SDSCode from property sdsCode (java.lang.String)
attribute SDSType from property sdsType (java.lang.String)
element wrapper Holidays optional structure object
structure ordered
collection ordered (com.barcap.rsp.domain.calendar.SmsHolidayImpl)
mapping reference to com.barcap.rsp.domain.calendar.SmsHolidayImpl usin
g property from collection (com.barcap.rsp.domain.calendar.SmsHolidayImpl)
element {static.sms.calendar}:Comment from property comment (java.lang.Str
ing)
mapping class com.barcap.rsp.domain.calendar.SmsHolidayImpl to element Holiday
(#1)
context (ns#=1) (cv#=0) (fm#=1)
namespace static.sms.calendar
element wrapper Holiday
object binding for com.barcap.rsp.domain.calendar.SmsHolidayImpl create clas
s com.barcap.rsp.domain.calendar.SmsHolidayImpl
structure ordered
attribute Date from property date (java.util.Date)
attribute Reason from property reason (java.lang.String)
attribute Tentative from property tentative (boolean)
attribute Code from property code (int)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO]
*** Error during code generation for file 'serviceStatus.xml' - please enter a b
ug report for this error in Jira if the problem is not listed as fixed on the on
line status page ***
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException:
*** Error during code generation for file 'serviceStatus.xml' - please enter a b
ug report for this error in Jira if the problem is not listed as fixed on the on
line status page ***
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:719)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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:
*** Error during code generation for file 'serviceStatus.xml' - please enter a b
ug report for this error in Jira if the problem is not listed as fixed on the on
line status page ***
at org.jibx.maven.JibxMojo.compile(JibxMojo.java:225)
at org.jibx.maven.JibxMojo.execute(JibxMojo.java:174)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
... 17 more
Caused by: org.jibx.runtime.JiBXException:
*** Error during code generation for file 'serviceStatus.xml' - please enter a b
ug report for this error in Jira if the problem is not listed as fixed on the on
line status page ***
at org.jibx.binding.Utility.loadBinding(Utility.java:338)
at org.jibx.binding.Utility.loadFileBinding(Utility.java:413)
at org.jibx.binding.Compile.compile(Compile.java:296)
at org.jibx.maven.JibxMojo.compile(JibxMojo.java:222)
... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 seconds
could anyone help pls?
thanks and regards
marco
_______________________________________________
This e-mail may contain information that is confidential, privileged or
otherwise protected from disclosure. If you are not an intended recipient of
this e-mail, do not duplicate or redistribute it by any means. Please delete it
and any attachments and notify the sender that you have received it in error.
Unless specifically indicated, this e-mail is not an offer to buy or sell or a
solicitation to buy or sell any securities, investment products or other
financial product or service, an official confirmation of any transaction, or
an official statement of Barclays. Any views or opinions presented are solely
those of the author and do not necessarily represent those of Barclays. This
e-mail is subject to terms available at the following link:
www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the
foregoing. Barclays Capital is the investment banking division of Barclays
Bank PLC, a company registered in England (number 1026167) with its registered
office at 1 Churchill Place, London, E14 5HP. This email may relate to or be
sent from other members of the Barclays Group.
_______________________________________________
------------------------------------------------------------------------------
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users