histogram/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sun, 17 Nov 2013 09:46:45 +0100
branchchess
changeset 87 c2293ae622df
permissions -rw-r--r--
Adding histogram demo
jtulach@87
     1
<?xml version="1.0" encoding="UTF-8"?>
jtulach@87
     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@87
     3
  <modelVersion>4.0.0</modelVersion>
jtulach@87
     4
jtulach@87
     5
  <groupId>dew.demo</groupId>
jtulach@87
     6
  <artifactId>histogram</artifactId>
jtulach@87
     7
  <version>1.0-SNAPSHOT</version>
jtulach@87
     8
  <packaging>jar</packaging>
jtulach@87
     9
jtulach@87
    10
  <name>histogram</name>
jtulach@87
    11
jtulach@87
    12
  <properties>
jtulach@87
    13
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
jtulach@87
    14
    <net.java.html.version>0.6</net.java.html.version>
jtulach@87
    15
    <bck2brwsr.version>0.8</bck2brwsr.version>
jtulach@87
    16
    <brwsr.startpage>pages/index.html</brwsr.startpage>
jtulach@87
    17
    <project.mainclass>dew.demo.histogram.Main</project.mainclass>
jtulach@87
    18
    <netbeans.compile.on.save>none</netbeans.compile.on.save>
jtulach@87
    19
  </properties>
jtulach@87
    20
  <build>
jtulach@87
    21
      <plugins>
jtulach@87
    22
          <plugin>
jtulach@87
    23
              <groupId>org.apache.maven.plugins</groupId>
jtulach@87
    24
              <artifactId>maven-compiler-plugin</artifactId>
jtulach@87
    25
              <version>2.3.2</version>
jtulach@87
    26
              <configuration>
jtulach@87
    27
                  <source>1.7</source>
jtulach@87
    28
                  <target>1.7</target>
jtulach@87
    29
              </configuration>
jtulach@87
    30
          </plugin>
jtulach@87
    31
          <plugin>
jtulach@87
    32
              <groupId>org.apache.maven.plugins</groupId>
jtulach@87
    33
              <artifactId>maven-jar-plugin</artifactId>
jtulach@87
    34
              <version>2.4</version>
jtulach@87
    35
              <configuration>
jtulach@87
    36
                  <archive>
jtulach@87
    37
                      <manifest>
jtulach@87
    38
                          <mainClass>${project.mainclass}</mainClass>
jtulach@87
    39
                          <addClasspath>true</addClasspath>
jtulach@87
    40
                          <classpathPrefix>lib/</classpathPrefix>
jtulach@87
    41
                      </manifest>
jtulach@87
    42
                  </archive>
jtulach@87
    43
              </configuration>
jtulach@87
    44
          </plugin>
jtulach@87
    45
          <plugin>
jtulach@87
    46
              <groupId>org.codehaus.mojo</groupId>
jtulach@87
    47
              <artifactId>exec-maven-plugin</artifactId>
jtulach@87
    48
              <version>1.2.1</version>
jtulach@87
    49
              <configuration>
jtulach@87
    50
                  <systemProperties>
jtulach@87
    51
                      <systemProperty>
jtulach@87
    52
                          <key>browser.rootdir</key>
jtulach@87
    53
                          <value>${basedir}/src/main/webapp/</value>
jtulach@87
    54
                      </systemProperty>
jtulach@87
    55
                  </systemProperties>
jtulach@87
    56
                  <mainClass>${project.mainclass}</mainClass>
jtulach@87
    57
              </configuration>
jtulach@87
    58
          </plugin>      
jtulach@87
    59
      </plugins>
jtulach@87
    60
  </build>
jtulach@87
    61
  <dependencies>
jtulach@87
    62
    <dependency>
jtulach@87
    63
        <groupId>org.apidesign.html</groupId>
jtulach@87
    64
        <artifactId>net.java.html.json</artifactId>
jtulach@87
    65
        <version>${net.java.html.version}</version>
jtulach@87
    66
    </dependency>
jtulach@87
    67
    <dependency>
jtulach@87
    68
        <groupId>org.apidesign.html</groupId>
jtulach@87
    69
        <artifactId>net.java.html.boot</artifactId>
jtulach@87
    70
        <version>${net.java.html.version}</version>
jtulach@87
    71
    </dependency>
jtulach@87
    72
    <dependency>
jtulach@87
    73
      <groupId>org.testng</groupId>
jtulach@87
    74
      <artifactId>testng</artifactId>
jtulach@87
    75
      <version>6.7</version>
jtulach@87
    76
      <scope>test</scope>
jtulach@87
    77
    </dependency>
jtulach@87
    78
  </dependencies>
jtulach@87
    79
  <profiles>
jtulach@87
    80
      <profile>
jtulach@87
    81
          <id>fxbrwsr</id>
jtulach@87
    82
          <activation>
jtulach@87
    83
              <activeByDefault>true</activeByDefault>
jtulach@87
    84
          </activation>
jtulach@87
    85
          <build>
jtulach@87
    86
            <plugins>
jtulach@87
    87
                <plugin>
jtulach@87
    88
                    <artifactId>maven-assembly-plugin</artifactId>
jtulach@87
    89
                    <version>2.4</version>
jtulach@87
    90
                    <executions>
jtulach@87
    91
                        <execution>
jtulach@87
    92
                            <id>distro-assembly</id>
jtulach@87
    93
                            <phase>package</phase>
jtulach@87
    94
                            <goals>
jtulach@87
    95
                                <goal>single</goal>
jtulach@87
    96
                            </goals>
jtulach@87
    97
                            <configuration>
jtulach@87
    98
                                <descriptors>
jtulach@87
    99
                                    <descriptor>src/main/assembly/html.java.net.xml</descriptor>
jtulach@87
   100
                                </descriptors>
jtulach@87
   101
                            </configuration>
jtulach@87
   102
                        </execution>
jtulach@87
   103
                    </executions>                
jtulach@87
   104
                </plugin>      
jtulach@87
   105
            </plugins>
jtulach@87
   106
          </build>
jtulach@87
   107
          <dependencies>
jtulach@87
   108
            <dependency>
jtulach@87
   109
                <groupId>org.apidesign.html</groupId>
jtulach@87
   110
                <artifactId>ko-fx</artifactId>
jtulach@87
   111
                <version>${net.java.html.version}</version>
jtulach@87
   112
                <scope>runtime</scope>
jtulach@87
   113
            </dependency>
jtulach@87
   114
            <dependency>
jtulach@87
   115
                <groupId>org.apidesign.html</groupId>
jtulach@87
   116
                <artifactId>boot-fx</artifactId>
jtulach@87
   117
                <version>${net.java.html.version}</version>
jtulach@87
   118
                <scope>runtime</scope>
jtulach@87
   119
            </dependency>
jtulach@87
   120
          </dependencies>
jtulach@87
   121
      </profile>
jtulach@87
   122
      <profile>
jtulach@87
   123
          <id>bck2brwsr</id>
jtulach@87
   124
          <activation>
jtulach@87
   125
              <property>
jtulach@87
   126
                  <name>brwsr</name>
jtulach@87
   127
                  <value>bck2brwsr</value>
jtulach@87
   128
              </property>
jtulach@87
   129
          </activation>
jtulach@87
   130
          <build>
jtulach@87
   131
              <plugins>
jtulach@87
   132
                  <plugin>
jtulach@87
   133
                      <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@87
   134
                      <artifactId>bck2brwsr-maven-plugin</artifactId>
jtulach@87
   135
                      <version>${bck2brwsr.version}</version>
jtulach@87
   136
                      <executions>
jtulach@87
   137
                          <execution>
jtulach@87
   138
                              <goals>
jtulach@87
   139
                                  <goal>brwsr</goal>
jtulach@87
   140
                              </goals>
jtulach@87
   141
                          </execution>
jtulach@87
   142
                      </executions>
jtulach@87
   143
                      <configuration>
jtulach@87
   144
                          <directory>${basedir}/src/main/webapp/</directory>
jtulach@87
   145
                          <startpage>${brwsr.startpage}</startpage>
jtulach@87
   146
                      </configuration>
jtulach@87
   147
                  </plugin>
jtulach@87
   148
                  <plugin>
jtulach@87
   149
                      <groupId>org.apache.maven.plugins</groupId>
jtulach@87
   150
                      <artifactId>maven-compiler-plugin</artifactId>
jtulach@87
   151
                      <configuration>
jtulach@87
   152
                          <compilerArguments>
jtulach@87
   153
                              <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
jtulach@87
   154
                          </compilerArguments>
jtulach@87
   155
                      </configuration>
jtulach@87
   156
                  </plugin>
jtulach@87
   157
                  <plugin>
jtulach@87
   158
                      <artifactId>maven-assembly-plugin</artifactId>
jtulach@87
   159
                      <version>2.4</version>
jtulach@87
   160
                      <executions>
jtulach@87
   161
                          <execution>
jtulach@87
   162
                              <id>distro-assembly</id>
jtulach@87
   163
                              <phase>package</phase>
jtulach@87
   164
                              <goals>
jtulach@87
   165
                                  <goal>single</goal>
jtulach@87
   166
                              </goals>
jtulach@87
   167
                              <configuration>
jtulach@87
   168
                                  <descriptors>
jtulach@87
   169
                                      <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
jtulach@87
   170
                                  </descriptors>
jtulach@87
   171
                              </configuration>
jtulach@87
   172
                          </execution>
jtulach@87
   173
                      </executions>                
jtulach@87
   174
                  </plugin>      
jtulach@87
   175
              </plugins>
jtulach@87
   176
          </build>
jtulach@87
   177
          <dependencies>
jtulach@87
   178
              <dependency>
jtulach@87
   179
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@87
   180
                  <artifactId>emul</artifactId>
jtulach@87
   181
                  <version>${bck2brwsr.version}</version>
jtulach@87
   182
                  <classifier>rt</classifier>
jtulach@87
   183
              </dependency>
jtulach@87
   184
              <dependency>
jtulach@87
   185
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@87
   186
                  <artifactId>ko-bck2brwsr</artifactId>
jtulach@87
   187
                  <version>${bck2brwsr.version}</version>
jtulach@87
   188
                  <scope>runtime</scope>
jtulach@87
   189
              </dependency>
jtulach@87
   190
              <dependency>
jtulach@87
   191
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@87
   192
                  <artifactId>vm4brwsr</artifactId>
jtulach@87
   193
                  <classifier>js</classifier>
jtulach@87
   194
                  <type>zip</type>
jtulach@87
   195
                  <version>${bck2brwsr.version}</version>
jtulach@87
   196
                  <scope>provided</scope>
jtulach@87
   197
              </dependency>
jtulach@87
   198
          </dependencies>
jtulach@87
   199
      </profile>
jtulach@87
   200
  </profiles>  
jtulach@87
   201
</project>