rt/vm/pom.xml
branchclosure
changeset 841 81cea57bf4e9
parent 750 6ac37d80ecb7
parent 821 60caf5806aa8
child 881 6a3a063b6eb1
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rt/vm/pom.xml	Tue Mar 12 13:54:26 2013 +0100
     1.3 @@ -0,0 +1,150 @@
     1.4 +<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">
     1.5 +  <modelVersion>4.0.0</modelVersion>
     1.6 +  <parent>
     1.7 +    <groupId>org.apidesign.bck2brwsr</groupId>
     1.8 +    <artifactId>rt</artifactId>
     1.9 +    <version>0.5-SNAPSHOT</version>
    1.10 +  </parent>
    1.11 +
    1.12 +  <groupId>org.apidesign.bck2brwsr</groupId>
    1.13 +  <artifactId>vm4brwsr</artifactId>
    1.14 +  <version>0.5-SNAPSHOT</version>
    1.15 +  <packaging>jar</packaging>
    1.16 +
    1.17 +  <name>Virtual Machine for Browser</name>
    1.18 +  <url>http://bck2brwsr.apidesign.org</url>
    1.19 +
    1.20 +  <properties>
    1.21 +    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1.22 +    <author.name>Jaroslav Tulach</author.name>
    1.23 +    <author.email>jaroslav.tulach@apidesign.org</author.email>
    1.24 +  </properties>
    1.25 +  
    1.26 +  <repositories>
    1.27 +      <repository>
    1.28 +          <id>netbeans</id>
    1.29 +          <name>NetBeans</name>
    1.30 +          <url>http://bits.netbeans.org/maven2/</url>
    1.31 +      </repository>
    1.32 +  </repositories>
    1.33 +  <pluginRepositories>
    1.34 +    <pluginRepository>
    1.35 +        <id>mc-release</id>
    1.36 +        <name>Local Maven repository of releases</name>
    1.37 +        <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
    1.38 +        <snapshots>
    1.39 +            <enabled>false</enabled>
    1.40 +        </snapshots>
    1.41 +        <releases>
    1.42 +            <enabled>true</enabled>
    1.43 +        </releases>
    1.44 +    </pluginRepository>
    1.45 +  </pluginRepositories>
    1.46 +  <scm>
    1.47 +      <connection>scm:hg:http://source.apidesign.org/hg/bck2brwsr</connection>
    1.48 +      <url>http://source.apidesign.org/hg/bck2brwsr</url>
    1.49 +    <tag>HEAD</tag>
    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.apache.maven.plugins</groupId>
    1.76 +             <artifactId>maven-javadoc-plugin</artifactId>
    1.77 +             <configuration>
    1.78 +                 <skip>false</skip>
    1.79 +             </configuration>
    1.80 +         </plugin>
    1.81 +         <plugin>
    1.82 +             <groupId>org.codehaus.mojo</groupId>
    1.83 +             <artifactId>exec-maven-plugin</artifactId>
    1.84 +             <version>1.2.1</version>
    1.85 +             <executions>
    1.86 +                 <execution>
    1.87 +                     <id>generate-js</id>
    1.88 +                     <phase>process-classes</phase>
    1.89 +                     <configuration>
    1.90 +                        <mainClass>org.apidesign.vm4brwsr.Main</mainClass>
    1.91 +                        <arguments>
    1.92 +                            <argument>${project.build.directory}/bck2brwsr.js</argument>
    1.93 +                            <argument>org/apidesign/vm4brwsr/Bck2Brwsr</argument>
    1.94 +                        </arguments>
    1.95 +                     </configuration>
    1.96 +                     <goals>
    1.97 +                         <goal>java</goal>
    1.98 +                     </goals>
    1.99 +                 </execution>
   1.100 +             </executions>
   1.101 +         </plugin>
   1.102 +         <plugin>
   1.103 +             <artifactId>maven-assembly-plugin</artifactId>
   1.104 +             <version>2.4</version>
   1.105 +             <executions>
   1.106 +                 <execution>
   1.107 +                     <id>js</id>
   1.108 +                     <phase>package</phase>
   1.109 +                     <goals>
   1.110 +                         <goal>single</goal>
   1.111 +                     </goals>
   1.112 +                     <configuration>
   1.113 +                         <descriptors>
   1.114 +                             <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
   1.115 +                         </descriptors>
   1.116 +                     </configuration>
   1.117 +                 </execution>
   1.118 +             </executions>                
   1.119 +         </plugin>      
   1.120 +      </plugins>
   1.121 +  </build>
   1.122 +  <dependencies>
   1.123 +    <dependency>
   1.124 +      <groupId>org.testng</groupId>
   1.125 +      <artifactId>testng</artifactId>
   1.126 +      <scope>test</scope>
   1.127 +      <exclusions>
   1.128 +        <exclusion>
   1.129 +          <artifactId>junit</artifactId>
   1.130 +          <groupId>junit</groupId>
   1.131 +        </exclusion>
   1.132 +      </exclusions>
   1.133 +    </dependency>
   1.134 +    <dependency>
   1.135 +      <groupId>${project.groupId}</groupId>
   1.136 +      <artifactId>core</artifactId>
   1.137 +      <version>${project.version}</version>
   1.138 +      <type>jar</type>
   1.139 +    </dependency>
   1.140 +    <dependency>
   1.141 +      <groupId>${project.groupId}</groupId>
   1.142 +      <artifactId>emul.mini</artifactId>
   1.143 +      <version>${project.version}</version>
   1.144 +      <scope>compile</scope>
   1.145 +    </dependency>
   1.146 +    <dependency>
   1.147 +      <groupId>com.google.javascript</groupId>
   1.148 +      <artifactId>closure-compiler</artifactId>
   1.149 +      <version>r2388</version>
   1.150 +      <scope>compile</scope>
   1.151 +    </dependency>  
   1.152 +  </dependencies>
   1.153 +</project>