Skip to content

Instantly share code, notes, and snippets.

@jasonish
Created November 26, 2012 19:37
Show Gist options
  • Save jasonish/4150150 to your computer and use it in GitHub Desktop.
Save jasonish/4150150 to your computer and use it in GitHub Desktop.
<!--
Extract JSP tag libs. This is so JSPs can find the taglibs when we
are using embedded Jetty, which seems to have trouble finding them. So put
them into our own jars classpath and it seems to work. The other option is
to shade the jar using the maven shade plugin.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>extract-tld</id>
<phase>compile</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.eclipse.jetty.orbit</groupId>
<artifactId>org.apache.taglibs.standard.glassfish</artifactId>
<version>1.2.0.v201112081803</version>
<outputDirectory>target/classes</outputDirectory>
<includes>META-INF/*.tld</includes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment