<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>
  <groupId>com.mycompany.portlet</groupId>
  <artifactId>HelloPortlet</artifactId>
  <packaging>war</packaging>
  <version>1.1</version>
  <name>Maven Portlet Archetype</name>
  <url>http://maven.apache.org</url>

         <build>
             <plugins>
			   <plugin>
		          <groupId>org.apache.maven.plugins</groupId>
		          <artifactId>maven-compiler-plugin</artifactId>
		          <configuration>
		              <source>1.6</source>
		              <target>1.6</target>
		          </configuration>
		       </plugin>
		      <!-- configure maven-war-plugin to use updated web.xml -->
		      <plugin>
		        <artifactId>maven-war-plugin</artifactId>
		        <configuration>
		          <webXml>${project.build.directory}/pluto-resources/web.xml</webXml>
		        </configuration>
		      </plugin>
		      <!-- bind 'pluto:assemble' goal to 'generate-resources' lifecycle -->
		      <plugin>
		        <groupId>org.apache.pluto</groupId>
		        <artifactId>maven-pluto-plugin</artifactId>
		        <version>1.1.4</version>
		        <executions>
		          <execution>
		            <phase>generate-resources</phase>
		            <goals>
		              <goal>assemble</goal>
		            </goals>
		          </execution>
		        </executions>
				</plugin>                 
             </plugins>
         </build>
  <dependencies>
    <dependency>
      <groupId>javax.portlet</groupId>
      <artifactId>portlet-api</artifactId>
      <version>1.0</version>
      <scope>provided</scope><!-- Prevents addition to war file -->
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.4</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.pluto</groupId>
      <artifactId>pluto-util</artifactId>
      <version>1.1.4</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
</project>

