Dependencies for JavaMail


references

/:project/:dependencies

<dependency>
  <!-- JavaMail RI -->
  <groupId>com.sun.mail</groupId>
  <artifactId>javax.mail</artifactId>
  <scope>runtime</scope>
</dependency>
<dependency>
  <!-- JavaMail API -->
  <groupId>javax.mail</groupId>
  <artifactId>javax.mail-api</artifactId>
  <scope>compile</scope>
  <!-- let it stay as a runtime scoped dependency
  <exclusions>
    <exclusion>
      <groupId>javax.activation</groupId>
      <artifactId>activation</artifactId>
    </exclusion>
  </exclusions>
  -->
</dependency>

dependency:tree

[INFO] +- com.sun.mail:javax.mail:jar:1.5.4:runtime
[INFO] |  \- (javax.activation:activation:jar:1.1:compile
              - scope updated from runtime; omitted for duplicate)
[INFO] +- javax.mail:javax.mail-api:jar:1.5.4:compile
[INFO] |  \- javax.activation:activation:jar:1.1:compile
[INFO] +- com.sun.mail:javax.mail:jar:1.5.4:runtime
[INFO] |  \- javax.activation:activation:jar:1.1:runtime
[INFO] +- javax.mail:javax.mail-api:jar:1.5.4:compile
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s