Hi,

I'm building a Maven project by looking at this project build by Ant:


http://soa.dzone.com/articles/pattern-based-development-with-0?page=0,3


Everything works fine, except that I can't figure out where to put the
"InsuranceMapping.xml" file used by JiBX. It is not referenced anywhere
except in the original Ant build.xml script seen hereunder ("." infront of
"param" is to make sure the whole post is shown):

<target name="deploy-insurance" description="Deploy the insurance example">
        <echo message="Creating insurance service units" />
                <antcall target="gn:create-serviceunit">
                        <.param name="servicemix-conf"
value="servicemix/insurance-jms-su" />
                        <.param name="service-dest-file"
value="insurance-jms-su.zip" />
                        <.param name="jibx-mapping"
value="jibx/InsuranceMapping.xml" />
                        <.param name="include-classes"
value="esb/dzone/servicemix/model/*" />
                        <.param name="include-resource-dir"
value="servicemix/insurance-jms-su/resources" />

                </antcall>
                <antcall target="gn:create-serviceunit">
                        <.param name="servicemix-conf"
value="servicemix/insurance-file-su" />
                        <.param name="service-dest-file"
value="insurance-file-su.zip" />
                        <.param name="include-classes"
value="esb/dzone/servicemix/model/*" />
                        <.param name="jibx-mapping"
value="jibx/InsuranceMapping.xml" />
                        <.param name="include-resource-dir"
value="servicemix/insurance-file-su/resources" />
                </antcall>


How du I do the same thing in my Maven project. Shoud the
"InsuranceMapping.xml" be referenced from some POM file?

Kind regards,
Kenneth H

Reply via email to