freemarkerdor/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 27 Jun 2012 22:23:50 +0200
changeset 288 61a4abd3f362
parent 278 3a472605338f
permissions -rw-r--r--
Use dependencyManagement to manage dependencies
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
     3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     4   <modelVersion>4.0.0</modelVersion>
     5   <parent>
     6     <artifactId>all-quoridor</artifactId>
     7     <groupId>cz.xelfi.quoridor</groupId>
     8     <version>1.0</version>
     9   </parent>
    10   <artifactId>freemarkerdor</artifactId>
    11   <name>freemarkerdor</name>
    12   <version>${freemarkerVersion}</version>
    13   <url>http://maven.apache.org</url>
    14   <dependencies>
    15     <dependency>
    16         <groupId>javax.mail</groupId>
    17         <artifactId>mail</artifactId>
    18         <version>1.4.1</version>
    19     </dependency>
    20     <dependency>
    21       <groupId>${project.groupId}</groupId>
    22       <artifactId>webidor</artifactId>
    23       <version>${webidorVersion}</version>
    24       <scope>test</scope>
    25     </dependency>
    26     <dependency>
    27       <groupId>${project.groupId}</groupId>
    28       <artifactId>quoridor</artifactId>
    29       <version>${quoridorVersion}</version>
    30     </dependency>
    31     <dependency>
    32       <groupId>com.sun.jersey</groupId>
    33       <artifactId>jersey-server</artifactId>
    34     </dependency>
    35     <dependency>
    36       <groupId>org.netbeans.modules</groupId>
    37       <artifactId>org-netbeans-libs-freemarker</artifactId>
    38       <version>RELEASE67</version>
    39       <exclusions>
    40         <exclusion>
    41           <artifactId>script-api</artifactId>
    42           <groupId>org.netbeans.external</groupId>
    43         </exclusion>
    44         <exclusion>
    45           <artifactId>org-netbeans-libs-jsr223</artifactId>
    46           <groupId>org.netbeans.api</groupId>
    47         </exclusion>
    48         <exclusion>
    49           <artifactId>freemarker-2.3.8</artifactId>
    50           <groupId>org.netbeans.external</groupId>
    51         </exclusion>
    52       </exclusions>
    53     </dependency>
    54     <dependency>
    55       <groupId>com.sun.jersey</groupId>
    56       <artifactId>jersey-client</artifactId>
    57     </dependency>
    58     <dependency>
    59       <groupId>com.sun.jersey.jersey-test-framework</groupId>
    60       <artifactId>jersey-test-framework-http</artifactId>
    61       <scope>test</scope>
    62     </dependency>
    63     <dependency>
    64       <groupId>junit</groupId>
    65       <artifactId>junit</artifactId>
    66       <version>4.5</version>
    67       <scope>test</scope>
    68     </dependency>
    69     <dependency>
    70         <groupId>org.netbeans.api</groupId>
    71         <artifactId>org-netbeans-modules-nbjunit</artifactId>
    72         <version>RELEASE65</version>
    73         <scope>test</scope>
    74     </dependency>
    75     <dependency>
    76       <groupId>freemarker</groupId>
    77       <artifactId>freemarker</artifactId>
    78       <version>2.3.8</version>
    79     </dependency>
    80     <dependency>
    81       <groupId>${project.groupId}</groupId>
    82       <artifactId>statistics</artifactId>
    83       <version>${statisticsVersion}</version>
    84       <scope>test</scope>
    85     </dependency>
    86     <dependency>
    87       <groupId>org.openid4java</groupId>
    88       <artifactId>openid4java-server</artifactId>
    89       <version>0.9.5</version>
    90       <exclusions>
    91         <exclusion>
    92           <artifactId>xercesImpl</artifactId>
    93           <groupId>xerces</groupId>
    94         </exclusion>
    95       </exclusions>
    96     </dependency>
    97   </dependencies>
    98   <build>
    99     <plugins>
   100       <plugin>
   101         <groupId>org.apache.maven.plugins</groupId>
   102         <artifactId>maven-compiler-plugin</artifactId>
   103         <version>2.0.2</version>
   104         <configuration>
   105           <source>1.5</source>
   106           <target>1.5</target>
   107         </configuration>
   108       </plugin>
   109       <plugin>
   110         <artifactId>maven-assembly-plugin</artifactId>
   111         <version>2.2-beta-2</version>
   112         <executions>
   113           <execution>
   114             <id>create-executable-jar</id>
   115             <phase>package</phase>
   116             <goals>
   117               <goal>single</goal>
   118             </goals>
   119             <configuration>
   120               <descriptors>
   121                 <descriptor>all-zip.xml</descriptor>
   122               </descriptors>
   123               <finalName>freemarkerdor-${version}</finalName>
   124             </configuration>
   125           </execution>
   126         </executions>
   127       </plugin>
   128       <plugin>
   129         <groupId>org.apache.maven.plugins</groupId>
   130         <artifactId>maven-jar-plugin</artifactId>
   131         <configuration>
   132             <archive>
   133                 <manifest>
   134                     <addClasspath>true</addClasspath>
   135                     <classpathPrefix>lib/</classpathPrefix>
   136                     <mainClass>cz.xelfi.quoridor.freemarkerdor.UI</mainClass>
   137                 </manifest>
   138             </archive>
   139         </configuration>
   140       </plugin>
   141       </plugins>
   142   </build>
   143 </project>
   144 
   145 
   146 
   147 
   148 
   149 
   150 
   151 
   152