Maven integration

If you are using maven2 for your project management you have just do two things to integrate ploinFaces. At first your have to add the ploinFaces dependency to your pom.xml:

<dependency>
      <groupId>org.ploin.web</groupId>
      <artifactId>ploinFaces</artifactId>
      <version>2.2</version>
      <scope>compile</scope>
      <exclusions>
		<exclusion>
			<groupId>com.ibm.icu</groupId>
			<artifactId>icu4j</artifactId>
		</exclusion>
		<exclusion>
			<groupId>myfaces</groupId>
			<artifactId>myfaces-impl</artifactId>
		</exclusion>
		<exclusion>
			<groupId>myfaces</groupId>
			<artifactId>myfaces-api</artifactId>
		</exclusion>
		<exclusion>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
		</exclusion>
		<exclusion>
			<groupId>javax.el</groupId>
			<artifactId>el-api</artifactId>
		</exclusion>
	  </exclusions>
</dependency>
        

And in step two you have to add the ploinFaces mirror to your ~/.m2/settings.xml

<mirror>
  <id>ploinRep</id>
  <name>PLOIN Repository</name>
  <url>http://www.ploin-m2.de/nexus/content/groups/ploinRep/</url>
  <mirrorOf>ploinRep</mirrorOf>
</mirror>
        

Example

your pom.xml could look like this:

<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>org.ploin.project</groupId>
  <artifactId>project</artifactId>
  <packaging>war</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>project Maven Webapp</name>
  <url>http://maven.apache.org</url>

  <dependencies>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.ploin.web</groupId>
      <artifactId>ploinFaces</artifactId>
      <version>2.2</version>
      <scope>compile</scope>
    </dependency>
                
  </dependencies>
                
  <build>
    <finalName>project</finalName>
  </build>
</project>
            

And your ~/.m2/settings.xml could look like this:

<?xml version="1.0"?>
<settings>
  <mirrors>

    <mirror>
      <id>ibiblio.org</id>
      <name>ibiblio Mirror of http://repo1.maven.org/maven2/</name>
      <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
      <mirrorOf>central</mirrorOf>
    </mirror>

    <mirror>
      <id>ploinRep</id>
      <name>PLOIN Repository</name>
      <url>http://www.ploin-m2.de/nexus/content/groups/ploinRep/</url>
      <mirrorOf>ploinRep</mirrorOf>
    </mirror>

  </mirrors>
</settings>