boot-truffle/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Thu, 21 Jul 2016 10:26:00 +0200
changeset 1103 d8f27be84171
parent 1095 1dbcc395b2e5
child 1104 fbb044757eea
permissions -rw-r--r--
Merging boot-truffle into main development branch
     1 <?xml version="1.0" encoding="UTF-8"?>
     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.netbeans.html</groupId>
     6         <artifactId>pom</artifactId>
     7         <version>2.0-SNAPSHOT</version>
     8     </parent>
     9     <name>Presenter via Truffle</name>
    10     <artifactId>net.java.html.boot.truffle</artifactId>
    11     <version>2.0-SNAPSHOT</version>
    12     <packaging>bundle</packaging>
    13     <properties>
    14         <netbeans.compile.on.save>NONE</netbeans.compile.on.save>
    15         <publicPackages>net.java.html.boot.truffle</publicPackages>
    16         <trufflejs>${java.home}/language/js/trufflejs.jar</trufflejs>
    17     </properties>
    18     <build>
    19       <plugins>
    20           <plugin>
    21               <groupId>org.apache.felix</groupId>
    22               <artifactId>maven-bundle-plugin</artifactId>
    23               <extensions>true</extensions>
    24               <configuration>
    25                   <instructions>
    26                       <Export-Package>${publicPackages}</Export-Package>
    27                       <Bundle-SymbolicName>net.java.html.boot.truffle</Bundle-SymbolicName>
    28                   </instructions>
    29               </configuration>
    30           </plugin>
    31           <plugin>
    32               <groupId>org.netbeans.html</groupId>
    33               <artifactId>html4j-maven-plugin</artifactId>
    34           </plugin>
    35          <plugin>
    36             <groupId>org.apache.maven.plugins</groupId>
    37             <artifactId>maven-compiler-plugin</artifactId>
    38             <version>2.3.2</version>
    39             <configuration>
    40                <source>1.7</source>
    41                <target>1.7</target>
    42             </configuration>
    43          </plugin>
    44       </plugins>
    45     </build>
    46     <dependencies>
    47         <dependency>
    48             <groupId>org.netbeans.api</groupId>
    49             <artifactId>org-openide-util-lookup</artifactId>
    50             <scope>provided</scope>
    51         </dependency>
    52         <dependency>
    53             <groupId>com.oracle.truffle</groupId>
    54             <artifactId>truffle-api</artifactId>
    55             <version>0.15</version>
    56         </dependency>
    57         <dependency>
    58             <groupId>com.oracle.truffle</groupId>
    59             <artifactId>truffle-dsl-processor</artifactId>
    60             <version>0.15</version>
    61             <scope>provided</scope>
    62         </dependency>
    63         <dependency>
    64             <groupId>org.netbeans.html</groupId>
    65             <artifactId>net.java.html.boot</artifactId>
    66             <version>${project.version}</version>
    67             <type>jar</type>
    68         </dependency>
    69         <dependency>
    70             <groupId>org.testng</groupId>
    71             <artifactId>testng</artifactId>
    72             <scope>test</scope>
    73         </dependency>
    74         <dependency>
    75             <groupId>${project.groupId}</groupId>
    76             <artifactId>net.java.html.json.tck</artifactId>
    77             <version>${project.version}</version>
    78             <scope>test</scope>
    79         </dependency>
    80         <dependency>
    81             <groupId>org.glassfish.grizzly</groupId>
    82             <artifactId>grizzly-http-server</artifactId>
    83             <version>${grizzly.version}</version>
    84             <scope>test</scope>
    85         </dependency>
    86         <dependency>
    87             <groupId>org.glassfish.grizzly</groupId>
    88             <artifactId>grizzly-websockets-server</artifactId>
    89             <version>${grizzly.version}</version>
    90             <scope>test</scope>
    91             <type>jar</type>
    92         </dependency>
    93         <dependency>
    94             <groupId>org.glassfish.grizzly</groupId>
    95             <artifactId>grizzly-http-servlet</artifactId>
    96             <version>${grizzly.version}</version>
    97             <scope>test</scope>
    98         </dependency>    
    99         <dependency>
   100             <groupId>javax.servlet</groupId>
   101             <artifactId>javax.servlet-api</artifactId>
   102             <scope>test</scope>
   103             <version>3.1.0</version>
   104         </dependency>
   105         <dependency>
   106             <groupId>org.netbeans.html</groupId>
   107             <artifactId>ko4j</artifactId>
   108             <version>${project.version}</version>
   109             <scope>test</scope>
   110             <type>jar</type>
   111         </dependency>
   112         <dependency>
   113             <groupId>${project.groupId}</groupId>
   114             <artifactId>ko-ws-tyrus</artifactId>
   115             <version>${project.version}</version>
   116             <scope>test</scope>
   117             <type>jar</type>
   118         </dependency>
   119     </dependencies>
   120     <profiles>
   121         <profile>
   122             <id>graalvm</id>
   123             <activation>
   124                 <file>
   125                     <exists>${trufflejs}</exists>
   126                 </file>
   127             </activation>
   128             <dependencies>
   129                 <dependency>
   130                     <groupId>com.oracle.graaljs</groupId>
   131                     <artifactId>truffle-js</artifactId>
   132                     <version>0.07</version>
   133                     <systemPath>${trufflejs}</systemPath>
   134                     <scope>system</scope>
   135                 </dependency>
   136             </dependencies>
   137         </profile>
   138     </profiles>
   139 </project>