Hello,

Can I use a parent artifact as a reference in a project pom?

For example a cut out from a test pom.xml:

        <dependency>
                <groupId>de.tmobile.cabu</groupId>
                <artifactId>fom</artifactId>
                <version>7.1</version>
        </dependency>

"fom" is a parent artifact with a list of modules in its pom.xml. But 
it seems that this wont work. It seems that maven expects a jar 
artifact.

If I do something like that

        <dependency>
                <groupId>de.tmobile.cabu</groupId>
                <artifactId>fom-module1</artifactId>
                <version>7.1</version>
        </dependency>

does it work. Is that behaviour correct or is there somewhere a bug?

Kindly Regards




Andrey

-- 
Andrey Behrens, 
Mobil: +49-160-92755947
Phone: +49-228-936-36478

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to