You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by "Eric White (JIRA)" <ji...@apache.org> on 2018/02/26 16:38:00 UTC

[jira] [Created] (RYA-472) Shaded jars not being produced

Eric White created RYA-472:
------------------------------

             Summary: 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
             Fix For: 3.2.12


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)