Guest User

POM JSF 2.3

a guest
May 11th, 2017
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.08 KB | None | 0 0
  1.  
  2. <?xml version="1.0" encoding="UTF-8"?>
  3. <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">
  4.     <modelVersion>4.0.0</modelVersion>
  5.  
  6.     <groupId>es.prueba</groupId>
  7.     <artifactId>JSF23</artifactId>
  8.     <version>1.0-SNAPSHOT</version>
  9.     <packaging>war</packaging>
  10.  
  11.     <name>JSF23</name>
  12.  
  13.     <properties>
  14.         <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
  15.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16.     </properties>
  17.    
  18.  
  19.      
  20.     <dependencies>
  21.         <!-- CDI ..........................................-->
  22.         <dependency>
  23.             <groupId>javax.enterprise</groupId>
  24.             <artifactId>cdi-api</artifactId>
  25.             <version>1.2</version>
  26.         </dependency>
  27.        
  28.         <!--JBoss/Weld Refrence Implementation for CDI on a Servlet Container -->    
  29.         <dependency>
  30.             <groupId>org.jboss.weld.servlet</groupId>
  31.             <artifactId>weld-servlet</artifactId>
  32.             <version>2.4.3.Final</version>
  33.         </dependency>
  34.        
  35.         <!-- JSF ..........................................-->
  36.         <dependency>
  37.             <groupId>javax.faces</groupId>
  38.             <artifactId>javax.faces-api</artifactId>
  39.             <version>2.3</version>
  40.         </dependency>
  41.         <dependency>
  42.             <groupId>org.glassfish</groupId>
  43.             <artifactId>javax.faces</artifactId>
  44.             <version>2.3.0</version>
  45.         </dependency>
  46.        
  47.         <dependency>
  48.             <groupId>org.omnifaces</groupId>
  49.             <artifactId>omnifaces</artifactId>
  50.             <version>2.6.2</version>
  51.         </dependency>  
  52.            
  53.         <dependency>
  54.             <groupId>javax</groupId>
  55.             <artifactId>javaee-web-api</artifactId>
  56.             <version>7.0</version>
  57.             <scope>provided</scope>
  58.         </dependency>
  59.     </dependencies>
  60.  
  61.     <build>
  62.         <plugins>
  63.             <plugin>
  64.                 <groupId>org.apache.maven.plugins</groupId>
  65.                 <artifactId>maven-compiler-plugin</artifactId>
  66.                 <version>3.1</version>
  67.                 <configuration>
  68.                     <source>1.7</source>
  69.                     <target>1.7</target>
  70.                     <compilerArguments>
  71.                         <endorseddirs>${endorsed.dir}</endorseddirs>
  72.                     </compilerArguments>
  73.                 </configuration>
  74.             </plugin>
  75.             <plugin>
  76.                 <groupId>org.apache.maven.plugins</groupId>
  77.                 <artifactId>maven-war-plugin</artifactId>
  78.                 <version>2.3</version>
  79.                 <configuration>
  80.                     <failOnMissingWebXml>false</failOnMissingWebXml>
  81.                 </configuration>
  82.             </plugin>
  83.             <plugin>
  84.                 <groupId>org.apache.maven.plugins</groupId>
  85.                 <artifactId>maven-dependency-plugin</artifactId>
  86.                 <version>2.6</version>
  87.                 <executions>
  88.                     <execution>
  89.                         <phase>validate</phase>
  90.                         <goals>
  91.                             <goal>copy</goal>
  92.                         </goals>
  93.                         <configuration>
  94.                             <outputDirectory>${endorsed.dir}</outputDirectory>
  95.                             <silent>true</silent>
  96.                             <artifactItems>
  97.                                 <artifactItem>
  98.                                     <groupId>javax</groupId>
  99.                                     <artifactId>javaee-endorsed-api</artifactId>
  100.                                     <version>7.0</version>
  101.                                     <type>jar</type>
  102.                                 </artifactItem>
  103.                             </artifactItems>
  104.                         </configuration>
  105.                     </execution>
  106.                 </executions>
  107.             </plugin>
  108.         </plugins>
  109.     </build>
  110.  
  111. </project>
Advertisement
Add Comment
Please, Sign In to add comment