rt/vm/pom.xml
author Lubomir Nerad <lubomir.nerad@oracle.com>
Tue, 12 Mar 2013 13:54:26 +0100
branchclosure
changeset 841 81cea57bf4e9
parent 750 vm/pom.xml@6ac37d80ecb7
parent 821 vm/pom.xml@60caf5806aa8
child 881 6a3a063b6eb1
permissions -rw-r--r--
Merge with trunk
     1 <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">
     2   <modelVersion>4.0.0</modelVersion>
     3   <parent>
     4     <groupId>org.apidesign.bck2brwsr</groupId>
     5     <artifactId>rt</artifactId>
     6     <version>0.5-SNAPSHOT</version>
     7   </parent>
     8 
     9   <groupId>org.apidesign.bck2brwsr</groupId>
    10   <artifactId>vm4brwsr</artifactId>
    11   <version>0.5-SNAPSHOT</version>
    12   <packaging>jar</packaging>
    13 
    14   <name>Virtual Machine for Browser</name>
    15   <url>http://bck2brwsr.apidesign.org</url>
    16 
    17   <properties>
    18     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    19     <author.name>Jaroslav Tulach</author.name>
    20     <author.email>jaroslav.tulach@apidesign.org</author.email>
    21   </properties>
    22   
    23   <repositories>
    24       <repository>
    25           <id>netbeans</id>
    26           <name>NetBeans</name>
    27           <url>http://bits.netbeans.org/maven2/</url>
    28       </repository>
    29   </repositories>
    30   <pluginRepositories>
    31     <pluginRepository>
    32         <id>mc-release</id>
    33         <name>Local Maven repository of releases</name>
    34         <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
    35         <snapshots>
    36             <enabled>false</enabled>
    37         </snapshots>
    38         <releases>
    39             <enabled>true</enabled>
    40         </releases>
    41     </pluginRepository>
    42   </pluginRepositories>
    43   <scm>
    44       <connection>scm:hg:http://source.apidesign.org/hg/bck2brwsr</connection>
    45       <url>http://source.apidesign.org/hg/bck2brwsr</url>
    46     <tag>HEAD</tag>
    47   </scm>
    48   <build>
    49       <plugins>
    50           <plugin>
    51               <groupId>org.apache.maven.plugins</groupId>
    52               <artifactId>maven-jar-plugin</artifactId>
    53               <version>2.4</version>
    54               <configuration>
    55                   <archive>
    56                       <manifest>
    57                           <mainClass>org.apidesign.vm4brwsr.Main</mainClass>
    58                       </manifest>
    59                   </archive>
    60               </configuration>
    61           </plugin>
    62          <plugin>
    63             <groupId>org.apache.maven.plugins</groupId>
    64             <artifactId>maven-compiler-plugin</artifactId>
    65             <version>2.3.2</version>
    66             <configuration>
    67                <source>1.7</source>
    68                <target>1.7</target>
    69             </configuration>
    70          </plugin>
    71          <plugin>
    72              <groupId>org.apache.maven.plugins</groupId>
    73              <artifactId>maven-javadoc-plugin</artifactId>
    74              <configuration>
    75                  <skip>false</skip>
    76              </configuration>
    77          </plugin>
    78          <plugin>
    79              <groupId>org.codehaus.mojo</groupId>
    80              <artifactId>exec-maven-plugin</artifactId>
    81              <version>1.2.1</version>
    82              <executions>
    83                  <execution>
    84                      <id>generate-js</id>
    85                      <phase>process-classes</phase>
    86                      <configuration>
    87                         <mainClass>org.apidesign.vm4brwsr.Main</mainClass>
    88                         <arguments>
    89                             <argument>${project.build.directory}/bck2brwsr.js</argument>
    90                             <argument>org/apidesign/vm4brwsr/Bck2Brwsr</argument>
    91                         </arguments>
    92                      </configuration>
    93                      <goals>
    94                          <goal>java</goal>
    95                      </goals>
    96                  </execution>
    97              </executions>
    98          </plugin>
    99          <plugin>
   100              <artifactId>maven-assembly-plugin</artifactId>
   101              <version>2.4</version>
   102              <executions>
   103                  <execution>
   104                      <id>js</id>
   105                      <phase>package</phase>
   106                      <goals>
   107                          <goal>single</goal>
   108                      </goals>
   109                      <configuration>
   110                          <descriptors>
   111                              <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
   112                          </descriptors>
   113                      </configuration>
   114                  </execution>
   115              </executions>                
   116          </plugin>      
   117       </plugins>
   118   </build>
   119   <dependencies>
   120     <dependency>
   121       <groupId>org.testng</groupId>
   122       <artifactId>testng</artifactId>
   123       <scope>test</scope>
   124       <exclusions>
   125         <exclusion>
   126           <artifactId>junit</artifactId>
   127           <groupId>junit</groupId>
   128         </exclusion>
   129       </exclusions>
   130     </dependency>
   131     <dependency>
   132       <groupId>${project.groupId}</groupId>
   133       <artifactId>core</artifactId>
   134       <version>${project.version}</version>
   135       <type>jar</type>
   136     </dependency>
   137     <dependency>
   138       <groupId>${project.groupId}</groupId>
   139       <artifactId>emul.mini</artifactId>
   140       <version>${project.version}</version>
   141       <scope>compile</scope>
   142     </dependency>
   143     <dependency>
   144       <groupId>com.google.javascript</groupId>
   145       <artifactId>closure-compiler</artifactId>
   146       <version>r2388</version>
   147       <scope>compile</scope>
   148     </dependency>  
   149   </dependencies>
   150 </project>