| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <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"> |
|---|
| 3 | <modelVersion>4.0.0</modelVersion> |
|---|
| 4 | |
|---|
| 5 | <parent> |
|---|
| 6 | <groupId>org.pustefixframework</groupId> |
|---|
| 7 | <artifactId>pustefixframework</artifactId> |
|---|
| 8 | <version>1.0.2</version> |
|---|
| 9 | </parent> |
|---|
| 10 | |
|---|
| 11 | <groupId>org.pustefixframework</groupId> |
|---|
| 12 | <artifactId>pustefix-url-rewrite-filter</artifactId> |
|---|
| 13 | <version>1.0.2</version> |
|---|
| 14 | <packaging>bundle</packaging> |
|---|
| 15 | |
|---|
| 16 | <name>Pustefix URL rewrite filter</name> |
|---|
| 17 | |
|---|
| 18 | <dependencies> |
|---|
| 19 | <dependency> |
|---|
| 20 | <groupId>org.pustefixframework</groupId> |
|---|
| 21 | <artifactId>pustefix-core</artifactId> |
|---|
| 22 | <version>1.0.2</version> |
|---|
| 23 | <optional>true</optional> |
|---|
| 24 | <scope>provided</scope> |
|---|
| 25 | </dependency> |
|---|
| 26 | <dependency> |
|---|
| 27 | <groupId>javax.servlet</groupId> |
|---|
| 28 | <artifactId>servlet-api</artifactId> |
|---|
| 29 | <version>2.4</version> |
|---|
| 30 | <scope>provided</scope> |
|---|
| 31 | </dependency> |
|---|
| 32 | </dependencies> |
|---|
| 33 | |
|---|
| 34 | <build> |
|---|
| 35 | <plugins> |
|---|
| 36 | <!-- do not add to root pom because it forks a new lifecycle: --> |
|---|
| 37 | <plugin> |
|---|
| 38 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 39 | <artifactId>maven-source-plugin</artifactId> |
|---|
| 40 | <executions> |
|---|
| 41 | <execution> |
|---|
| 42 | <goals><goal>jar</goal></goals> |
|---|
| 43 | </execution> |
|---|
| 44 | </executions> |
|---|
| 45 | </plugin> |
|---|
| 46 | |
|---|
| 47 | <plugin> |
|---|
| 48 | <groupId>org.apache.felix</groupId> |
|---|
| 49 | <artifactId>maven-bundle-plugin</artifactId> |
|---|
| 50 | <extensions>true</extensions> |
|---|
| 51 | <configuration> |
|---|
| 52 | <instructions> |
|---|
| 53 | <Export-Package>!*.impl.*, !*.internal.*, org.pustefixframework.util.urlrewrite.*</Export-Package> |
|---|
| 54 | <Import-Package>org.pustefixframework.http, javax.servlet, javax.servlet.http, org.springframework.beans.factory, org.springframework.core.io, org.springframework.web.context</Import-Package> |
|---|
| 55 | <!-- |
|---|
| 56 | <Private-Package>org.pustefixframework.*</Private-Package> |
|---|
| 57 | <Bundle-Activator>org.pustefixframework.osgi.internal.Activator</Bundle-Activator> |
|---|
| 58 | --> |
|---|
| 59 | </instructions> |
|---|
| 60 | </configuration> |
|---|
| 61 | </plugin> |
|---|
| 62 | |
|---|
| 63 | <plugin> |
|---|
| 64 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 65 | <artifactId>maven-antrun-plugin</artifactId> |
|---|
| 66 | <version>1.3</version> |
|---|
| 67 | <executions> |
|---|
| 68 | <execution> |
|---|
| 69 | <phase>generate-resources</phase> |
|---|
| 70 | <configuration> |
|---|
| 71 | <tasks> |
|---|
| 72 | <mkdir dir="${basedir}/target/classes/META-INF" /> |
|---|
| 73 | <property name="svnrevision" location="${basedir}/target/classes/META-INF/SVN_REVISION" /> |
|---|
| 74 | <delete file="${svnrevision}" /> |
|---|
| 75 | <exec executable="svn" output="${svnrevision}"> |
|---|
| 76 | <arg line="info" /> |
|---|
| 77 | </exec> |
|---|
| 78 | </tasks> |
|---|
| 79 | </configuration> |
|---|
| 80 | <goals> |
|---|
| 81 | <goal>run</goal> |
|---|
| 82 | </goals> |
|---|
| 83 | </execution> |
|---|
| 84 | </executions> |
|---|
| 85 | </plugin> |
|---|
| 86 | </plugins> |
|---|
| 87 | </build> |
|---|
| 88 | |
|---|
| 89 | </project> |
|---|