Andrew Or put in this workaround :
diff --git a/pom.xml b/pom.xml
index 0b1aaad..d03d33b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1438,6 +1438,8 @@
<version>2.3</version>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
+ <!-- Work around MSHADE-148 -->
+ <createDependencyReducedPom>false</createDependencyReducedPom>
<artifactSet>
<includes>
<!-- At a minimum we must include this to force effective
pom generation -->
FYI
On Thu, Jun 4, 2015 at 6:25 AM, Steve Loughran <[email protected]>
wrote:
>
> On 4 Jun 2015, at 11:16, Meethu Mathew <[email protected]> wrote:
>
> Hi all,
>
> I added some new code to MLlib. When I am trying to build only the
> mllib project using *mvn --projects mllib/ -DskipTests clean install*
> * *after setting
> export S
> PARK_PREPEND_CLASSES=true
> , the build is getting stuck with the following message.
>
>
>
>> Excluding org.jpmml:pmml-schema:jar:1.1.15 from the shaded jar.
>> [INFO] Excluding com.sun.xml.bind:jaxb-impl:jar:2.2.7 from the shaded jar.
>> [INFO] Excluding com.sun.xml.bind:jaxb-core:jar:2.2.7 from the shaded jar.
>> [INFO] Excluding javax.xml.bind:jaxb-api:jar:2.2.7 from the shaded jar.
>> [INFO] Including org.spark-project.spark:unused:jar:1.0.0 in the shaded
>> jar.
>> [INFO] Excluding org.scala-lang:scala-reflect:jar:2.10.4 from the shaded
>> jar.
>> [INFO] Replacing original artifact with shaded artifact.
>> [INFO] Replacing
>> /home/meethu/git/FlytxtRnD/spark/mllib/target/spark-mllib_2.10-1.4.0-SNAPSHOT.jar
>> with
>> /home/meethu/git/FlytxtRnD/spark/mllib/target/spark-mllib_2.10-1.4.0-SNAPSHOT-shaded.jar
>> [INFO] Dependency-reduced POM written at:
>> /home/meethu/git/FlytxtRnD/spark/mllib/dependency-reduced-pom.xml
>> [INFO] Dependency-reduced POM written at:
>> /home/meethu/git/FlytxtRnD/spark/mllib/dependency-reduced-pom.xml
>> [INFO] Dependency-reduced POM written at:
>> /home/meethu/git/FlytxtRnD/spark/mllib/dependency-reduced-pom.xml
>> [INFO] Dependency-reduced POM written at:
>> /home/meethu/git/FlytxtRnD/spark/mllib/dependency-reduced-pom.xml
>
> .....
>
>
>
> I've seen something similar in a different build,
>
> It looks like MSHADE-148:
> https://issues.apache.org/jira/browse/MSHADE-148
> if you apply Tom White's patch, does your problem go away?
>