rt/vm/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Mon, 04 Mar 2013 19:20:40 +0100
changeset 810 9eb750594b15
parent 806 178754f29511
child 819 caf1e66268fd
permissions -rw-r--r--
Moving the bytecode parser into a single class inside the vm module - Nexus does not like modules without javadoc and I certainly don't want to publish javadoc for the former javap
     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.4-SNAPSHOT</version>
     7   </parent>
     8 
     9   <groupId>org.apidesign.bck2brwsr</groupId>
    10   <artifactId>vm4brwsr</artifactId>
    11   <version>0.4-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   </scm>
    47   <build>
    48       <plugins>
    49           <plugin>
    50               <groupId>org.apache.maven.plugins</groupId>
    51               <artifactId>maven-jar-plugin</artifactId>
    52               <version>2.4</version>
    53               <configuration>
    54                   <archive>
    55                       <manifest>
    56                           <mainClass>org.apidesign.vm4brwsr.Main</mainClass>
    57                       </manifest>
    58                   </archive>
    59               </configuration>
    60           </plugin>
    61          <plugin>
    62             <groupId>org.apache.maven.plugins</groupId>
    63             <artifactId>maven-compiler-plugin</artifactId>
    64             <version>2.3.2</version>
    65             <configuration>
    66                <source>1.7</source>
    67                <target>1.7</target>
    68             </configuration>
    69          </plugin>
    70          <plugin>
    71              <groupId>org.apache.maven.plugins</groupId>
    72              <artifactId>maven-javadoc-plugin</artifactId>
    73              <configuration>
    74                  <skip>false</skip>
    75              </configuration>
    76          </plugin>
    77          <plugin>
    78              <groupId>org.codehaus.mojo</groupId>
    79              <artifactId>exec-maven-plugin</artifactId>
    80              <version>1.2.1</version>
    81              <executions>
    82                  <execution>
    83                      <id>generate-js</id>
    84                      <phase>process-classes</phase>
    85                      <goals>
    86                          <goal>java</goal>
    87                      </goals>
    88                  </execution>
    89              </executions>
    90              <configuration>
    91                  <mainClass>org.apidesign.vm4brwsr.Main</mainClass>
    92                  <arguments>
    93                      <argument>${project.build.directory}/bck2brwsr.js</argument>
    94                      <argument>org/apidesign/vm4brwsr/Bck2Brwsr</argument>
    95                  </arguments>
    96              </configuration>
    97          </plugin>
    98          <plugin>
    99              <artifactId>maven-assembly-plugin</artifactId>
   100              <version>2.4</version>
   101              <executions>
   102                  <execution>
   103                      <id>js</id>
   104                      <phase>package</phase>
   105                      <goals>
   106                          <goal>single</goal>
   107                      </goals>
   108                      <configuration>
   109                          <descriptors>
   110                              <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
   111                          </descriptors>
   112                      </configuration>
   113                  </execution>
   114              </executions>                
   115          </plugin>      
   116       </plugins>
   117   </build>
   118   <dependencies>
   119     <dependency>
   120       <groupId>org.testng</groupId>
   121       <artifactId>testng</artifactId>
   122       <scope>test</scope>
   123       <exclusions>
   124         <exclusion>
   125           <artifactId>junit</artifactId>
   126           <groupId>junit</groupId>
   127         </exclusion>
   128       </exclusions>
   129     </dependency>
   130     <dependency>
   131       <groupId>${project.groupId}</groupId>
   132       <artifactId>core</artifactId>
   133       <version>${project.version}</version>
   134       <type>jar</type>
   135     </dependency>
   136     <dependency>
   137       <groupId>${project.groupId}</groupId>
   138       <artifactId>emul.mini</artifactId>
   139       <version>${project.version}</version>
   140       <scope>compile</scope>
   141     </dependency>
   142   </dependencies>
   143 </project>