mojo/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sat, 26 Jan 2013 08:47:05 +0100
changeset 592 5e13b1ac2886
parent 421 0236ad6ab4d2
permissions -rw-r--r--
In order to support fields of the same name in subclasses we are now prefixing them with name of the class that defines them. To provide convenient way to access them from generated bytecode and also directly from JavaScript, there is a getter/setter function for each field. It starts with _ followed by the field name. If called with a parameter, it sets the field, with a parameter it just returns it.
     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>Bck2Brwsr Maven Project</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.mini</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     <dependency>
    81         <groupId>${project.groupId}</groupId>
    82         <artifactId>launcher</artifactId>
    83       <version>${project.version}</version>
    84     </dependency>
    85 </dependencies>
    86 </project>