Hi,
Sometimes while working on my maven projects on netbeans, I find out that
Netbeans added some dependencies that I never requested. These dependencies are
always the same.
<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>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<version>4.11</version>
</dependency>
How I can avoid it? Maybe the responsible is a plugin?
In this example the project already has Junit as dependency but is declared in
the parent project
I use v11.3 with jdk14
Nicolò Boschi
Software Engineer @ Diennea – MagNews
Tel.: (+39) 0546 066100 - Int. - Mob.:
Viale G.Marconi 30/14 - 48018 Faenza (RA)
[Diennea | MagNews]
www.diennea.com<https://www.diennea.com/?utm_source=Firma&utm_medium=Web&utm_campaign=Firma_Outlook>
|
www.magnews.it<https://www.magnews.it/?utm_source=Firma&utm_medium=Web&utm_campaign=Firma_Outlook>
[In]<https://www.linkedin.com/company/diennea---magnews/?utm_source=Firma&utm_medium=Web&utm_campaign=Firma_Outlook>
[Tw]<https://twitter.com/DienneaMagNews?utm_source=Firma&utm_medium=Web&utm_campaign=Firma_Outlook>
[Fb]<https://www.facebook.com/DienneaMagNews/?utm_source=Firma&utm_medium=Web&utm_campaign=Firma_Outlook>
[NL]<https://www.magnews.it/newsletter/?utm_source=Firma&utm_medium=Web&utm_campaign=Firma_Outlook>
________________________________
CONFIDENTIALITY & PRIVACY NOTICE
This e-mail (including any attachments) is strictly confidential and may also
contain privileged information. If you are not the intended recipient you are
not authorised to read, print, save, process or disclose this message. If you
have received this message by mistake, please inform the sender immediately and
destroy this e-mail, its attachments and any copies. Any use, distribution,
reproduction or disclosure by any person other than the intended recipient is
strictly prohibited and the person responsible may incur in penalties.
The use of this e-mail is only for professional purposes; there is no guarantee
that the correspondence towards this e-mail will be read only by the recipient,
because, under certain circumstances, there may be a need to access this email
by third subjects belonging to the Company.