freemarkerdor/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Mon, 14 Sep 2009 18:38:08 +0200
changeset 86 8c9969f89021
parent 85 3574b08dc3c3
child 87 96f80f14cfcd
permissions -rw-r--r--
Can generate zip file with all necessary components. No main class/JAR to execute everything so far, however.
     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>org.apidesign</groupId>
     8     <version>1.0</version>
     9   </parent>
    10   <groupId>org.apidesign</groupId>
    11   <artifactId>freemarkerdor</artifactId>
    12   <name>freemarkerdor</name>
    13   <version>1.8</version>
    14   <url>http://maven.apache.org</url>
    15   <dependencies>
    16     <dependency>
    17       <groupId>${project.groupId}</groupId>
    18       <artifactId>webidor</artifactId>
    19       <version>1.1</version>
    20     </dependency>
    21     <dependency>
    22       <groupId>org.netbeans.modules</groupId>
    23       <artifactId>org-netbeans-libs-freemarker</artifactId>
    24       <version>RELEASE67</version>
    25       <exclusions>
    26         <exclusion>
    27           <artifactId>script-api</artifactId>
    28           <groupId>org.netbeans.external</groupId>
    29         </exclusion>
    30         <exclusion>
    31           <artifactId>org-netbeans-libs-jsr223</artifactId>
    32           <groupId>org.netbeans.api</groupId>
    33         </exclusion>
    34         <exclusion>
    35           <artifactId>freemarker-2.3.8</artifactId>
    36           <groupId>org.netbeans.external</groupId>
    37         </exclusion>
    38       </exclusions>
    39     </dependency>
    40     <dependency>
    41       <groupId>com.sun.jersey</groupId>
    42       <artifactId>jersey-client</artifactId>
    43       <version>1.1.0-ea</version>
    44     </dependency>
    45     <dependency>
    46       <groupId>com.sun.jersey.test.framework</groupId>
    47       <artifactId>jersey-test-framework</artifactId>
    48       <version>1.1.0-ea</version>
    49       <scope>test</scope>
    50       <type>jar</type>
    51     </dependency>
    52     <dependency>
    53       <groupId>junit</groupId>
    54       <artifactId>junit</artifactId>
    55       <version>4.5</version>
    56       <scope>test</scope>
    57     </dependency>
    58     <dependency>
    59       <groupId>freemarker</groupId>
    60       <artifactId>freemarker</artifactId>
    61       <version>2.3.8</version>
    62     </dependency>
    63   </dependencies>
    64   <build>
    65     <plugins>
    66       <plugin>
    67         <groupId>org.apache.maven.plugins</groupId>
    68         <artifactId>maven-compiler-plugin</artifactId>
    69         <version>2.0.2</version>
    70         <configuration>
    71           <source>1.5</source>
    72           <target>1.5</target>
    73         </configuration>
    74       </plugin>
    75       <plugin>
    76         <artifactId>maven-assembly-plugin</artifactId>
    77         <version>2.2-beta-2</version>
    78         <executions>
    79           <execution>
    80             <id>create-executable-jar</id>
    81             <phase>package</phase>
    82             <goals>
    83               <goal>single</goal>
    84             </goals>
    85             <configuration>
    86               <descriptors>
    87                 <descriptor>all-zip.xml</descriptor>
    88               </descriptors>
    89               <finalName>freemarkerdor-${version}</finalName>
    90             </configuration>
    91           </execution>
    92         </executions>
    93       </plugin>
    94    </plugins>
    95   </build>
    96 </project>
    97 
    98 
    99