chat/js/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 22 Apr 2016 05:56:47 +0200
branchNewChat
changeset 238 a0f15cb8c730
permissions -rw-r--r--
Switching to newer version of the libraries
     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.apidesign.demo</groupId>
     6       <artifactId>chat-pom</artifactId>
     7       <version>1.0-SNAPSHOT</version>
     8   </parent>
     9 
    10   <groupId>org.apidesign.demo</groupId>
    11   <artifactId>chat-js</artifactId>
    12   <version>1.0-SNAPSHOT</version>
    13   <packaging>bundle</packaging>
    14 
    15   <name>chat JavaScript Libraries</name>
    16 
    17   <properties>
    18     <netbeans.compile.on.save>none</netbeans.compile.on.save>
    19   </properties>
    20   <build>
    21       <plugins>
    22             <plugin>
    23                 <groupId>org.apache.felix</groupId>
    24                 <artifactId>maven-bundle-plugin</artifactId>
    25                 <version>2.4.0</version>
    26                 <extensions>true</extensions>
    27                 <configuration>
    28                     <instructions>
    29                         <Export-Package>org.apidesign.demo.chat.js</Export-Package>
    30                         <Bundle-SymbolicName>org.apidesign.demo.chat.js</Bundle-SymbolicName>
    31                     </instructions>
    32                 </configuration>                
    33             </plugin>
    34           <plugin>
    35               <groupId>org.netbeans.html</groupId>
    36               <artifactId>html4j-maven-plugin</artifactId>
    37               <version>${net.java.html.version}</version>
    38               <executions>
    39                   <execution>
    40                       <id>js-classes</id>
    41                       <goals>
    42                           <goal>process-js-annotations</goal>
    43                       </goals>
    44                   </execution>
    45               </executions>
    46           </plugin>          
    47           <plugin>
    48               <groupId>org.apache.maven.plugins</groupId>
    49               <artifactId>maven-compiler-plugin</artifactId>
    50               <version>2.3.2</version>
    51               <configuration>
    52                   <source>1.7</source>
    53                   <target>1.7</target>
    54               </configuration>
    55           </plugin>
    56           <plugin>
    57               <groupId>org.apidesign.bck2brwsr</groupId>
    58               <artifactId>bck2brwsr-maven-plugin</artifactId>
    59               <version>0.16</version>
    60               <executions>
    61                   <execution>
    62                       <goals>
    63                           <goal>library</goal>
    64                       </goals>
    65                   </execution>
    66               </executions>
    67               <configuration>
    68                   <obfuscation>NONE</obfuscation>
    69               </configuration>
    70           </plugin>
    71       </plugins>
    72   </build>
    73   <dependencies>
    74     <dependency>
    75         <groupId>org.netbeans.html</groupId>
    76         <artifactId>net.java.html.boot</artifactId>
    77         <version>${net.java.html.version}</version>
    78     </dependency>
    79     <dependency>
    80       <groupId>org.testng</groupId>
    81       <artifactId>testng</artifactId>
    82       <scope>test</scope>
    83     </dependency>
    84     <dependency>
    85       <groupId>org.netbeans.html</groupId>
    86       <artifactId>net.java.html.boot.script</artifactId>
    87       <version>${net.java.html.version}</version>
    88       <scope>test</scope>
    89       <type>jar</type>
    90     </dependency>
    91   </dependencies>
    92 </project>