geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1827415 - /geronimo/specs/trunk/geronimo-javamail_1.5_spec/pom.xml
Date Wed, 21 Mar 2018 15:05:44 GMT
Author: rmannibucau
Date: Wed Mar 21 15:05:44 2018
New Revision: 1827415

URL: http://svn.apache.org/viewvc?rev=1827415&view=rev
Log:
adding james as shaded in the spec jar to let the impl compile back

Modified:
    geronimo/specs/trunk/geronimo-javamail_1.5_spec/pom.xml

Modified: geronimo/specs/trunk/geronimo-javamail_1.5_spec/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-javamail_1.5_spec/pom.xml?rev=1827415&r1=1827414&r2=1827415&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-javamail_1.5_spec/pom.xml (original)
+++ geronimo/specs/trunk/geronimo-javamail_1.5_spec/pom.xml Wed Mar 21 15:05:44 2018
@@ -84,6 +84,11 @@
             <scope>provided</scope>
         </dependency>
         <dependency>
+            <groupId>org.apache.james</groupId>
+            <artifactId>apache-mime4j-core</artifactId>
+            <version>0.8.1</version>
+        </dependency>
+        <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <version>3.8.2</version>
@@ -94,6 +99,31 @@
     <build>
         <plugins>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <configuration>
+                    <artifactSet>
+                        <includes>
+                            <include>org.apache.james:apache-mime4j-core</include>
+                        </includes>
+                    </artifactSet>
+                    <relocations>
+                        <relocation>
+                            <pattern>org.apache.james.mime4j</pattern>
+                            <shadedPattern>org.apache.geronimo.mail.james.mime4j</shadedPattern>
+                        </relocation>
+                    </relocations>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <version>2.0.1</version>



Mime
View raw message