<?xml version="1.0"?><project>
  <parent>
    <artifactId>trinidad</artifactId>
    <groupId>org.apache.myfaces.trinidad</groupId>
    <version>1.2.2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>trinidad-impl</artifactId>
  <name>Apache MyFaces Trinidad Impl</name>
  <version>1.2.2</version>
  <description>Private implementation of the Apache MyFaces Trinidad project</description>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.myfaces.trinidadbuild</groupId>
        <artifactId>maven-jdev-plugin</artifactId>
        <version>1.2.2</version>
        <configuration>
          <sourceRoots>
            <sourceRoot>src/main/java-templates/</sourceRoot>
          </sourceRoots>
          <resourceRoots>
            <resourceRoot>src/main/javascript/</resourceRoot>
          </resourceRoots>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <systemProperties>
            <property>
              <name>org.apache.myfaces.trinidad.TestIdValidity</name>
              <value>false</value>
            </property>
            <property>
              <name>org.apache.myfaces.trinidad.TestBlockElementNesting</name>
              <value>false</value>
            </property>
            <property>
              <name>trinidad.renderkit.fulltests</name>
              <value>lenient</value>
            </property>
            <property>
              <name>trinidad.renderkit.scripts</name>
              <value>${project.basedir}/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/</value>
            </property>
            <property>
              <name>trinidad.renderkit.golden</name>
              <value>${project.basedir}/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/</value>
            </property>
            <property>
              <name>trinidad.renderkit.failures</name>
              <value>${project.basedir}/target/test-failures/</value>
            </property>
            <property>
              <name>java.awt.headless</name>
              <value>true</value>
            </property>
          </systemProperties>
          <includes implementation="java.util.ArrayList">
            <include implementation="java.lang.String">**/*Test.java</include>
          </includes>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>test-jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <archive>
            <manifest>
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
            </manifest>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.myfaces.trinidadbuild</groupId>
        <artifactId>maven-faces-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>generate-faces-config</goal>
              <goal>generate-jsp-taglibs</goal>
              <goal>generate-facelets-taglibs</goal>
              <goal>generate-renderer-map</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <taglibs>
            <tr>http://myfaces.apache.org/trinidad</tr>
            <trh>http://myfaces.apache.org/trinidad/html</trh>
          </taglibs>
          <faceletHandlerClass>org.apache.myfaces.trinidadinternal.facelets.TrinidadComponentHandler</faceletHandlerClass>
          <typePrefix>org.apache</typePrefix>
          <renderKitPrefix>org.apache</renderKitPrefix>
          <packageContains>org.apache</packageContains>
          <removeRenderers>true</removeRenderers>
          <jsfVersion>1.2</jsfVersion>
          <force>true</force>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.myfaces.trinidadbuild</groupId>
        <artifactId>maven-i18n-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>generate-locale-elements</goal>
              <goal>generate-javascript-locales</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <force>true</force>
          <targetPath>META-INF/adf/jsLibs/resources</targetPath>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.myfaces.trinidadbuild</groupId>
        <artifactId>maven-javascript-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>reduce-javascript</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <sourcePath>META-INF/adf/jsLibs</sourcePath>
          <targetPath>META-INF/adf/jsLibsDebug</targetPath>
          <optimizeTargetPath>META-INF/adf/jsLibs</optimizeTargetPath>
          <force>true</force>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.myfaces.trinidadbuild</groupId>
        <artifactId>maven-xrts-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>generate-sources</goal>
              <goal>generate-test-sources</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.servlet.jsp</groupId>
      <artifactId>jsp-api</artifactId>
    </dependency>
    <dependency>
      <groupId>portlet-api</groupId>
      <artifactId>portlet-api</artifactId>
    </dependency>
    <dependency>
      <groupId>jstl</groupId>
      <artifactId>jstl</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.myfaces.trinidad</groupId>
      <artifactId>trinidad-build</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.myfaces.trinidad</groupId>
      <artifactId>trinidad-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.myfaces.core</groupId>
      <artifactId>myfaces-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.myfaces.trinidad</groupId>
      <artifactId>trinidad-api</artifactId>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.shale</groupId>
      <artifactId>shale-test</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>jmock</groupId>
      <artifactId>jmock</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>jmock</groupId>
      <artifactId>jmock-cglib</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.facelets</groupId>
      <artifactId>jsf-facelets</artifactId>
    </dependency>
  </dependencies>
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-project-info-reports-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-pmd-plugin</artifactId>
        <configuration>
          <targetJdk>1.5</targetJdk>
        </configuration>
      </plugin>
    </plugins>
  </reporting>
  <distributionManagement>
    <status>deployed</status>
  </distributionManagement>
</project>