[
http://jira.codehaus.org/browse/JIBX-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219528#action_219528
]
Don Corley commented on JIBX-181:
---------------------------------
Frank,
Sorry it took so long to respond. I just took over maven support. I'll try to
address this issue.
I'm not too clear on what you are doing.
If you have a multi-module build, I don't understand how both modules could be
built at the same time.
Typically sub-modules would have to have jar packaging and be built separately.
I don't know of a way for maven to build the code
from two modules at the same time, other than having a inter-module source
reference such as '../other-module/src..' which is highly discouraged in maven.
Could you attach an example.
Don
> Jibx compiler modified "non-jibx" classes in multi-module Maven environment
> ---------------------------------------------------------------------------
>
> Key: JIBX-181
> URL: http://jira.codehaus.org/browse/JIBX-181
> Project: JiBX
> Issue Type: Bug
> Components: maven plugin
> Affects Versions: JiBX 1.1.5
> Environment: jdk 1.5; maven 2.0.5
> Reporter: Frank Luo
> Assignee: Don Corley
>
> This problem only exists with maven projects with multi-modules.
> Supposing there are two maven projects A and B. B depends on A and jibx is
> used in B but classes in A is refered in the binding files via
> get/set-methods. So in theory, classes in A shouldn't be modified because
> only getter/setters are accessed by Jibx, but it might or might not be true,
> depends on how maven is invoked.
> If the projects are built separately, namely build A first, then B. Because B
> is refering A throught a jar file, then classes in A are not modified (of
> course). But if A and B are built at the same time, then at the time B is
> built, maven is smart enough to add project A's classes, instead of A.jar,
> in the classpath for compiling, and somehow A's classes are modified by Jibx,
> which is not desired.
> Did I make myself clear?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs