boot-truffle/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Thu, 21 Jul 2016 10:31:09 +0200
changeset 1104 fbb044757eea
parent 1103 d8f27be84171
permissions -rw-r--r--
Using empty sigfile to pass the sigtest check
     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          <plugin>
    45              <groupId>org.netbeans.tools</groupId>
    46              <artifactId>sigtest-maven-plugin</artifactId>
    47              <version>1.0</version>
    48              <executions>
    49                  <execution>
    50                      <goals>
    51                          <goal>generate</goal>
    52                          <goal>check</goal>
    53                      </goals>
    54                  </execution>
    55              </executions>
    56              <configuration>
    57                  <sigfile>empty.sigtest</sigfile>
    58              </configuration>
    59          </plugin>
    60       </plugins>
    61     </build>
    62     <dependencies>
    63         <dependency>
    64             <groupId>org.netbeans.api</groupId>
    65             <artifactId>org-openide-util-lookup</artifactId>
    66             <scope>provided</scope>
    67         </dependency>
    68         <dependency>
    69             <groupId>com.oracle.truffle</groupId>
    70             <artifactId>truffle-api</artifactId>
    71             <version>0.15</version>
    72         </dependency>
    73         <dependency>
    74             <groupId>com.oracle.truffle</groupId>
    75             <artifactId>truffle-dsl-processor</artifactId>
    76             <version>0.15</version>
    77             <scope>provided</scope>
    78         </dependency>
    79         <dependency>
    80             <groupId>org.netbeans.html</groupId>
    81             <artifactId>net.java.html.boot</artifactId>
    82             <version>${project.version}</version>
    83             <type>jar</type>
    84         </dependency>
    85         <dependency>
    86             <groupId>org.testng</groupId>
    87             <artifactId>testng</artifactId>
    88             <scope>test</scope>
    89         </dependency>
    90         <dependency>
    91             <groupId>${project.groupId}</groupId>
    92             <artifactId>net.java.html.json.tck</artifactId>
    93             <version>${project.version}</version>
    94             <scope>test</scope>
    95         </dependency>
    96         <dependency>
    97             <groupId>org.glassfish.grizzly</groupId>
    98             <artifactId>grizzly-http-server</artifactId>
    99             <version>${grizzly.version}</version>
   100             <scope>test</scope>
   101         </dependency>
   102         <dependency>
   103             <groupId>org.glassfish.grizzly</groupId>
   104             <artifactId>grizzly-websockets-server</artifactId>
   105             <version>${grizzly.version}</version>
   106             <scope>test</scope>
   107             <type>jar</type>
   108         </dependency>
   109         <dependency>
   110             <groupId>org.glassfish.grizzly</groupId>
   111             <artifactId>grizzly-http-servlet</artifactId>
   112             <version>${grizzly.version}</version>
   113             <scope>test</scope>
   114         </dependency>    
   115         <dependency>
   116             <groupId>javax.servlet</groupId>
   117             <artifactId>javax.servlet-api</artifactId>
   118             <scope>test</scope>
   119             <version>3.1.0</version>
   120         </dependency>
   121         <dependency>
   122             <groupId>org.netbeans.html</groupId>
   123             <artifactId>ko4j</artifactId>
   124             <version>${project.version}</version>
   125             <scope>test</scope>
   126             <type>jar</type>
   127         </dependency>
   128         <dependency>
   129             <groupId>${project.groupId}</groupId>
   130             <artifactId>ko-ws-tyrus</artifactId>
   131             <version>${project.version}</version>
   132             <scope>test</scope>
   133             <type>jar</type>
   134         </dependency>
   135     </dependencies>
   136     <profiles>
   137         <profile>
   138             <id>graalvm</id>
   139             <activation>
   140                 <file>
   141                     <exists>${trufflejs}</exists>
   142                 </file>
   143             </activation>
   144             <dependencies>
   145                 <dependency>
   146                     <groupId>com.oracle.graaljs</groupId>
   147                     <artifactId>truffle-js</artifactId>
   148                     <version>0.07</version>
   149                     <systemPath>${trufflejs}</systemPath>
   150                     <scope>system</scope>
   151                 </dependency>
   152             </dependencies>
   153         </profile>
   154     </profiles>
   155 </project>