mojo/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 13 Dec 2012 23:20:47 +0100
changeset 316 8da329789435
parent 189 6a56c2381b0f
child 357 dc375a56fd15
permissions -rw-r--r--
Providing JavaScript specific implementations of Hashtable and Vector. Those should likely be faster for the JavaScript VM than interpreting bytecode. This is the way to get the best of JavaScript and yet provide reasonably well working implementation in Java.
     1 <?xml version="1.0"?>
     2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
     3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     4   <modelVersion>4.0.0</modelVersion>
     5   <parent>
     6     <groupId>org.apidesign</groupId>
     7     <artifactId>bck2brwsr</artifactId>
     8     <version>0.3-SNAPSHOT</version>
     9   </parent>
    10   <groupId>org.apidesign.bck2brwsr</groupId>
    11   <artifactId>mojo</artifactId>
    12   <version>0.3-SNAPSHOT</version>
    13   <packaging>maven-plugin</packaging>
    14   <name>Maven Mojo to Compile to JavaScript</name>
    15   <url>http://maven.apache.org</url>
    16       <build>
    17         <plugins>
    18             <plugin>
    19                 <groupId>org.apache.maven.plugins</groupId>
    20                 <artifactId>maven-plugin-plugin</artifactId>
    21                 <version>3.1</version>
    22                 <configuration>
    23                     <extractors>
    24                         <extractor>java-annotations</extractor>
    25                     </extractors>
    26                     <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
    27                  </configuration>
    28                 <executions>
    29                     <execution>
    30                         <id>mojo-descriptor</id>
    31                         <phase>process-classes</phase>
    32                         <goals>
    33                             <goal>descriptor</goal>
    34                         </goals>
    35                     </execution>
    36                 </executions>
    37             </plugin>
    38             <plugin>
    39                 <groupId>org.apache.maven.plugins</groupId>
    40                 <artifactId>maven-compiler-plugin</artifactId>
    41                 <version>2.3.2</version>
    42                 <configuration>
    43                     <source>1.6</source>
    44                     <target>1.6</target>
    45                 </configuration>
    46             </plugin>
    47         </plugins>
    48       </build>
    49       
    50 <dependencies>
    51     <dependency>
    52       <groupId>org.apache.maven</groupId>
    53       <artifactId>maven-plugin-api</artifactId>
    54       <version>3.0.4</version>
    55       <type>jar</type>
    56     </dependency>
    57     <dependency>
    58       <groupId>org.apache.maven.plugin-tools</groupId>
    59       <artifactId>maven-plugin-annotations</artifactId>
    60       <version>3.0</version>
    61       <type>jar</type>
    62     </dependency>
    63     <dependency>
    64       <groupId>${project.groupId}</groupId>
    65       <artifactId>vm4brwsr</artifactId>
    66       <version>0.3-SNAPSHOT</version>
    67       <exclusions>
    68         <exclusion>
    69           <artifactId>emul</artifactId>
    70           <groupId>org.apidesign.bck2brwsr</groupId>
    71         </exclusion>
    72       </exclusions>
    73     </dependency>
    74     <dependency>
    75         <groupId>org.apache.maven</groupId>
    76         <artifactId>maven-core</artifactId>
    77       <version>3.0.2</version>
    78       <type>jar</type>
    79     </dependency>
    80 </dependencies>
    81 </project>