| <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>7.5.3.v20111011</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>jetty-jsp-2.1</artifactId> |
| <name>Jetty :: Jetty JSP Additions</name> |
| <description>Additions to Jasper implementation from Glassfish</description> |
| <properties> |
| <bundle-symbolic-name>${project.groupId}.jsp-2.1</bundle-symbolic-name> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>unpack</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.glassfish.web</groupId> |
| <artifactId>jsp-impl</artifactId> |
| <version>2.1.3-b10</version> |
| <type>jar</type> |
| <classifier>sources</classifier> |
| <overWrite>true</overWrite> |
| <outputDirectory>target/generated-sources</outputDirectory> |
| <includes>**/JDTJavaCompiler.java</includes> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.7</version> |
| <executions> |
| <execution> |
| <id>add-source</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>target/generated-sources</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <executions> |
| <execution> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <instructions> |
| <Import-Package> |
| org.apache.jasper;version="[2.1,3)";glassfish="split", |
| * |
| </Import-Package> |
| <Export-Package>org.apache.jasper*;version="${parsedVersion.osgiVersion}"</Export-Package> |
| <Fragment-Host>org.apache.jasper.glassfish</Fragment-Host> |
| <_nouses>true</_nouses> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <!-- |
| Required for OSGI |
| --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <configuration> |
| <onlyAnalyze>org.eclipse.jetty.jsp.*</onlyAnalyze> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>org.glassfish.web</groupId> |
| <artifactId>jsp-impl</artifactId> |
| <version>2.1.3-b10</version> |
| <exclusions> |
| </exclusions> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jdt.core.compiler</groupId> |
| <artifactId>ecj</artifactId> |
| <version>3.7</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| </project> |