Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] XJC Plugin Problems

Can you try using maven 3.1.1 on command line? This is the version of
maven used by m2e during workspace build, so maybe this can explain the
different output you get.

You can also enable debug log in
.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback*.xml,
maybe this will explain the difference.

Beyond that, you will need to debug your XJC plugin running inside m2e
to see what is going on.

--
Regards,
Igor

On 2/17/2014, 13:05, Keith Barlow wrote:
Hiyas,

I started have a problem with my XJC plugin recently... for some reason,
when generating Java from XSD, boolean fields are getting generated as
getXXX() instead of isXXX().  We do use a customized version of the XJC
plugin, however the problem only happens when invoking the plugin
through M2E in eclipse.  If run mvn on the command line, it generates
the isXXX() methods.  To compound the enigma, M2E is configured to run
the same external instace of maven that I use on the command line.

Is there something about the way m2e invokes the external maven instance
that could cause this?
It's only started happening recently.  It used to work fine.

Eclipse Version: 4.3.0.M20130911-1000
m2e version: 0.15.0.20120709012
maven version: Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)

Thanks.

Keith

--
Keith Barlow

/Software Engineer/
*Dell Boomi*


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top