It looks like the plugin does not run due to the <execution> not having a phase 
specified.  This looks like a bug and other Rya projects that use the 
maven-shade-plugin might do the same thing.  I'll create a JIRA ticket for this.

To create the shaded jar for prospector, replace the plugin with the following 
and look for "rya.prospector-3.2.12-incubating-SNAPSHOT-map-reduce.jar" in the 
target directory:

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            
<shadedArtifactAttached>true</shadedArtifactAttached>
                            
<shadedClassifierName>map-reduce</shadedClassifierName>
                            <transformers>
                                <transformer 
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"
 />
                            </transformers>
                            <filters>
                                <filter>
                                    <artifact>*:*</artifact>
                                    <excludes>
                                        <exclude>META-INF/*.SF</exclude>
                                        <exclude>META-INF/*.DSA</exclude>
                                        <exclude>META-INF/*.RSA</exclude>
                                    </excludes>
                                </filter>
                            </filters>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

Thanks,
-Eric White

-----Original Message-----
From: David Boyd [mailto:[email protected]] 
Sent: Monday, February 26, 2018 9:38 AM
To: [email protected]
Subject: Question about prospector job

All:
    Just getting into working deeply with RYA.
I went to run the Prospector job from the extras directory.
In the .md file it states that a shaded jar should be built, but from the size 
of the jar in the target directory it is not shaded.
This was confirmed when I went to run the MR job, as I immediately got a class 
not found error for Accumulo classes.

Am I missing a step to build the shaded jar?   The shade plugin
is in the POM file but I do not see a target for it.



--
========= mailto:[email protected] ============ David W. Boyd VP,  Data 
Solutions
10432 Balls Ford, Suite 240
Manassas, VA 20109
office:   +1-703-552-2862
cell:     +1-703-402-7908
============== 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.incadencecorp.com_&d=DwICaQ&c=Nwf-pp4xtYRe0sCRVM8_LWH54joYF7EKmrYIdfxIq10&r=RaJkRMooYbg4vmML14E10F9hYEBLOeOHS3mAimFNgqQ&m=DeWWEI8ZPNGN9Nzch36qdb7nk1e2ftRjG8uM9haYKp0&s=kb-krCLMITGt-hTWUp0g0IKxVHR4-A6LWaCeYPDVlyU&e=
 ============ ISO/IEC JTC1 WG9, editor ISO/IEC 20547 Big Data Reference 
Architecture Chair ANSI/INCITS TC Big Data Co-chair NIST Big Data Public 
Working Group Reference Architecture First Robotic Mentor - FRC, FTC - 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.iliterobotics.org&d=DwICaQ&c=Nwf-pp4xtYRe0sCRVM8_LWH54joYF7EKmrYIdfxIq10&r=RaJkRMooYbg4vmML14E10F9hYEBLOeOHS3mAimFNgqQ&m=DeWWEI8ZPNGN9Nzch36qdb7nk1e2ftRjG8uM9haYKp0&s=JjFAPyrAe2d8iZJT7HtkV4AOy1ijTWlXCQCECkoCJWM&e=
Board Member- USSTEM Foundation - 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.usstem.org&d=DwICaQ&c=Nwf-pp4xtYRe0sCRVM8_LWH54joYF7EKmrYIdfxIq10&r=RaJkRMooYbg4vmML14E10F9hYEBLOeOHS3mAimFNgqQ&m=DeWWEI8ZPNGN9Nzch36qdb7nk1e2ftRjG8uM9haYKp0&s=dcG7c47LQ5rkgQyEN4k4sA6AziUwG-F6GnrbEicnwlo&e=

The information contained in this message may be privileged and/or confidential 
and protected from disclosure.
If the reader of this message is not the intended recipient or an employee or 
agent responsible for delivering this message to the intended recipient, you 
are hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited.  If you have received this communication 
in error, please notify the sender immediately by replying to this message and 
deleting the material from any computer.


Reply via email to