| <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.osgi</groupId> |
| <artifactId>jetty-osgi-project</artifactId> |
| <version>8.0.3.v20111011</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.eclipse.jetty.osgi</groupId> |
| <artifactId>jetty-osgi-boot-jsp</artifactId> |
| <name>Jetty :: OSGi :: Boot JSP</name> |
| <description>Jetty OSGi Boot JSP bundle</description> |
| <properties> |
| <bundle-symbolic-name>${project.groupId}.boot.jsp</bundle-symbolic-name> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-deploy</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty.osgi</groupId> |
| <artifactId>jetty-osgi-boot</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.osgi</groupId> |
| <artifactId>org.eclipse.osgi</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.osgi</groupId> |
| <artifactId>org.eclipse.osgi.services</artifactId> |
| </dependency> |
| <!-- switch to 2.2 once it works in OSGi for us |
| <dependency> |
| <groupId>org.glassfish.web</groupId> |
| <artifactId>jsp-impl</artifactId> |
| <version>2.2</version> |
| </dependency> --> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jsp-2.1-glassfish</artifactId> |
| <version>2.1.v20100127</version> |
| </dependency> |
| <!--dependency> |
| <groupId>javax.servlet.jsp</groupId> |
| <artifactId>jsp-api</artifactId> |
| <version>2.2</version> |
| </dependency--> |
| <dependency> |
| <groupId>javax.el</groupId> |
| <artifactId>el-api</artifactId> |
| <version>2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>${servlet.spec.groupId}</groupId> |
| <artifactId>${servlet.spec.artifactId}</artifactId> |
| </dependency> |
| </dependencies> |
| <!-- can't find the jsp-2.2 jars on maven central. |
| adding glassifish maven repo for now. --> |
| <repositories> |
| <repository> |
| <id>sun</id> |
| <url>http://download.java.net/maven/2/</url> |
| </repository> |
| </repositories> |
| |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>process-resources</phase> |
| <configuration> |
| <tasks> |
| <replace file="target/classes/META-INF/MANIFEST.MF" token="Bundle-Version: 8.0.0.qualifier" value="Bundle-Version: ${parsedVersion.osgiVersion}" /> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>artifact-jar</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>test-jar</id> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <archive> |
| <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <configuration> |
| <onlyAnalyze>org.eclipse.jetty.osgi.boot.jasper.*,org.eclipse.jetty.osgi.boot.jsp.*</onlyAnalyze> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| |
| </project> |