ko-ws-tyrus/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 06 Nov 2013 16:23:32 +0100
changeset 325 3dc22f6fa03f
parent 314 3461e5ec9059
child 359 6b23a639bdb5
permissions -rw-r--r--
Use OSGi bundles for org.json API in all cases
     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</groupId>
     6     <artifactId>html</artifactId>
     7     <version>0.7-SNAPSHOT</version>
     8   </parent>
     9   <groupId>org.apidesign.html</groupId>
    10   <artifactId>ko-ws-tyrus</artifactId>
    11   <version>0.7-SNAPSHOT</version>
    12   <packaging>bundle</packaging>
    13   <name>Tyrus Based WebSockets</name>
    14   <url>http://maven.apache.org</url>
    15     <build>
    16         <plugins>
    17             <plugin>
    18                 <groupId>org.apache.maven.plugins</groupId>
    19                 <artifactId>maven-compiler-plugin</artifactId>
    20                 <version>2.3.2</version>
    21                 <configuration>
    22                     <source>1.7</source>
    23                     <target>1.7</target>
    24                 </configuration>
    25             </plugin>
    26             <plugin>
    27                 <groupId>org.apache.felix</groupId>
    28                 <artifactId>maven-bundle-plugin</artifactId>
    29             </plugin>
    30             <plugin>
    31                 <groupId>org.apache.maven.plugins</groupId>
    32                 <artifactId>maven-javadoc-plugin</artifactId>
    33                 <configuration>
    34                     <skip>false</skip>
    35                 </configuration>
    36             </plugin>
    37         </plugins>
    38     </build>
    39     <properties>
    40     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    41   </properties>
    42   <dependencies>
    43     <!-- compile only deps -->
    44     <dependency>
    45       <groupId>org.netbeans.api</groupId>
    46       <artifactId>org-openide-util-lookup</artifactId>
    47       <type>jar</type>
    48       <scope>provided</scope>
    49     </dependency>
    50 
    51     <!-- compile + runtime -->      
    52     <dependency>
    53       <groupId>${project.groupId}</groupId>
    54       <artifactId>net.java.html</artifactId>
    55       <version>${project.version}</version>
    56       <type>jar</type>
    57     </dependency>
    58     <dependency>
    59       <groupId>${project.groupId}</groupId>
    60       <artifactId>net.java.html.json</artifactId>
    61       <version>${project.version}</version>
    62       <type>jar</type>
    63     </dependency>
    64     <dependency>
    65         <groupId>de.twentyeleven.skysail</groupId>
    66         <artifactId>org.json-osgi</artifactId>
    67     </dependency>
    68     <dependency>
    69       <artifactId>javax.websocket-api</artifactId>
    70       <groupId>javax.websocket</groupId>
    71       <type>jar</type>
    72       <version>1.0</version>
    73     </dependency>
    74 
    75     <!-- tyrus runtime -->    
    76     <dependency>
    77         <groupId>org.glassfish.tyrus</groupId>
    78         <artifactId>tyrus-client</artifactId>
    79         <version>1.2.1</version>
    80         <scope>runtime</scope>
    81     </dependency>
    82     <dependency>
    83         <groupId>org.glassfish.tyrus</groupId>
    84         <artifactId>tyrus-container-grizzly</artifactId>
    85         <version>1.2.1</version>
    86         <scope>runtime</scope>
    87     </dependency>
    88     
    89     
    90     
    91     <!-- test only deps -->
    92     <dependency>
    93       <groupId>${project.groupId}</groupId>
    94       <artifactId>net.java.html.boot</artifactId>
    95       <version>${project.version}</version>
    96       <scope>test</scope>
    97       <type>jar</type>
    98     </dependency>
    99     <dependency>
   100       <groupId>${project.groupId}</groupId>
   101       <artifactId>net.java.html.json.tck</artifactId>
   102       <version>${project.version}</version>
   103       <scope>test</scope>
   104       <type>jar</type>
   105     </dependency>
   106     <dependency>
   107       <groupId>${project.groupId}</groupId>
   108       <artifactId>ko-fx</artifactId>
   109       <version>${project.version}</version>
   110       <scope>test</scope>
   111       <type>jar</type>
   112     </dependency>
   113     <dependency>
   114       <groupId>org.glassfish.grizzly</groupId>
   115       <artifactId>grizzly-http-server-core</artifactId>
   116       <version>2.3.3</version>
   117       <scope>test</scope>
   118       <type>jar</type>
   119     </dependency>
   120     <dependency>
   121       <groupId>org.glassfish.grizzly</groupId>
   122       <artifactId>grizzly-websockets-server</artifactId>
   123       <version>2.3.3</version>
   124       <scope>test</scope>
   125       <type>jar</type>
   126     </dependency>
   127     <dependency>
   128         <groupId>${project.groupId}</groupId>
   129         <artifactId>boot-fx</artifactId>
   130         <version>${project.version}</version>
   131         <scope>test</scope>
   132     </dependency>
   133     <dependency>
   134       <groupId>org.glassfish.grizzly</groupId>
   135       <artifactId>grizzly-http-server</artifactId>
   136       <version>2.3.3</version>
   137       <scope>test</scope>
   138     </dependency>
   139     <dependency>
   140         <groupId>org.glassfish.grizzly</groupId>
   141         <artifactId>grizzly-http-servlet</artifactId>
   142         <version>2.3.3</version>
   143         <scope>test</scope>
   144     </dependency>    
   145     <dependency>
   146         <groupId>javax.servlet</groupId>
   147         <artifactId>javax.servlet-api</artifactId>
   148         <scope>test</scope>
   149         <version>3.1.0</version>
   150     </dependency>
   151   </dependencies>
   152     <description>An implementation module that provides support for WebSocket protocol on JDK7. 
   153 No need to use it when running on JDK8 with FX WebView supporting WebSocket directly.</description>
   154 </project>