Every now and then, maybe once every few months over the last few years,
I'll be working on a Maven project - maybe something completely unrelated
to web development (at the moment it just happened to a NetBeans module
project) - when I will notice the build behaving weirdly or downloading
things that could not possibly be dependencies of it. And I will find that
some pom.xml file within the project has had this added to it:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<scope>test</scope>
<version>2.44.0</version>
</dependency>
<dependency>
<groupId>com.opera</groupId>
<artifactId>operadriver</artifactId>
<scope>test</scope>
<version>1.5</version>
<exclusions>
<exclusion>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId>
</exclusion>
</exclusions>
</dependency>
It seems pretty clear that NetBeans is doing this - but what? And why?
Accidental keyboard shortcut? Something else?
Thanks,
Tim
--
http://timboudreau.com