Hi,

as I said, .m2\repository\javax exists or not will make no effect on
the mvn install.
1. if no such directory, mvn install dailed.
2. install those directory by hand, mvn install still failed.
3. install those directory using mvn install:install-file ...., still
no luck.

Can you try to remove the folder .m2/repository/javax, add the following dependency to your pom.xml and then try again?

<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>

If you want to use other, older versions of javax.mail and javax.activation, then you should read the document "Coping with SUN JARs" ([1]) on the Maven website.


[1] http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html


HTH

Thorsten

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to