rt/vm/pom.xml
changeset 772 d382dacfd73f
parent 692 d088fc482c65
child 799 abb0830cb220
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rt/vm/pom.xml	Tue Feb 26 16:54:16 2013 +0100
     1.3 @@ -0,0 +1,143 @@
     1.4 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     1.5 +  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     1.6 +  <modelVersion>4.0.0</modelVersion>
     1.7 +  <parent>
     1.8 +    <groupId>org.apidesign.bck2brwsr</groupId>
     1.9 +    <artifactId>rt</artifactId>
    1.10 +    <version>0.3-SNAPSHOT</version>
    1.11 +  </parent>
    1.12 +
    1.13 +  <groupId>org.apidesign.bck2brwsr</groupId>
    1.14 +  <artifactId>vm4brwsr</artifactId>
    1.15 +  <version>0.3-SNAPSHOT</version>
    1.16 +  <packaging>jar</packaging>
    1.17 +
    1.18 +  <name>Virtual Machine for Browser</name>
    1.19 +  <url>http://bck2brwsr.apidesign.org</url>
    1.20 +
    1.21 +  <properties>
    1.22 +    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1.23 +    <author.name>Jaroslav Tulach</author.name>
    1.24 +    <author.email>jaroslav.tulach@apidesign.org</author.email>
    1.25 +  </properties>
    1.26 +  
    1.27 +  <repositories>
    1.28 +      <repository>
    1.29 +          <id>netbeans</id>
    1.30 +          <name>NetBeans</name>
    1.31 +          <url>http://bits.netbeans.org/maven2/</url>
    1.32 +      </repository>
    1.33 +  </repositories>
    1.34 +  <pluginRepositories>
    1.35 +    <pluginRepository>
    1.36 +        <id>mc-release</id>
    1.37 +        <name>Local Maven repository of releases</name>
    1.38 +        <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
    1.39 +        <snapshots>
    1.40 +            <enabled>false</enabled>
    1.41 +        </snapshots>
    1.42 +        <releases>
    1.43 +            <enabled>true</enabled>
    1.44 +        </releases>
    1.45 +    </pluginRepository>
    1.46 +  </pluginRepositories>
    1.47 +  <scm>
    1.48 +      <connection>scm:hg:http://source.apidesign.org/hg/bck2brwsr</connection>
    1.49 +      <url>http://source.apidesign.org/hg/bck2brwsr</url>
    1.50 +  </scm>
    1.51 +  <build>
    1.52 +      <plugins>
    1.53 +          <plugin>
    1.54 +              <groupId>org.apache.maven.plugins</groupId>
    1.55 +              <artifactId>maven-jar-plugin</artifactId>
    1.56 +              <version>2.4</version>
    1.57 +              <configuration>
    1.58 +                  <archive>
    1.59 +                      <manifest>
    1.60 +                          <mainClass>org.apidesign.vm4brwsr.Main</mainClass>
    1.61 +                      </manifest>
    1.62 +                  </archive>
    1.63 +              </configuration>
    1.64 +          </plugin>
    1.65 +         <plugin>
    1.66 +            <groupId>org.apache.maven.plugins</groupId>
    1.67 +            <artifactId>maven-compiler-plugin</artifactId>
    1.68 +            <version>2.3.2</version>
    1.69 +            <configuration>
    1.70 +               <source>1.7</source>
    1.71 +               <target>1.7</target>
    1.72 +            </configuration>
    1.73 +         </plugin>
    1.74 +         <plugin>
    1.75 +             <groupId>org.codehaus.mojo</groupId>
    1.76 +             <artifactId>exec-maven-plugin</artifactId>
    1.77 +             <version>1.2.1</version>
    1.78 +             <executions>
    1.79 +                 <execution>
    1.80 +                     <id>generate-js</id>
    1.81 +                     <phase>process-classes</phase>
    1.82 +                     <goals>
    1.83 +                         <goal>java</goal>
    1.84 +                     </goals>
    1.85 +                 </execution>
    1.86 +             </executions>
    1.87 +             <configuration>
    1.88 +                 <mainClass>org.apidesign.vm4brwsr.Main</mainClass>
    1.89 +                 <arguments>
    1.90 +                     <argument>${project.build.directory}/bck2brwsr.js</argument>
    1.91 +                     <argument>org/apidesign/vm4brwsr/Bck2Brwsr</argument>
    1.92 +                 </arguments>
    1.93 +             </configuration>
    1.94 +         </plugin>
    1.95 +         <plugin>
    1.96 +             <artifactId>maven-assembly-plugin</artifactId>
    1.97 +             <version>2.4</version>
    1.98 +             <executions>
    1.99 +                 <execution>
   1.100 +                     <id>js</id>
   1.101 +                     <phase>package</phase>
   1.102 +                     <goals>
   1.103 +                         <goal>single</goal>
   1.104 +                     </goals>
   1.105 +                     <configuration>
   1.106 +                         <descriptors>
   1.107 +                             <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
   1.108 +                         </descriptors>
   1.109 +                     </configuration>
   1.110 +                 </execution>
   1.111 +             </executions>                
   1.112 +         </plugin>      
   1.113 +      </plugins>
   1.114 +  </build>
   1.115 +  <dependencies>
   1.116 +    <dependency>
   1.117 +      <groupId>org.testng</groupId>
   1.118 +      <artifactId>testng</artifactId>
   1.119 +      <scope>test</scope>
   1.120 +      <exclusions>
   1.121 +        <exclusion>
   1.122 +          <artifactId>junit</artifactId>
   1.123 +          <groupId>junit</groupId>
   1.124 +        </exclusion>
   1.125 +      </exclusions>
   1.126 +    </dependency>
   1.127 +    <dependency>
   1.128 +      <groupId>${project.groupId}</groupId>
   1.129 +      <artifactId>core</artifactId>
   1.130 +      <version>${project.version}</version>
   1.131 +      <type>jar</type>
   1.132 +    </dependency>
   1.133 +    <dependency>
   1.134 +      <groupId>${project.groupId}</groupId>
   1.135 +      <artifactId>emul.mini</artifactId>
   1.136 +      <version>${project.version}</version>
   1.137 +      <scope>compile</scope>
   1.138 +    </dependency>
   1.139 +    <dependency>
   1.140 +      <groupId>${project.groupId}</groupId>
   1.141 +      <artifactId>javap</artifactId>
   1.142 +      <version>${project.version}</version>
   1.143 +      <scope>compile</scope>
   1.144 +    </dependency>
   1.145 +  </dependencies>
   1.146 +</project>