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