Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-472

Shaded jars not being produced

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 3.2.12
    • None
    • build
    • None
    • build

    Description

      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>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ejwhite922 Eric White
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: