Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2013
775
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.57 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3.         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  5.     <modelVersion>4.0.0</modelVersion>
  6.     <groupId>com.myproject_suffix.myproject</groupId>
  7.     <artifactId>myproject</artifactId>
  8.     <packaging>grails-app</packaging>
  9.     <version>0.1</version>
  10.     <name>myproject</name>
  11.     <description>myproject</description>
  12.  
  13.     <properties>
  14.         <grails.version>2.2.0</grails.version>
  15.     </properties>
  16.  
  17.     <dependencies>
  18.  
  19.         <dependency>
  20.             <groupId>org.grails</groupId>
  21.             <artifactId>grails-dependencies</artifactId>
  22.             <version>${grails.version}</version>
  23.             <type>pom</type>
  24.         </dependency>
  25.  
  26.  
  27.         <dependency>
  28.             <groupId>org.grails</groupId>
  29.             <artifactId>grails-test</artifactId>
  30.             <version>${grails.version}</version>
  31.             <scope>test</scope>
  32.         </dependency>
  33.  
  34.         <dependency>
  35.             <groupId>org.grails</groupId>
  36.             <artifactId>grails-plugin-testing</artifactId>
  37.             <version>${grails.version}</version>
  38.             <scope>test</scope>
  39.         </dependency>
  40.  
  41.        
  42.     <dependency>
  43.         <groupId>mysql</groupId>
  44.         <artifactId>mysql-connector-java</artifactId>
  45.         <version>5.1.22</version>
  46.         <scope>runtime</scope>
  47.        
  48.     </dependency>
  49.                    
  50.  
  51.         <dependency>
  52.             <groupId>org.grails.plugins</groupId>
  53.             <artifactId>tomcat</artifactId>
  54.             <version>${grails.version}</version>
  55.             <scope>provided</scope>
  56.             <type>zip</type>
  57.         </dependency>
  58.        
  59.     <dependency>
  60.         <groupId>org.grails.plugins</groupId>
  61.         <artifactId>twitter-bootstrap</artifactId>
  62.         <version>2.2.2</version>
  63.         <scope>compile</scope>
  64.         <type>zip</type>
  65.     </dependency>
  66.                    
  67.  
  68.     <dependency>
  69.         <groupId>org.grails.plugins</groupId>
  70.         <artifactId>cache</artifactId>
  71.         <version>1.0.1</version>
  72.         <scope>compile</scope>
  73.         <type>zip</type>
  74.     </dependency>
  75.                    
  76.  
  77.     <dependency>
  78.         <groupId>org.grails.plugins</groupId>
  79.         <artifactId>spring-security-core</artifactId>
  80.         <version>1.2.7.3</version>
  81.         <scope>compile</scope>
  82.         <type>zip</type>
  83.     </dependency>
  84.                    
  85.  
  86.     <dependency>
  87.         <groupId>org.grails.plugins</groupId>
  88.         <artifactId>fields</artifactId>
  89.         <version>1.3</version>
  90.         <scope>compile</scope>
  91.         <type>zip</type>
  92.     </dependency>
  93.                    
  94.  
  95.     <dependency>
  96.         <groupId>org.grails.plugins</groupId>
  97.         <artifactId>build-test-data</artifactId>
  98.         <version>2.0.3</version>
  99.         <scope>compile</scope>
  100.         <type>zip</type>
  101.     </dependency>
  102.                    
  103.  
  104.     <dependency>
  105.         <groupId>org.grails.plugins</groupId>
  106.         <artifactId>zk</artifactId>
  107.         <version>2.1.0</version>
  108.         <scope>runtime</scope>
  109.         <type>zip</type>
  110.     </dependency>
  111.                    
  112.  
  113.     <dependency>
  114.         <groupId>org.grails.plugins</groupId>
  115.         <artifactId>jquery</artifactId>
  116.         <version>1.8.3</version>
  117.         <scope>runtime</scope>
  118.         <type>zip</type>
  119.     </dependency>
  120.                    
  121.  
  122.     <dependency>
  123.         <groupId>org.grails.plugins</groupId>
  124.         <artifactId>resources</artifactId>
  125.         <version>1.1.6</version>
  126.         <scope>runtime</scope>
  127.         <type>zip</type>
  128.     </dependency>
  129.                    
  130.  
  131.     <dependency>
  132.         <groupId>org.grails.plugins</groupId>
  133.         <artifactId>hibernate</artifactId>
  134.         <version>2.2.0</version>
  135.         <scope>runtime</scope>
  136.         <type>zip</type>
  137.     </dependency>
  138.                    
  139.  
  140.     <dependency>
  141.         <groupId>org.grails.plugins</groupId>
  142.         <artifactId>database-migration</artifactId>
  143.         <version>1.2.1</version>
  144.         <scope>runtime</scope>
  145.         <type>zip</type>
  146.     </dependency>
  147.                    
  148.  
  149.     <dependency>
  150.         <groupId>org.grails.plugins</groupId>
  151.         <artifactId>tomcat</artifactId>
  152.         <version>2.2.0</version>
  153.         <scope>provided</scope>
  154.         <type>zip</type>
  155.     </dependency>
  156.                    
  157.  
  158.  
  159.     </dependencies>
  160.  
  161.     <build>
  162.         <pluginManagement />
  163.  
  164.         <plugins>
  165.             <!-- Disables the Maven surefire plugin for Grails applications, as we have our own test runner -->
  166.             <plugin>
  167.                 <groupId>org.apache.maven.plugins</groupId>
  168.                 <artifactId>maven-surefire-plugin</artifactId>
  169.                 <configuration>
  170.                     <skip>true</skip>
  171.                 </configuration>
  172.                 <executions>
  173.                     <execution>
  174.                         <id>surefire-it</id>
  175.                         <phase>integration-test</phase>
  176.                         <goals>
  177.                             <goal>test</goal>
  178.                         </goals>
  179.                         <configuration>
  180.                             <skip>false</skip>
  181.                         </configuration>
  182.                     </execution>
  183.                 </executions>
  184.             </plugin>
  185.             <plugin>
  186.                 <groupId>org.apache.maven.plugins</groupId>
  187.                 <artifactId>maven-clean-plugin</artifactId>
  188.                 <version>2.4.1</version>
  189.                 <configuration>
  190.                     <filesets>
  191.                         <fileset>
  192.                             <directory>plugins</directory>
  193.                             <includes>
  194.                                 <include>**/*</include>
  195.                             </includes>
  196.                             <followSymlinks>false</followSymlinks>
  197.                         </fileset>
  198.                     </filesets>
  199.                 </configuration>
  200.             </plugin>
  201.  
  202.             <plugin>
  203.                 <groupId>org.grails</groupId>
  204.                 <artifactId>grails-maven-plugin</artifactId>
  205.                 <version>${grails.version}</version>
  206.                 <configuration>
  207.                     <!-- Whether for Fork a JVM to run Grails commands -->
  208.                     <fork>true</fork>
  209.                 </configuration>
  210.                 <extensions>true</extensions>
  211.             </plugin>
  212.         </plugins>
  213.     </build>
  214.  
  215.     <repositories>
  216.         <repository>
  217.             <id>grails</id>
  218.             <name>grails</name>
  219.             <url>http://repo.grails.org/grails/core</url>
  220.         </repository>
  221.         <repository>
  222.             <id>grails-plugins</id>
  223.             <name>grails-plugins</name>
  224.             <url>http://repo.grails.org/grails/plugins</url>
  225.         </repository>
  226.     </repositories>
  227.  
  228.     <profiles>
  229.         <profile>
  230.             <id>tools</id>
  231.             <activation>
  232.                 <property>
  233.                     <name>java.vendor</name>
  234.                     <value>Sun Microsystems Inc.</value>
  235.                 </property>
  236.             </activation>
  237.             <dependencies>
  238.                 <dependency>
  239.                     <groupId>com.sun</groupId>
  240.                     <artifactId>tools</artifactId>
  241.                     <version>${java.version}</version>
  242.                     <scope>system</scope>
  243.                     <systemPath>${java.home}/../lib/tools.jar</systemPath>
  244.                 </dependency>
  245.             </dependencies>
  246.         </profile>
  247.     </profiles>
  248. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement