Mail 1.4 and Activation loading problem during junit test
Hi,
I have a small problem loading activation.jar
It used to work, but now the context loader is trying to load the activation.jar from the wrong location.
Part of my pom.xml regarding the configuration of the mail dependencies
Code:
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1</version>
</dependency>
Location it tries to get the activation.jar from (which is totally wrong)
Code:
/Users/*****/.m2/repository/javax/mail/mail/1.4/activation.jar
while it should get the activation lib from the location
Code:
/Users/*****/.m2/repository/javax/activation/activation/1.1/activation.jar
Iam using SpringSource Tool Suite Version: 2.1.0.SR01, mac Snow Leopard default java 1.6 on command line and in STS
Anyone any ideas why this problem suddenly occurs????? I am a bit stuck on it now.
Kind regards,
Marc