Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2014-03-14 01:54:03 -0400
committerGreg Wilkins2014-03-14 01:54:03 -0400
commitacbe13a210c0250a87b22a5eadda9c0bdbabbab0 (patch)
tree4dabe069c0eb09cd1c582c2c8f44d7b9c6c2741d /apache-jstl
parentb3be24742353f7b5880fa8229a20ed0b19058cac (diff)
downloadorg.eclipse.jetty.project-acbe13a210c0250a87b22a5eadda9c0bdbabbab0.tar.gz
org.eclipse.jetty.project-acbe13a210c0250a87b22a5eadda9c0bdbabbab0.tar.xz
org.eclipse.jetty.project-acbe13a210c0250a87b22a5eadda9c0bdbabbab0.zip
430341 - add apache jsp and jstl optional modules
Diffstat (limited to 'apache-jstl')
-rw-r--r--apache-jstl/pom.xml49
-rw-r--r--apache-jstl/src/main/config/modules/apache-jstl.mod11
-rw-r--r--apache-jstl/src/main/resources/readme.txt4
3 files changed, 64 insertions, 0 deletions
diff --git a/apache-jstl/pom.xml b/apache-jstl/pom.xml
new file mode 100644
index 0000000000..06bf1eabd3
--- /dev/null
+++ b/apache-jstl/pom.xml
@@ -0,0 +1,49 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-project</artifactId>
+ <version>9.1.4-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>apache-jstl</artifactId>
+ <name>Apache :: JSTL module</name>
+ <url>http://tomcat.apache.org/taglibs/standard/</url>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptorRefs>
+ <descriptorRef>config</descriptorRef>
+ </descriptorRefs>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <!-- JSTL Api -->
+ <dependency>
+ <groupId>org.apache.taglibs</groupId>
+ <artifactId>taglibs-standard-spec</artifactId>
+ </dependency>
+
+ <!-- JSTL Impl -->
+ <dependency>
+ <groupId>org.apache.taglibs</groupId>
+ <artifactId>taglibs-standard-impl</artifactId>
+ </dependency>
+ </dependencies>
+
+</project>
diff --git a/apache-jstl/src/main/config/modules/apache-jstl.mod b/apache-jstl/src/main/config/modules/apache-jstl.mod
new file mode 100644
index 0000000000..89a9c500c5
--- /dev/null
+++ b/apache-jstl/src/main/config/modules/apache-jstl.mod
@@ -0,0 +1,11 @@
+#
+# Apache JSTL
+#
+
+[lib]
+lib/apache-jstl/*.jar
+
+[ini-template]
+# This module adds the Apache JSTL implementation to the server classpath
+# This module is not needed if the glassfish JSP impl (module == jsp) is used, as it includes the glassfish version of jstl
+# This module is needed if JSTL will be used by the apache JSP impl (module == apache-jsp) and there is no JSTL impl in the WEB-INF/lib of the webapp
diff --git a/apache-jstl/src/main/resources/readme.txt b/apache-jstl/src/main/resources/readme.txt
new file mode 100644
index 0000000000..a516023c35
--- /dev/null
+++ b/apache-jstl/src/main/resources/readme.txt
@@ -0,0 +1,4 @@
+This empty jar file is purely to work around a problem with the Maven Dependency plugin.
+Several modules in jetty use the Dependency plugin to copy or unpack the dependencies of other modules.
+However, the Dependency plugin is not capable of unpacking or copying a dependency of type 'pom', which
+this module is, as it consists purely of external dependencies needed to run jsp.

Back to the top