| <?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> |
| |
| <groupId>org.superbiz</groupId> |
| <artifactId>tomee-mojarra</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <packaging>war</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.glassfish</groupId> |
| <artifactId>javax.faces</artifactId> |
| <version>2.1.9</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.faces</groupId> |
| <artifactId>javax.faces-api</artifactId> |
| <version>2.1</version> |
| </dependency> |
| <dependency> <!-- deliver it to avoid classloader issue since it is in tomee and doesn't share ApplicationFactory class --> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-jsf</artifactId> |
| <version>4.1.0-SNAPSHOT</version> |
| <scope>runtime</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.myfaces.core</groupId> |
| <artifactId>myfaces-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.openejb.patch</groupId> |
| <artifactId>openejb-openwebbeans-jsf</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-jsf</artifactId> |
| <version>1.1.4</version> |
| <scope>runtime</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-impl</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>tomee-catalina</artifactId> |
| <version>1.1.0-SNAPSHOT</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.openejb.maven</groupId> |
| <artifactId>tomee-maven-plugin</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| <configuration> |
| <systemVariables> |
| <com.sun.faces.spi.annotationprovider>org.superbiz.MyScanner</com.sun.faces.spi.annotationprovider> |
| </systemVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.2</version> |
| <configuration> |
| <failOnMissingWebXml>false</failOnMissingWebXml> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| </project> |