rt/emul/compact/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Mon, 05 May 2014 11:43:54 +0200
branchclosure
changeset 1527 c18352f3f10f
parent 1437 3ec3ae9699ef
child 1624 3e565843a131
permissions -rw-r--r--
Execute the tests twice. Once via ScriptEngine and once in a browser
     1 <?xml version="1.0"?>
     2 <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">
     3   <modelVersion>4.0.0</modelVersion>
     4   <parent>
     5     <groupId>org.apidesign.bck2brwsr</groupId>
     6     <artifactId>emul.pom</artifactId>
     7     <version>0.9-SNAPSHOT</version>
     8   </parent>
     9   <groupId>org.apidesign.bck2brwsr</groupId>
    10   <artifactId>emul</artifactId>
    11   <version>0.9-SNAPSHOT</version>
    12   <name>Bck2Brwsr API Profile</name>
    13   <url>http://maven.apache.org</url>
    14   <properties>
    15     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    16   </properties>
    17   <dependencies>
    18     <dependency>
    19       <groupId>${project.groupId}</groupId>
    20       <artifactId>emul.mini</artifactId>
    21       <version>${project.version}</version>
    22       <scope>provided</scope>
    23     </dependency>
    24     <dependency>
    25       <groupId>${project.groupId}</groupId>
    26       <artifactId>vmtest</artifactId>
    27       <version>${project.version}</version>
    28       <scope>test</scope>
    29     </dependency>
    30     <dependency>
    31       <groupId>${project.groupId}</groupId>
    32       <artifactId>launcher.http</artifactId>
    33       <version>${project.version}</version>
    34       <scope>test</scope>
    35       <exclusions>
    36           <exclusion>
    37               <groupId>com.oracle</groupId>
    38               <artifactId>javafx</artifactId>
    39           </exclusion>
    40       </exclusions>
    41     </dependency>
    42     <dependency>
    43       <groupId>org.netbeans.api</groupId>
    44       <artifactId>org-openide-util-lookup</artifactId>
    45       <scope>test</scope>
    46     </dependency>
    47   </dependencies>
    48   <build>
    49       <plugins>
    50           <plugin>
    51               <groupId>org.apache.maven.plugins</groupId>
    52               <artifactId>maven-compiler-plugin</artifactId>
    53               <version>2.5.1</version>
    54               <configuration>
    55                   <compilerArguments>
    56                       <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
    57                   </compilerArguments>
    58                  <source>1.7</source>
    59                  <target>1.7</target>
    60               </configuration>
    61           </plugin>
    62           <plugin>
    63               <groupId>org.apache.maven.plugins</groupId>
    64               <artifactId>maven-javadoc-plugin</artifactId>
    65               <configuration>
    66                   <excludePackageNames>org.apidesign.bck2brwsr.emul.*</excludePackageNames>
    67                   <skip>false</skip>
    68                   <includeDependencySources>true</includeDependencySources>
    69               </configuration>
    70           </plugin>
    71          <plugin>
    72             <artifactId>maven-assembly-plugin</artifactId>
    73                 <version>2.4</version>
    74                 <executions>
    75                     <execution>
    76                         <id>rt</id>
    77                         <phase>package</phase>
    78                         <goals>
    79                             <goal>single</goal>
    80                         </goals>
    81                         <configuration>
    82                             <descriptors>
    83                                 <descriptor>src/main/assembly/rt.xml</descriptor>
    84                             </descriptors>
    85                             <finalName>bck2brwsr-${project.version}</finalName>
    86                         </configuration>
    87                     </execution>
    88                 </executions>                
    89             </plugin> 
    90             <plugin>
    91                 <groupId>org.apache.maven.plugins</groupId>
    92                 <artifactId>maven-surefire-plugin</artifactId>
    93                 <executions>
    94                     <execution>
    95                         <id>brwsr</id>
    96                         <goals>
    97                             <goal>test</goal>
    98                         </goals>
    99                         <phase>verify</phase>
   100                         <configuration>
   101                             <systemProperties>
   102                                 <vmtest.js>brwsr</vmtest.js>
   103                             </systemProperties>
   104                         </configuration>
   105                     </execution>
   106                 </executions>
   107             </plugin>     
   108       </plugins>
   109   </build>
   110 </project>