words/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Mon, 13 Jan 2014 10:28:37 +0100
branchNbHtml4J
changeset 60 f0ab62f65322
parent 57 9984b9f7d8c6
permissions -rw-r--r--
Switching to stable version 0.7 of org.netbeans.html's APIs
     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     <artifactId>demo</artifactId>
     6     <groupId>org.apidesign.html</groupId>
     7     <version>1.0-SNAPSHOT</version>
     8   </parent>
     9 
    10   <groupId>org.apidesign.demo</groupId>
    11   <artifactId>words</artifactId>
    12   <version>1.0-SNAPSHOT</version>
    13   <packaging>jar</packaging>
    14 
    15   <name>Words</name>
    16 
    17   <pluginRepositories>
    18       <pluginRepository>
    19           <id>ios</id>
    20           <name>NetBeans iOS Maven Plugin</name>
    21           <url>http://beetle.cz.oracle.com/~jtulach/maven/</url>
    22           <snapshots>
    23           </snapshots>
    24       </pluginRepository>
    25   </pluginRepositories>
    26 
    27   <properties>
    28     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    29     <project.mainclass>org.apidesign.demo.words.Main</project.mainclass>
    30     <netbeans.compile.on.save>none</netbeans.compile.on.save>
    31   </properties>
    32   <build>
    33       <plugins>
    34           <plugin>
    35               <groupId>org.apache.maven.plugins</groupId>
    36               <artifactId>maven-compiler-plugin</artifactId>
    37               <version>2.3.2</version>
    38               <configuration>
    39                   <source>1.7</source>
    40                   <target>1.7</target>
    41               </configuration>
    42           </plugin>
    43           <plugin>
    44               <groupId>org.apache.maven.plugins</groupId>
    45               <artifactId>maven-jar-plugin</artifactId>
    46               <version>2.4</version>
    47               <configuration>
    48                   <archive>
    49                       <manifest>
    50                           <mainClass>${project.mainclass}</mainClass>
    51                           <addClasspath>true</addClasspath>
    52                           <classpathPrefix>lib/</classpathPrefix>
    53                       </manifest>
    54                   </archive>
    55               </configuration>
    56           </plugin>
    57           <plugin>
    58               <groupId>org.codehaus.mojo</groupId>
    59               <artifactId>exec-maven-plugin</artifactId>
    60               <version>1.2.1</version>
    61               <configuration>
    62                   <systemProperties>
    63                       <systemProperty>
    64                           <key>browser.rootdir</key>
    65                           <value>${basedir}/src/main/webapp/</value>
    66                       </systemProperty>
    67                   </systemProperties>
    68                   <mainClass>${project.mainclass}</mainClass>
    69               </configuration>
    70           </plugin>      
    71           <plugin>
    72               <artifactId>maven-assembly-plugin</artifactId>
    73               <version>2.4</version>
    74               <executions>
    75                   <execution>
    76                       <id>distro-assembly</id>
    77                       <phase>package</phase>
    78                       <goals>
    79                           <goal>single</goal>
    80                       </goals>
    81                       <configuration>
    82                           <descriptors>
    83                               <descriptor>src/main/assembly/html.java.net.xml</descriptor>
    84                           </descriptors>
    85                       </configuration>
    86                   </execution>
    87               </executions>                
    88           </plugin>      
    89       </plugins>
    90   </build>
    91   <dependencies>
    92     <dependency>
    93         <groupId>org.netbeans.html</groupId>
    94         <artifactId>net.java.html.json</artifactId>
    95         <version>${net.java.html.version}</version>
    96     </dependency>
    97     <dependency>
    98         <groupId>org.netbeans.html</groupId>
    99         <artifactId>net.java.html.boot</artifactId>
   100         <version>${net.java.html.version}</version>
   101     </dependency>
   102     <dependency>
   103         <groupId>org.netbeans.html</groupId>
   104         <artifactId>ko4j</artifactId>
   105         <version>${net.java.html.version}</version>
   106         <scope>runtime</scope>
   107     </dependency>
   108     <dependency>
   109         <groupId>org.netbeans.html</groupId>
   110         <artifactId>net.java.html.boot.fx</artifactId>
   111         <version>${net.java.html.version}</version>
   112         <scope>runtime</scope>
   113     </dependency>
   114     <dependency>
   115       <groupId>org.testng</groupId>
   116       <artifactId>testng</artifactId>
   117       <version>6.7</version>
   118       <scope>test</scope>
   119     </dependency>
   120   </dependencies>
   121   <profiles>
   122       <profile>
   123           <id>iOS</id>
   124           <activation>
   125               <os>
   126                   <family>mac</family>
   127                   <name>Mac OS X</name>
   128               </os>
   129           </activation>
   130           <build>
   131               <plugins>
   132                   <plugin>
   133                       <groupId>org.netbeans.ios</groupId>
   134                       <artifactId>ios-maven-plugin</artifactId>
   135                       <version>0.2</version>
   136                       <configuration>
   137                           <jarfile>${project.build.directory}/${project.build.finalName}.jar</jarfile>
   138                           <title>${project.name}</title>
   139                           <mainclass>${project.mainclass}</mainclass>
   140                           <resourcesDir>src/main/webapp/</resourcesDir>
   141                       </configuration>
   142                   </plugin>
   143               </plugins>
   144           </build>
   145       </profile>
   146   </profiles>  
   147 </project>