javaquery/demo-calculator/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 20 Mar 2013 13:55:53 +0100
branchclosure
changeset 863 eba8fd2ff535
parent 847 094e10a97511
child 869 151f4ccd7673
permissions -rw-r--r--
Turning on SIMPLE_OPTIMIZATIONS for the static calculator sample
     1 <?xml version="1.0"?>
     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/xsd/maven-4.0.0.xsd">
     3   <modelVersion>4.0.0</modelVersion>
     4 
     5   <groupId>org.apidesign.bck2brwsr</groupId>
     6   <artifactId>demo.static.calculator</artifactId>
     7   <version>0.5-SNAPSHOT</version>
     8   <packaging>jar</packaging>
     9 
    10   <name>JavaQuery Demo - Calculator - Static Compilation</name>
    11   <url>http://maven.apache.org</url>
    12 
    13   <properties>
    14     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    15   </properties>
    16   <build>
    17       <plugins>
    18             <plugin>
    19                 <groupId>org.apidesign.bck2brwsr</groupId>
    20                 <artifactId>mojo</artifactId>
    21                 <version>0.5-SNAPSHOT</version>
    22                 <executions>
    23                     <execution>
    24                         <goals>
    25                             <goal>j2js</goal>
    26                             <goal>brwsr</goal>
    27                         </goals>
    28                     </execution>
    29                 </executions>
    30                 <configuration>
    31                     <directory>${project.build.directory}/${project.build.finalName}-bck2brwsr/public_html/</directory>
    32                     <startpage>index.xhtml</startpage>
    33                     <javascript>${project.build.directory}/bck2brwsr.js</javascript>
    34                     <obfuscation>SIMPLE_OPTIMIZATIONS</obfuscation>
    35                 </configuration>
    36             </plugin>
    37          <plugin>
    38             <groupId>org.apache.maven.plugins</groupId>
    39             <artifactId>maven-compiler-plugin</artifactId>
    40             <version>2.3.2</version>
    41             <configuration>
    42                <source>1.7</source>
    43                <target>1.7</target>
    44             </configuration>
    45          </plugin>
    46          <plugin>
    47              <groupId>org.apache.maven.plugins</groupId>
    48              <artifactId>maven-jar-plugin</artifactId>
    49              <version>2.4</version>
    50              <configuration>
    51                  <archive>
    52                      <manifest>
    53                          <addClasspath>true</addClasspath>
    54                          <classpathPrefix>lib/</classpathPrefix>
    55                      </manifest>
    56                  </archive>
    57              </configuration>
    58          </plugin>
    59          <plugin>
    60             <artifactId>maven-assembly-plugin</artifactId>
    61                 <version>2.4</version>
    62                 <executions>
    63                     <execution>
    64                         <id>distro-assembly</id>
    65                         <phase>package</phase>
    66                         <goals>
    67                             <goal>single</goal>
    68                         </goals>
    69                         <configuration>
    70                             <descriptors>
    71                                 <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
    72                             </descriptors>
    73                         </configuration>
    74                     </execution>
    75                 </executions>                
    76             </plugin>      
    77         <plugin>
    78            <groupId>org.apache.maven.plugins</groupId>
    79            <artifactId>maven-deploy-plugin</artifactId>
    80            <version>2.7</version>
    81            <configuration>
    82              <skip>true</skip>
    83            </configuration>
    84          </plugin>      
    85          <plugin>
    86            <groupId>org.apache.maven.plugins</groupId>
    87            <artifactId>maven-javadoc-plugin</artifactId>
    88            <version>2.9</version>
    89            <configuration>
    90              <skip>true</skip>
    91            </configuration>
    92          </plugin>
    93       </plugins>
    94   </build>
    95 
    96   <dependencies>
    97     <dependency>
    98       <groupId>org.apidesign.bck2brwsr</groupId>
    99       <artifactId>emul</artifactId>
   100       <version>0.5-SNAPSHOT</version>
   101       <classifier>rt</classifier>
   102     </dependency>
   103     <dependency>
   104       <groupId>org.apidesign.bck2brwsr</groupId>
   105       <artifactId>javaquery.api</artifactId>
   106       <version>0.5-SNAPSHOT</version>
   107     </dependency>
   108   </dependencies>
   109 </project>