javaquery/demo-calculator/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 14 Sep 2014 23:13:25 +0200
changeset 1698 8b615a496fb4
parent 1691 e20d3d57c4b6
child 1700 cca9dc1fdefb
permissions -rw-r--r--
[maven-release-plugin] prepare release release-0.10
     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.10</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     <bck2brwsr.obfuscationlevel>FULL</bck2brwsr.obfuscationlevel>
    16     <netbeans.compile.on.save>NONE</netbeans.compile.on.save>
    17   </properties>
    18   <build>
    19       <plugins>
    20             <plugin>
    21                 <groupId>org.apidesign.bck2brwsr</groupId>
    22                 <artifactId>bck2brwsr-maven-plugin</artifactId>
    23                 <version>${project.version}</version>
    24                 <executions>
    25                     <execution>
    26                         <goals>
    27                             <goal>aot</goal>
    28                             <goal>show</goal>
    29                         </goals>
    30                     </execution>
    31                 </executions>
    32                 <configuration>
    33                     <directory>${project.build.directory}/${project.build.finalName}-bck2brwsr/public_html/</directory>
    34                     <startpage>index.xhtml</startpage>
    35                     <mainJavaScript>${project.build.directory}/calculator.js</mainJavaScript>
    36                     <obfuscation>${bck2brwsr.obfuscationlevel}</obfuscation>
    37                     <exports>
    38                         <param>org/apidesign/bck2brwsr/demo/calc/staticcompilation/</param>
    39                     </exports>
    40                 </configuration>
    41             </plugin>
    42          <plugin>
    43             <groupId>org.apache.maven.plugins</groupId>
    44             <artifactId>maven-compiler-plugin</artifactId>
    45             <version>2.3.2</version>
    46             <configuration>
    47                <source>1.7</source>
    48                <target>1.7</target>
    49             </configuration>
    50          </plugin>
    51          <plugin>
    52              <groupId>org.apache.maven.plugins</groupId>
    53              <artifactId>maven-jar-plugin</artifactId>
    54              <version>2.4</version>
    55              <configuration>
    56                  <archive>
    57                      <manifest>
    58                          <addClasspath>true</addClasspath>
    59                          <classpathPrefix>lib/</classpathPrefix>
    60                      </manifest>
    61                  </archive>
    62              </configuration>
    63          </plugin>
    64          <plugin>
    65             <artifactId>maven-assembly-plugin</artifactId>
    66                 <version>2.4</version>
    67                 <executions>
    68                     <execution>
    69                         <id>distro-assembly</id>
    70                         <phase>package</phase>
    71                         <goals>
    72                             <goal>single</goal>
    73                         </goals>
    74                         <configuration>
    75                             <descriptors>
    76                                 <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
    77                             </descriptors>
    78                         </configuration>
    79                     </execution>
    80                 </executions>                
    81             </plugin>      
    82         <plugin>
    83            <groupId>org.apache.maven.plugins</groupId>
    84            <artifactId>maven-deploy-plugin</artifactId>
    85            <version>2.7</version>
    86            <configuration>
    87              <skip>true</skip>
    88            </configuration>
    89          </plugin>      
    90          <plugin>
    91            <groupId>org.apache.maven.plugins</groupId>
    92            <artifactId>maven-javadoc-plugin</artifactId>
    93            <version>2.9</version>
    94            <configuration>
    95              <skip>true</skip>
    96            </configuration>
    97          </plugin>
    98       </plugins>
    99   </build>
   100 
   101   <dependencies>
   102     <dependency>
   103       <groupId>org.apidesign.bck2brwsr</groupId>
   104       <artifactId>emul</artifactId>
   105       <version>${project.version}</version>
   106       <classifier>rt</classifier>
   107     </dependency>
   108     <dependency>
   109       <groupId>org.apidesign.bck2brwsr</groupId>
   110       <artifactId>javaquery.api</artifactId>
   111       <version>${project.version}</version>
   112     </dependency>
   113   </dependencies>
   114 </project>