[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.iam] Re: Are dependency exclusions honoured by IAM?

maybe you are getting a previous version of selenium server that was
under another groupId org.seleniumhq.... IIRC
Maven wont exclude it if group and artifact dont match


On 5/25/09 12:28 AM, BenH wrote:
> Im expected that by using the exclusion below, it should prevent
> artefact "selenium.server" from being pulled into the project
> dependencies ("selenium.server" has got problems in its POM, you see).
> But it remains, and "Analyze Dependencies" says that its there due to
> "org.openqa.selenium.client-drivers", ie this dependency.
> Is exclusion is not working, or not implemented?
> 
> <dependency>
>            <groupId>org.openqa.selenium.client-drivers</groupId>
>            <artifactId>selenium-java-client-driver</artifactId>
>            <version>1.0-beta-1</version>
>            <scope>test</scope>
>            <exclusions>                 <exclusion>                    
> <groupId>org.openqa.selenium.server</groupId>                    
> <artifactId>selenium.server</artifactId>                    </exclusion>
>            </exclusions>        </dependency>
> 
> -Ben
>