Created
November 26, 2012 19:37
-
-
Save jasonish/4150150 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
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