[ 
https://issues.apache.org/jira/browse/RYA-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441112#comment-16441112
 ] 

Jeff Dasch commented on RYA-472:
--------------------------------

Sorry, I didn't see this before I made a dupe.

> Shaded jars not being produced
> ------------------------------
>
>                 Key: RYA-472
>                 URL: https://issues.apache.org/jira/browse/RYA-472
>             Project: Rya
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.2.12
>         Environment: build
>            Reporter: Eric White
>            Priority: Minor
>
> Certain Rya projects that use the maven-shade-plugin, such as rya.prospector, 
> are not producing a shaded jar in their target directories.  This is due to 
> the phase and goal being excluded in the <execution>, at least for 
> rya.prospector.
> All projects that use maven-shade-plugin should be checked.  The following 
> fixes the issue for rya.prospector:
>  
>             <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>



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to