On Mon, Mar 16, 2009 at 9:59 PM, Isaac <[email protected]> wrote:

>
>
> On Mon, Mar 16, 2009 at 8:18 PM, Geoffrey Wiseman <
> [email protected]> wrote:
>
>> On Mon, Mar 16, 2009 at 6:48 AM, Isaac <[email protected]> wrote:
>>
>> > i get a project with dependencies like this:
>> >
>> >    <dependencies>
>> >        <dependency>
>> >            <groupId>groupA</groupId>
>> >            <artifactId>artifactC</artifactId>
>> >            <version>1.0.0-SNAPSHOT</version>
>> >        </dependency>
>> >        <dependency>
>> >            <groupId>groupA</groupId>
>> >            <artifactId>artifactC</artifactId>
>> >            <version>1.0.0-SNAPSHOT</version>
>> >        </dependency>
>> >    </dependencies>
>> >
>>
>> I assume you meant to use two different group ids?
>>
>>  - Geoffrey
>> --
>> Geoffrey Wiseman
>> http://www.geoffreywiseman.ca/
>>
>
>
> yes, two different group ids, but their artifact id are the same. so i get
> only one jar,but i want two.
>


 i made a mistake in the sample code, sorry about that.
groupA and groupB not both groupA
    <dependencies>
        <dependency>
            <groupId>*groupA*</groupId>
            <artifactId>artifactC</artifactId>
            <version>1.0.0-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>*groupB*</groupId>
            <artifactId>artifactC</artifactId>
            <version>1.0.0-SNAPSHOT</version>
        </dependency>
    </dependencies>

Reply via email to