Red Hat Application Migration Toolkit
<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> <groupId>org.primefaces</groupId> <artifactId>primefaces-mobile</artifactId> <version>0.9.3</version> <packaging>jar</packaging> <name>primefaces-mobile</name> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>com.sun.faces</groupId> <artifactId>jsf-api</artifactId> <version>2.0.4-b09</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.primefaces</groupId> <artifactId>primefaces</artifactId> <version>3.3.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.4</version> <scope>test</scope> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.5</source> <target>1.5</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xslt-maven-plugin</artifactId> <version>1.0</version> <executions> <execution> <id>generate-component-metadata</id> <phase>generate-sources</phase> <configuration> <xslFile>src/main/resources-maven-jsf/misc/resolve_entities.xsl</xslFile> <srcIncludes>**/*.xml</srcIncludes> <srcDir>src/main/resources-maven-jsf/components</srcDir> <destDir>target/resources-maven-jsf/components</destDir> </configuration> <goals> <goal>transform</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>target/generated-sources/maven-jsf-plugin</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.primefaces</groupId> <artifactId>maven-jsf-plugin</artifactId> <version>1.2.3</version> <executions> <execution> <id>generate-mobile</id> <phase>generate-sources</phase> <configuration> <uri>http://primefaces.org/mobile</uri> <shortName>pm</shortName> <jsfVersion>2</jsfVersion> <componentConfigsDir>target/resources-maven-jsf/components</componentConfigsDir> </configuration> <goals> <goal>generate-components</goal> <goal>generate-facelets-taglib</goal> </goals> </execution> <execution> <id>generate-facesconfig</id> <phase>generate-sources</phase> <configuration> <componentConfigsDir>target/resources-maven-jsf/components</componentConfigsDir> <standardFacesConfig>src/main/resources-maven-jsf/standard-faces-config.xml</standardFacesConfig> <standardRenderersConfig>src/main/resources-maven-jsf/standard-renderers.xml</standardRenderersConfig> <renderKitId>PRIMEFACES_MOBILE</renderKitId> <renderKitClass>org.primefaces.mobile.renderkit.MobileRenderKit</renderKitClass> <jsfVersion>2</jsfVersion> </configuration> <goals> <goal>generate-faces-config</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.2</version> <configuration> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> </plugins> </build> <distributionManagement> <repository> <id>prime-repo</id> <name>PrimeFaces Maven Repository</name> <url>sftp://primefaces.org/var/www/repository</url> <uniqueVersion>false</uniqueVersion> </repository> </distributionManagement> <repositories> <repository> <id>prime-repo</id> <name>PrimeFaces Maven Repository</name> <url>http://repository.primefaces.org</url> </repository> </repositories> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1</version> <executions> <execution> <id>attach-sources</id> <phase>verify</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>yuicompressor-maven-plugin</artifactId> <version>1.1</version> <executions> <execution> <goals> <goal>compress</goal> </goals> </execution> </executions> <configuration> <nosuffix>true</nosuffix> <linebreakpos>-1</linebreakpos> <excludes> <exclude>**/*.css</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>