<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">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.openid4java</groupId>
    <artifactId>openid4java-parent</artifactId>
    <version>0.9.5-SNAPSHOT</version>
  </parent>
  <artifactId>openid4java-consumer-SampleConsumer</artifactId>
  <packaging>jar</packaging>
  <name>OpenID4Java Consumer SampleConsumer</name>

  <build>
    <sourceDirectory>../../src</sourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <includes>
            <include>org/openid4java/consumer/SampleConsumer.java</include>
          </includes>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <reporting>
    <outputDirectory>../target/site/${project.artifactId}/</outputDirectory>
  </reporting>

  <dependencies>
    <dependency>
      <groupId>${groupId}</groupId>
      <artifactId>openid4java-consumer</artifactId>
      <version>${version}</version>
    </dependency>
  </dependencies>
</project>

<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">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.openid4java</groupId>
    <artifactId>openid4java-parent</artifactId>
    <version>0.9.5-SNAPSHOT</version>
  </parent>
  <artifactId>openid4java-consumer-SampleConsumer</artifactId>
  <packaging>jar</packaging>
  <name>OpenID4Java Consumer SampleConsumer</name>

  <build>
    <sourceDirectory>../../src</sourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <includes>
            <include>org/openid4java/consumer/SampleConsumer.java</include>
          </includes>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <reporting>
    <outputDirectory>../target/site/${project.artifactId}/</outputDirectory>
  </reporting>

  <dependencies>
    <dependency>
      <groupId>${groupId}</groupId>
      <artifactId>openid4java-consumer</artifactId>
      <version>${version}</version>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>
</project>

Modify the dependencies for openid4java-consumer-SampleConsumer: add javax.servlet:servlet-api which is required.
Modify the dependencies for openid4java-consumer-SampleConsumer: add javax.servlet:servlet-api which is required.