Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] M2eclipse JAXB connectors

Yes, you need to use m2e 1.1. Support for embedding lifecycle mapping
metadata in maven plugins was added in m2e 1.1.

--
Regards,
Igor

On 12-08-14 11:42 AM, Kathryn Huxtable wrote:
I seem to be using 1.0. Whatever came with Indigo.

Using 1.1 adds the generated sources (I have several) to the class path?

-K

On Aug 14, 2012, at 10:17 AM, Marcel Schutte <maro.schutte@xxxxxxxxx
<mailto:maro.schutte@xxxxxxxxx>> wrote:

The target/generated-sources/xjc folder is added as a source folder.
This ofcourse triggers compilation of the generated code and makes it
available in your own java code.

Are you using m2e 1.1 ? Did you do a 'maven/update project' after you
added the maven-jaxb2--plugin to your pom?

On Tue, Aug 14, 2012 at 5:06 PM, Kathryn Huxtable
<kathryn@xxxxxxxxxxxxxxxxxxx <mailto:kathryn@xxxxxxxxxxxxxxxxxxx>> wrote:

    Hmmm.  That is what I'm using. Is the class path adjusted to
    include the generated sources, because that's my issue.

    -K

    On Aug 14, 2012, at 9:53 AM, Marcel Schutte
    <maro.schutte@xxxxxxxxx <mailto:maro.schutte@xxxxxxxxx>> wrote:

    I prefer this maven plugin version:
             <groupId>org.jvnet.jaxb2.maven2</groupId>
           	<artifactId>maven-jaxb2-plugin</artifactId>
           	<version>0.8.1</version>
    because they've got the lifecycle mapping included in the maven
    plugin. So you don't need an extra m2e connector.

    On Tue, Aug 14, 2012 at 4:45 PM, Kathryn Huxtable
    <kathryn@xxxxxxxxxxxxxxxxxxx
    <mailto:kathryn@xxxxxxxxxxxxxxxxxxx>> wrote:

        I need one. Is there a recommended one? The mhellman one at
        github seems to be horked recently.

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




    --
    Fotografie
    http://schutte.name/

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

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




--
Fotografie
http://schutte.name/

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


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



Back to the top