I'm finally switching form ant to maven - maven is new to me, so please bear
with me if the question below sounds idiotic ;-)

I need to build an off-line maven repository for the cxf modules.  As a
first step, I used the assembly task to build a repository packaged as a
jar.  

Most of the cxf the poms in the generated archive (and in .m2/) contain a
parent reference like:

    <parent>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-parent</artifactId>
        <version>2.1</version>
        <relativePath>../../../parent/pom.xml</relativePath>
    </parent>

If you're actually working with the cxf sources, you'll find parent/pom.xml.
But that might not always be the case - you might want to use a different
directory structure.

Interestingly, the repository structure for cxf also contains the module
"cxf-parent", whose cxf-parent-2.1.pom is identical to the parent/pom.xml
found in the source distribution.

Can anyone shed some insight as to why cxf modules contain that parent
dependency?  Could I instead just declare a dependency on cxf-parent (and
thus not having to rely on the relative path that might not exist)?

Cheers,

--dan



-- 
View this message in context: 
http://www.nabble.com/Off-line-maven-repository-tp17346046p17346046.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to