You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/03/29 16:42:41 UTC

[sling-whiteboard] branch master updated: Add explicity dependecy on javax.mail

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c484c9  Add explicity dependecy on javax.mail
5c484c9 is described below

commit 5c484c9ae3f08afd77193eb524afa07cb8733b11
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Mar 29 17:41:41 2019 +0100

    Add explicity dependecy on javax.mail
    
    We should not rely on the classpath populated by the feature model.
---
 cli/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/cli/pom.xml b/cli/pom.xml
index b27394e..735bc46 100644
--- a/cli/pom.xml
+++ b/cli/pom.xml
@@ -71,6 +71,9 @@
                 <artifactId>slingfeature-maven-plugin</artifactId>
                 <version>0.8.0</version>
                 <extensions>true</extensions>
+                <configuration>
+                    <skipAddFeatureDependencies>true</skipAddFeatureDependencies>
+                </configuration>
                 <executions>
                     <execution>
                         <id>feature-dependencies</id>
@@ -180,6 +183,12 @@
           <scope>provided</scope>
         </dependency>
         <dependency>
+            <groupId>javax.mail</groupId>
+            <artifactId>mail</artifactId>
+            <version>1.5.0-b01</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
         </dependency>