javaquery/demo-calculator/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 06 Feb 2013 17:52:31 +0100
branchemul
changeset 691 10194cb7ffc2
parent 674 5d9cd8add4c6
child 692 d088fc482c65
permissions -rw-r--r--
Don't include vm4brwsr.jar in the final calculator zip file
     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"
     3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     4   <modelVersion>4.0.0</modelVersion>
     5 
     6   <groupId>org.apidesign.bck2brwsr</groupId>
     7   <artifactId>demo.static.calculator</artifactId>
     8   <version>0.3-SNAPSHOT</version>
     9   <packaging>jar</packaging>
    10 
    11   <name>JavaQuery Demo - Calculator - Static Compilation</name>
    12   <url>http://maven.apache.org</url>
    13 
    14   <properties>
    15     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    16   </properties>
    17   <build>
    18       <plugins>
    19             <plugin>
    20                 <groupId>org.apidesign.bck2brwsr</groupId>
    21                 <artifactId>mojo</artifactId>
    22                 <version>0.3-SNAPSHOT</version>
    23                 <executions>
    24                     <execution>
    25                         <goals>
    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                 </configuration>
    34             </plugin>
    35          <plugin>
    36             <groupId>org.apache.maven.plugins</groupId>
    37             <artifactId>maven-compiler-plugin</artifactId>
    38             <version>2.3.2</version>
    39             <configuration>
    40                <source>1.7</source>
    41                <target>1.7</target>
    42             </configuration>
    43          </plugin>
    44          <plugin>
    45              <groupId>org.apache.maven.plugins</groupId>
    46              <artifactId>maven-jar-plugin</artifactId>
    47              <version>2.4</version>
    48              <configuration>
    49                  <archive>
    50                      <manifest>
    51                          <addClasspath>true</addClasspath>
    52                          <classpathPrefix>lib/</classpathPrefix>
    53                      </manifest>
    54                  </archive>
    55              </configuration>
    56          </plugin>
    57          <plugin>
    58             <artifactId>maven-assembly-plugin</artifactId>
    59                 <version>2.4</version>
    60                 <executions>
    61                     <execution>
    62                         <id>distro-assembly</id>
    63                         <phase>package</phase>
    64                         <goals>
    65                             <goal>single</goal>
    66                         </goals>
    67                         <configuration>
    68                             <descriptors>
    69                                 <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
    70                             </descriptors>
    71                         </configuration>
    72                     </execution>
    73                 </executions>                
    74             </plugin>      
    75       </plugins>
    76   </build>
    77 
    78   <dependencies>
    79     <dependency>
    80       <groupId>org.apidesign.bck2brwsr</groupId>
    81       <artifactId>emul.mini</artifactId>
    82       <version>0.3-SNAPSHOT</version>
    83     </dependency>
    84     <dependency>
    85       <groupId>org.apidesign.bck2brwsr</groupId>
    86       <artifactId>javaquery.api</artifactId>
    87       <version>0.3-SNAPSHOT</version>
    88     </dependency>
    89     <dependency>
    90       <groupId>org.apidesign.bck2brwsr</groupId>
    91       <artifactId>vm4brwsr</artifactId>
    92       <classifier>js</classifier>
    93       <type>zip</type>
    94       <version>0.3-SNAPSHOT</version>
    95       <scope>provided</scope>
    96     </dependency>
    97   </dependencies>
    98 </project>