twitter/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Thu, 20 Jun 2013 13:28:40 +0200
branchclassloader
changeset 37 4a36b310c6da
parent 36 7ff8ac49cd8c
permissions -rw-r--r--
Removing references to bck2brwsr as in this form the project can't run in bck2brwsr mode
jtulach@0
     1
<?xml version="1.0" encoding="UTF-8"?>
jtulach@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">
jtulach@0
     3
  <modelVersion>4.0.0</modelVersion>
jtulach@0
     4
jtulach@37
     5
  <groupId>org.apidesign.html</groupId>
jtulach@0
     6
  <artifactId>demo-twitter</artifactId>
jtulach@0
     7
  <version>1.0-SNAPSHOT</version>
jtulach@0
     8
  <packaging>jar</packaging>
jtulach@0
     9
  <parent>
jtulach@0
    10
      <groupId>org.apidesign.html</groupId>
jtulach@0
    11
      <artifactId>demo</artifactId>
jtulach@0
    12
      <version>1.0-SNAPSHOT</version>
jtulach@0
    13
  </parent>
jtulach@0
    14
jtulach@37
    15
  <name>Fx Twttr</name>
jtulach@0
    16
  <description>
jtulach@0
    17
      Rewrite of knockout.js example to use model written in Java and
jtulach@37
    18
      displayed in a JavaFX WebView.
jtulach@0
    19
  </description>
jtulach@0
    20
jtulach@0
    21
  <properties>
jtulach@0
    22
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
jtulach@36
    23
    <net.java.html.version>0.4-SNAPSHOT</net.java.html.version>
jtulach@0
    24
    <brwsr.startpage>org/apidesign/html/demo/twitter/index.html</brwsr.startpage>
jtulach@0
    25
  </properties>
jtulach@0
    26
jtulach@0
    27
  <repositories>
jtulach@0
    28
      <repository>
jtulach@0
    29
          <id>java.net</id>
jtulach@0
    30
          <name>Java.net</name>
jtulach@3
    31
          <url>https://maven.java.net/content/repositories/releases/</url>
jtulach@0
    32
      </repository>
jtulach@0
    33
  </repositories>
jtulach@0
    34
  <pluginRepositories>
jtulach@0
    35
      <pluginRepository>
jtulach@0
    36
          <id>java.net</id>
jtulach@0
    37
          <name>Java.net</name>
jtulach@3
    38
          <url>https://maven.java.net/content/repositories/releases/</url>
jtulach@0
    39
      </pluginRepository>
jtulach@0
    40
  </pluginRepositories>
jtulach@0
    41
jtulach@0
    42
  <build>
jtulach@0
    43
      <plugins>
jtulach@0
    44
          <plugin>
jtulach@0
    45
              <groupId>org.apache.maven.plugins</groupId>
jtulach@0
    46
              <artifactId>maven-compiler-plugin</artifactId>
jtulach@0
    47
              <version>2.3.2</version>
jtulach@0
    48
              <configuration>
jtulach@0
    49
                  <source>1.7</source>
jtulach@0
    50
                  <target>1.7</target>
jtulach@0
    51
              </configuration>
jtulach@0
    52
          </plugin>
jtulach@0
    53
          <plugin>
jtulach@0
    54
              <groupId>org.apache.maven.plugins</groupId>
jtulach@0
    55
              <artifactId>maven-surefire-plugin</artifactId>
jtulach@0
    56
              <version>2.14.1</version>
jtulach@0
    57
              <configuration>
jtulach@0
    58
                  <systemPropertyVariables>
jtulach@0
    59
                      <vmtest.brwsrs>${brwsr}</vmtest.brwsrs>
jtulach@0
    60
                  </systemPropertyVariables>
jtulach@0
    61
              </configuration>
jtulach@0
    62
          </plugin>
jtulach@0
    63
          <plugin>
jtulach@0
    64
              <groupId>org.apache.maven.plugins</groupId>
jtulach@0
    65
              <artifactId>maven-jar-plugin</artifactId>
jtulach@0
    66
              <version>2.4</version>
jtulach@0
    67
              <configuration>
jtulach@0
    68
                  <archive>
jtulach@0
    69
                      <manifest>
jtulach@0
    70
                          <addClasspath>true</addClasspath>
jtulach@0
    71
                          <classpathPrefix>lib/</classpathPrefix>
jtulach@0
    72
                      </manifest>
jtulach@0
    73
                  </archive>
jtulach@0
    74
              </configuration>
jtulach@0
    75
          </plugin>
jtulach@0
    76
          <plugin>
jtulach@0
    77
              <groupId>org.apache.maven.plugins</groupId>
jtulach@0
    78
              <artifactId>maven-deploy-plugin</artifactId>
jtulach@0
    79
              <version>2.7</version>
jtulach@0
    80
              <configuration>
jtulach@0
    81
                  <skip>true</skip>
jtulach@0
    82
              </configuration>
jtulach@0
    83
          </plugin>      
jtulach@0
    84
      </plugins>
jtulach@0
    85
  </build>
jtulach@0
    86
jtulach@0
    87
  <dependencies>
jtulach@0
    88
    <dependency>
jtulach@0
    89
      <groupId>org.testng</groupId>
jtulach@0
    90
      <artifactId>testng</artifactId>
jtulach@0
    91
      <version>6.5.2</version>
jtulach@0
    92
      <scope>test</scope>
jtulach@0
    93
    </dependency>
jtulach@0
    94
    <dependency>
jtulach@0
    95
      <groupId>org.apidesign.html</groupId>
jtulach@0
    96
      <artifactId>net.java.html.json</artifactId>
jtulach@0
    97
      <version>${net.java.html.version}</version>
jtulach@0
    98
      <type>jar</type>
jtulach@0
    99
    </dependency>
jtulach@36
   100
    <dependency>
jtulach@36
   101
      <groupId>org.apidesign.html</groupId>
jtulach@36
   102
      <artifactId>boot-fx</artifactId>
jtulach@36
   103
      <version>0.4-SNAPSHOT</version>
jtulach@36
   104
      <scope>runtime</scope>
jtulach@36
   105
    </dependency>
jtulach@0
   106
  </dependencies>
jtulach@0
   107
  <profiles>
jtulach@0
   108
      <profile>
jtulach@0
   109
          <id>fxbrwsr</id>
jtulach@0
   110
          <activation>
jtulach@0
   111
              <activeByDefault>true</activeByDefault>
jtulach@0
   112
          </activation>
jtulach@0
   113
          <properties>
jtulach@0
   114
              <brwsr>fxbrwsr</brwsr>
jtulach@0
   115
          </properties>
jtulach@0
   116
          <build>
jtulach@0
   117
            <plugins>
jtulach@0
   118
                <plugin>
jtulach@0
   119
                    <groupId>org.apache.maven.plugins</groupId>
jtulach@0
   120
                    <artifactId>maven-jar-plugin</artifactId>
jtulach@0
   121
                    <version>2.4</version>
jtulach@0
   122
                    <configuration>
jtulach@0
   123
                        <archive>
jtulach@0
   124
                            <manifest>
jtulach@36
   125
                                <mainClass>org.apidesign.html.demo.twitter.TwitterMain</mainClass>
jtulach@0
   126
                                <addClasspath>true</addClasspath>
jtulach@0
   127
                                <classpathPrefix>lib/</classpathPrefix>
jtulach@0
   128
                            </manifest>
jtulach@0
   129
                            <manifestEntries>
jtulach@0
   130
                                <StartPage>${brwsr.startpage}</StartPage>
jtulach@0
   131
                            </manifestEntries>
jtulach@0
   132
                        </archive>
jtulach@0
   133
                    </configuration>
jtulach@0
   134
                </plugin>
jtulach@0
   135
                <plugin>
jtulach@0
   136
                    <artifactId>maven-assembly-plugin</artifactId>
jtulach@0
   137
                    <version>2.4</version>
jtulach@0
   138
                    <executions>
jtulach@0
   139
                        <execution>
jtulach@0
   140
                            <id>distro-assembly</id>
jtulach@0
   141
                            <phase>package</phase>
jtulach@0
   142
                            <goals>
jtulach@0
   143
                                <goal>single</goal>
jtulach@0
   144
                            </goals>
jtulach@0
   145
                            <configuration>
jtulach@0
   146
                                <descriptors>
jtulach@0
   147
                                    <descriptor>src/main/assembly/fxbrwsr.xml</descriptor>
jtulach@0
   148
                                </descriptors>
jtulach@0
   149
                            </configuration>
jtulach@0
   150
                        </execution>
jtulach@0
   151
                    </executions>                
jtulach@0
   152
                </plugin>      
jtulach@0
   153
            </plugins>
jtulach@0
   154
          </build>
jtulach@0
   155
          <dependencies>
jtulach@0
   156
              <dependency>
jtulach@0
   157
                  <groupId>org.apidesign.html</groupId>
jtulach@0
   158
                  <artifactId>ko-fx</artifactId>
jtulach@0
   159
                  <version>${net.java.html.version}</version>
jtulach@0
   160
              </dependency>
jtulach@0
   161
          </dependencies>
jtulach@0
   162
      </profile>
jtulach@0
   163
  </profiles>
jtulach@0
   164
</project>