xml mappers does not include into Springboot jar file.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

xml mappers does not include into Springboot jar file.

Andrey Rogov
Happy New Year myBatis group !

I created springboot project and generated jar file using maven.
Xml mappers does not included into the jar file.
Is there an option or annotation for including xml files to jar ?

regards,
my best wishes !

Andrey

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/CAAJ_J17CFbZY3pjstUtJ_w1VEchSydtgWewec6U24sFwjDsPjQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: xml mappers does not include into Springboot jar file.

Iwao AVE!
Hello Andrey,

XML mappers will be included into the jar if they are in the 'src/main/resources' directory.
If they are in a different directory (e.g. src/main/java), you may need to edit the pom.xml.

Regards,
Iwao


On Sun, Jan 5, 2020 at 1:24 AM Andrey Rogov <[hidden email]> wrote:
Happy New Year myBatis group !

I created springboot project and generated jar file using maven.
Xml mappers does not included into the jar file.
Is there an option or annotation for including xml files to jar ?

regards,
my best wishes !

Andrey

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/CAAJ_J17CFbZY3pjstUtJ_w1VEchSydtgWewec6U24sFwjDsPjQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/CA%2Buep2TZtR1gUBV88wjR45bWsUTcgv1MZCpDRvhg9HEu8XDi%2BQ%40mail.gmail.com.