rt/vm/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 14 Apr 2013 22:35:00 +0200
changeset 986 6cc579ba2472
parent 984 52a4a5f868bc
child 1058 e61f24684a69
permissions -rw-r--r--
[maven-release-plugin] prepare for next development iteration
     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.7-SNAPSHOT</version>
     7   </parent>
     8 
     9   <groupId>org.apidesign.bck2brwsr</groupId>
    10   <artifactId>vm4brwsr</artifactId>
    11   <version>0.7-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                          <executable>java</executable>
    88                         <arguments>
    89                             <argument>-cp</argument>
    90                             <classpath />
    91                             <argument>org.apidesign.vm4brwsr.Main</argument>
    92                             <argument>--obfuscatelevel</argument>
    93                             <argument>MINIMAL</argument>
    94                             <argument>${project.build.directory}/bck2brwsr.js</argument>
    95                             <argument>org/apidesign/vm4brwsr/Bck2Brwsr</argument>
    96                         </arguments>
    97                      </configuration>
    98                      <goals>
    99                          <goal>exec</goal>
   100                      </goals>
   101                  </execution>
   102              </executions>
   103          </plugin>
   104          <plugin>
   105              <artifactId>maven-assembly-plugin</artifactId>
   106              <version>2.4</version>
   107              <executions>
   108                  <execution>
   109                      <id>js</id>
   110                      <phase>package</phase>
   111                      <goals>
   112                          <goal>single</goal>
   113                      </goals>
   114                      <configuration>
   115                          <descriptors>
   116                              <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
   117                          </descriptors>
   118                      </configuration>
   119                  </execution>
   120              </executions>                
   121          </plugin>      
   122       </plugins>
   123   </build>
   124   <dependencies>
   125     <dependency>
   126       <groupId>org.testng</groupId>
   127       <artifactId>testng</artifactId>
   128       <scope>test</scope>
   129       <exclusions>
   130         <exclusion>
   131           <artifactId>junit</artifactId>
   132           <groupId>junit</groupId>
   133         </exclusion>
   134       </exclusions>
   135     </dependency>
   136     <dependency>
   137       <groupId>${project.groupId}</groupId>
   138       <artifactId>core</artifactId>
   139       <version>${project.version}</version>
   140       <type>jar</type>
   141     </dependency>
   142     <dependency>
   143       <groupId>${project.groupId}</groupId>
   144       <artifactId>emul.mini</artifactId>
   145       <version>${project.version}</version>
   146       <scope>compile</scope>
   147     </dependency>
   148     <dependency>
   149       <groupId>com.google.javascript</groupId>
   150       <artifactId>closure-compiler</artifactId>
   151       <version>r2388</version>
   152       <scope>compile</scope>
   153     </dependency>  
   154   </dependencies>
   155 </project>