Hi,

I have a project structure like this:

projectA-persistence - database classes
projectA-services - services (depends on projectA, maven speaking).

If my jibx-plugin is in SERVICES, isn't the multi-module option of the
jibx-plugin supposed to find the *-binding.xml files that I put in the
resources of PERSISTENCE? I thought that the following snippet would
work (see bellow), but it doesn't - as soon as I remove
the /src/main/resources/jibx directory from SERVICES the binding goal
will say "no binding files", even though I have them
in /src/main/resources/jibx of PERSISTENCE.

Does anyone know how this works? I've tried this configuration, the same
but removing :0.0.1-SNAPSHOT, <multi-module>true, but none seems to work
in my Eclipse project.

        <plugin>
                                                <groupId>org.jibx</groupId>
                                                
<artifactId>maven-jibx-plugin</artifactId>
                                                
<version>1.2.3-SNAPSHOT</version>
                                                <configuration>                 
                
                                                        <modules>

<module>org.information:pv-information-persistance:0.0.1-SNAPSHOT</module>
                                                        </modules>
                                                        
<directory>src/main/resources/jibx</directory>
                                                        <includes>              
                                                
                                                                
<include>*-binding.xml</include>
                                                        </includes>
                                                        <verbose>true</verbose>
                                                </configuration>
                                                <executions>
                                                        <execution>
                                                                
<phase>process-classes</phase>
                                                                <goals>
                                                                        
<goal>bind</goal>
                                                                </goals>
                                                        </execution>
                                                </executions>
                                        </plugin>


Thank you for the replies!

Miguel Almeida
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to