mojo/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 16 Oct 2012 16:51:22 +0200
changeset 109 b19d12a9e6d5
child 159 d0aad97dfd2e
child 160 71307da9df46
permissions -rw-r--r--
Maven mojo to generate the Javascript during compilation phase
     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>1.0-SNAPSHOT</version>
     9   </parent>
    10   <groupId>org.apidesign.bck2brwsr</groupId>
    11   <artifactId>mojo</artifactId>
    12   <version>1.0-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         </plugins>
    39       </build>
    40       
    41 <dependencies>
    42     <dependency>
    43       <groupId>org.apache.maven</groupId>
    44       <artifactId>maven-plugin-api</artifactId>
    45       <version>3.0.4</version>
    46       <type>jar</type>
    47     </dependency>
    48     <dependency>
    49       <groupId>org.apache.maven.plugin-tools</groupId>
    50       <artifactId>maven-plugin-annotations</artifactId>
    51       <version>3.0</version>
    52       <type>jar</type>
    53     </dependency>
    54     <dependency>
    55       <groupId>${project.groupId}</groupId>
    56       <artifactId>vm4brwsr</artifactId>
    57       <version>0.1-SNAPSHOT</version>
    58     </dependency>
    59     <dependency>
    60         <groupId>org.apache.maven</groupId>
    61         <artifactId>maven-core</artifactId>
    62       <version>3.0.2</version>
    63       <type>jar</type>
    64     </dependency>
    65 </dependencies>
    66 </project>