No that's not what I'm looking for. This mechanism is using for
excluding transitive artifacts. But I'm looking for a way to exclude
only one jar file.

2009/8/25 Anders Hammar <[email protected]>:
> You can exclude transitive dependencies, if that's what you're after. Please
> see "Transitive Dependency Exclusion" at
> http://docs.codehaus.org/display/MAVENUSER/Dependency+Mechanism
>
> /Anders
>
> On Tue, Aug 25, 2009 at 16:48, Serbulent UNSAL <[email protected]> wrote:
>
>> Hi,
>>
>> I add the artifact as
>>
>>        <dependency>
>>                <groupId>ca.uhn.hapi</groupId>
>>                <artifactId>hapi-base</artifactId>
>>                <version>1.0-beta1</version>
>>                <type>jar</type>
>>                <scope>compile</scope>
>>        </dependency>
>>
>> It comes with some dependencies and "hapi-base-version.jar"  I'd like
>> to keep dependencies and exclude "hapi-base-<version>.jar" file.
>>
>> Thanks,
>>
>> Serbulent
>>
>>
>> 2009/8/25 Alexander <[email protected]>:
>> > Could you explain your problem more concreate? How do you generating
>> > artifact?
>> >
>> > 2009/8/25 Serbulent UNSAL <[email protected]>
>> >
>> >> Hi,
>> >>
>> >> İs there a way to exclude a file from an artifact ? In my example I
>> >> provide habi-base-0.6.jar as source packages ( from repo
>> >> http://hl7api.sourceforge.net/m2/ ) but I'd like to manage other
>> >> dependencies with maven. When I googled for this issue, I only learn
>> >> how-to exclude an artifact not for a file. Any ideas ?
>> >>
>> >> Thanks,
>> >>
>> >> Serbulent
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [email protected]
>> >> For additional commands, e-mail: [email protected]
>> >>
>> >>
>> >
>> >
>> > --
>> > Regards,
>> > Alexander
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to