Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 6th, 2014  |  syntax: None  |  size: 4.73 KB  |  views: 32  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <!--
  4.  
  5. Copyright (c) 2009, Ed Burns
  6. All rights reserved.
  7.  
  8. Redistribution and use in source and binary forms, with or without
  9. modification, are permitted provided that the following conditions are
  10. met:
  11.  
  12. Redistributions of source code must retain the above copyright notice,
  13. this list of conditions and the following disclaimer.  Redistributions
  14. in binary form must reproduce the above copyright notice, this list of
  15. conditions and the following disclaimer in the documentation and/or
  16. other materials provided with the distribution.
  17.  
  18. Neither the name of Ed Burns nor the names of his contributors
  19. may be used to endorse or promote products derived from this software
  20. without specific prior written permission.
  21.  
  22. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  23. IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  24. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  25. PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
  26. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  27. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  28. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  29. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  30. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  31. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  32. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33.  
  34. -->
  35.   <modelVersion>4.0.0</modelVersion>
  36.   <groupId>com.jsfcompref</groupId>
  37.   <artifactId>trainer</artifactId>
  38.   <version>1.0</version>
  39.   <packaging>war</packaging>
  40.   <name>${project.artifactId}</name>
  41.   <url>https://jsfcompref.com/</url>
  42.   <description>Chapter XX Sample</description>
  43.  
  44.   <build>
  45.    <finalName>${project.artifactId}</finalName>
  46.    <pluginManagement>
  47.      <plugins>
  48.        <plugin>
  49.          <groupId>org.apache.maven.plugins</groupId>
  50.          <artifactId>maven-compiler-plugin</artifactId>
  51.          <configuration>
  52.            <source>1.5</source>
  53.            <target>1.5</target>
  54.          </configuration>
  55.        </plugin>
  56.        <plugin>
  57.          <groupId>org.apache.maven.plugins</groupId>
  58.          <artifactId>maven-war-plugin</artifactId>
  59.          <version>2.0</version>
  60.        </plugin>
  61.  
  62.      </plugins>
  63.    </pluginManagement>
  64.    <plugins>
  65.     <plugin>
  66.       <groupId>org.apache.maven.plugins</groupId>
  67.       <artifactId>maven-war-plugin</artifactId>
  68.       <version>2.0</version>
  69.      </plugin>
  70.     </plugins>
  71.  
  72.   </build>
  73.  
  74.   <repositories>
  75.       <repository>
  76.         <id>nexus</id>
  77.         <name>Glassfish Nexus</name>
  78.         <url>http://maven.glassfish.org/content/groups/glassfish</url>
  79.       </repository>
  80.  
  81.     <repository>
  82.       <id>maven2-repository.dev.java.net</id>
  83.       <name>Java.net Repository for Maven</name>
  84.       <url>http://download.java.net/maven/2/</url>
  85.     </repository>
  86.     <repository>
  87.       <snapshots />
  88.       <id>codecaus</id>
  89.       <name>codehaus</name>
  90.       <url>http://repository.codehaus.org</url>
  91.     </repository>
  92.     <repository>
  93.       <snapshots />
  94.       <id>ibiblio</id>
  95.       <url>http://www.ibiblio.org/maven2/</url>
  96.     </repository>
  97.   </repositories>
  98.   <dependencies>
  99.     <dependency>
  100.       <groupId>javax.faces</groupId>
  101.       <artifactId>jsf-api</artifactId>
  102.       <version>2.0</version>
  103.  
  104.       <scope>provided</scope>
  105.     </dependency>
  106.  
  107.         <dependency>
  108.             <groupId>org.eclipse.persistence</groupId>
  109.             <artifactId>javax.persistence</artifactId>
  110.             <version>2.0.0</version>
  111.             <scope>provided</scope>
  112.         </dependency>
  113.  
  114.         <dependency>
  115.             <groupId>org.glassfish</groupId>
  116.             <artifactId>javax.transaction</artifactId>
  117.             <version>3.0</version>
  118.             <scope>provided</scope>
  119.         </dependency>
  120.         <dependency>
  121.             <groupId>org.glassfish</groupId>
  122.             <artifactId>bean-validator</artifactId>
  123.             <version>3.0-JBoss-4.0.0.Beta3</version>
  124.         </dependency>
  125.  
  126.  
  127.  
  128.  
  129.     <dependency>
  130.       <groupId>org.glassfish</groupId>
  131.       <artifactId>javax.servlet</artifactId>
  132.       <version>3.0</version>
  133.       <scope>provided</scope>
  134.     </dependency>
  135.     <dependency>
  136.       <groupId>javax.el</groupId>
  137.       <artifactId>el-api</artifactId>
  138.       <version>2.1.2-b05</version>
  139.       <scope>provided</scope>
  140.     </dependency>
  141.   </dependencies>
  142.     <properties>
  143.         <netbeans.hint.deploy.server>gfv3ee6</netbeans.hint.deploy.server>
  144.     </properties>
  145. </project>
clone this paste RAW Paste Data