Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<artifactId>rewrite-parent</artifactId>
		<groupId>org.ocpsoft.rewrite</groupId>
		<version>1.0.0.Final</version>
		<relativePath>../</relativePath>
	</parent>

	<artifactId>rewrite-config-tuckey</artifactId>

	<properties>
		<version.tuckey>3.1.0</version.tuckey>
	</properties>

	<dependencies>
		<dependency>
			<groupId>org.ocpsoft.rewrite</groupId>
			<artifactId>rewrite-impl-servlet</artifactId>
		</dependency>
		<dependency>
			<groupId>org.ocpsoft.rewrite</groupId>
			<artifactId>rewrite-test-harness</artifactId>
		</dependency>
		<dependency>
			<groupId>org.jboss.spec.javax.servlet</groupId>
			<artifactId>jboss-servlet-api_3.0_spec</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.tuckey</groupId>
			<artifactId>urlrewritefilter</artifactId>
			<version>${version.tuckey}</version>
		</dependency>
	</dependencies>
	<build>
		<finalName>config-tuckey</finalName>
		<plugins>
			<plugin>
				<artifactId>maven-shade-plugin</artifactId>
				<version>1.4</version>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>shade</goal>
						</goals>
						<configuration>
							<artifactSet>
								<includes>
									<include>org.tuckey:urlrewritefilter</include>
								</includes>
							</artifactSet>
							<relocations>
								<relocation>
									<pattern>org.tuckey.web.filters.urlrewrite</pattern>
									<shadedPattern>org.ocpsoft.rewrite.bind.tuckey.shade</shadedPattern>
								</relocation>
							</relocations>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>
New to GrepCode? Check out our FAQ X