You could possibly do this by overriding the deps for the plugin. Se example here: http://jira.codehaus.org/browse/MJAXB-61
For this example to work you need to use the same groupId and artifactId as the orifinal deps. Only change version. IIRC you cannot exclude any existing deps. /Anders On Wed, Sep 18, 2013 at 10:10 AM, Gerhards, Matthias < matthias.gerha...@dvka.de> wrote: > ** ** > > H al,**** > > can I convince jaxb2-maven-plugin on java 6 to use any other jaxb version > than 2.1 e.g. using the endorsed strategy? In my case I would like to > replace jaxb 2.1 by a forked version called jaxb-facets that includes > extended features for schema generation with schemagen. I’ve tried to > manage that stuff now for two days and forehead is sour from all the head > banging ;-)**** > > ** ** > > Regards**** > > Matthias Gerhards**** > > Externer Mitarbeiter > *GKV-Spitzenverband** > Deutsche Verbindungsstelle > Krankenversicherung - Ausland (DVKA) > Postfach 20 04 64* > *D-53134 Bonn* **** > > Telefon +49 228 9530 -661 > Telefax +49 228 9530-9 > E-Mail matthias.gerhards*@dvka.de <matthias.gerha...@dvka.de> > *Internet *www.dvka.de*** > > ** ** >