twitter/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Tue, 30 Apr 2013 08:51:56 +0200
changeset 1 2278c9bafa53
parent 0 6fe609b8f0fb
child 3 c11de7bbb8a9
permissions -rw-r--r--
Need snapshots so far
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@0
     5
  <groupId>org.apidesign.bck2brwsr</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@0
    15
  <name>Fx/Bck2Brwsr's Twttr</name>
jtulach@0
    16
  <description>
jtulach@0
    17
      Rewrite of knockout.js example to use model written in Java and
jtulach@0
    18
      execute using FxBrwsr or Bck2Brwsr.
jtulach@0
    19
  </description>
jtulach@0
    20
jtulach@0
    21
  <properties>
jtulach@0
    22
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
jtulach@0
    23
    <net.java.html.version>0.1-SNAPSHOT</net.java.html.version>
jtulach@0
    24
    <bck2brwsr.version>0.7-SNAPSHOT</bck2brwsr.version>
jtulach@0
    25
    <bck2brwsr.obfuscationlevel>MINIMAL</bck2brwsr.obfuscationlevel>
jtulach@0
    26
    <brwsr.startpage>org/apidesign/html/demo/twitter/index.html</brwsr.startpage>
jtulach@0
    27
  </properties>
jtulach@0
    28
jtulach@0
    29
  <repositories>
jtulach@0
    30
      <repository>
jtulach@0
    31
          <id>java.net</id>
jtulach@0
    32
          <name>Java.net</name>
jtulach@1
    33
          <url>https://maven.java.net/content/repositories/snapshots/</url>
jtulach@0
    34
          <snapshots>
jtulach@1
    35
              <enabled>true</enabled>
jtulach@0
    36
          </snapshots>
jtulach@0
    37
      </repository>
jtulach@0
    38
  </repositories>
jtulach@0
    39
  <pluginRepositories>
jtulach@0
    40
      <pluginRepository>
jtulach@0
    41
          <id>java.net</id>
jtulach@0
    42
          <name>Java.net</name>
jtulach@1
    43
          <url>https://maven.java.net/content/repositories/snapshots/</url>
jtulach@0
    44
          <snapshots>
jtulach@1
    45
              <enabled>true</enabled>
jtulach@0
    46
          </snapshots>
jtulach@0
    47
      </pluginRepository>
jtulach@0
    48
  </pluginRepositories>
jtulach@0
    49
jtulach@0
    50
  <build>
jtulach@0
    51
      <plugins>
jtulach@0
    52
          <plugin>
jtulach@0
    53
              <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@0
    54
              <artifactId>bck2brwsr-maven-plugin</artifactId>
jtulach@0
    55
              <version>${bck2brwsr.version}</version>
jtulach@0
    56
              <executions>
jtulach@0
    57
                  <execution>
jtulach@0
    58
                      <goals>
jtulach@0
    59
                          <goal>brwsr</goal>
jtulach@0
    60
                      </goals>
jtulach@0
    61
                  </execution>
jtulach@0
    62
              </executions>
jtulach@0
    63
              <configuration>
jtulach@0
    64
                  <startpage>${brwsr.startpage}</startpage>
jtulach@0
    65
                  <launcher>${brwsr}</launcher>
jtulach@0
    66
              </configuration>
jtulach@0
    67
          </plugin>
jtulach@0
    68
          <plugin>
jtulach@0
    69
              <groupId>org.apache.maven.plugins</groupId>
jtulach@0
    70
              <artifactId>maven-compiler-plugin</artifactId>
jtulach@0
    71
              <version>2.3.2</version>
jtulach@0
    72
              <configuration>
jtulach@0
    73
                  <source>1.7</source>
jtulach@0
    74
                  <target>1.7</target>
jtulach@0
    75
              </configuration>
jtulach@0
    76
          </plugin>
jtulach@0
    77
          <plugin>
jtulach@0
    78
              <groupId>org.apache.maven.plugins</groupId>
jtulach@0
    79
              <artifactId>maven-surefire-plugin</artifactId>
jtulach@0
    80
              <version>2.14.1</version>
jtulach@0
    81
              <configuration>
jtulach@0
    82
                  <systemPropertyVariables>
jtulach@0
    83
                      <vmtest.brwsrs>${brwsr}</vmtest.brwsrs>
jtulach@0
    84
                  </systemPropertyVariables>
jtulach@0
    85
              </configuration>
jtulach@0
    86
          </plugin>
jtulach@0
    87
          <plugin>
jtulach@0
    88
              <groupId>org.apache.maven.plugins</groupId>
jtulach@0
    89
              <artifactId>maven-jar-plugin</artifactId>
jtulach@0
    90
              <version>2.4</version>
jtulach@0
    91
              <configuration>
jtulach@0
    92
                  <archive>
jtulach@0
    93
                      <manifest>
jtulach@0
    94
                          <addClasspath>true</addClasspath>
jtulach@0
    95
                          <classpathPrefix>lib/</classpathPrefix>
jtulach@0
    96
                      </manifest>
jtulach@0
    97
                  </archive>
jtulach@0
    98
              </configuration>
jtulach@0
    99
          </plugin>
jtulach@0
   100
          <plugin>
jtulach@0
   101
              <groupId>org.apache.maven.plugins</groupId>
jtulach@0
   102
              <artifactId>maven-deploy-plugin</artifactId>
jtulach@0
   103
              <version>2.7</version>
jtulach@0
   104
              <configuration>
jtulach@0
   105
                  <skip>true</skip>
jtulach@0
   106
              </configuration>
jtulach@0
   107
          </plugin>      
jtulach@0
   108
      </plugins>
jtulach@0
   109
  </build>
jtulach@0
   110
jtulach@0
   111
  <dependencies>
jtulach@0
   112
    <dependency>
jtulach@0
   113
      <groupId>org.testng</groupId>
jtulach@0
   114
      <artifactId>testng</artifactId>
jtulach@0
   115
      <version>6.5.2</version>
jtulach@0
   116
      <scope>test</scope>
jtulach@0
   117
    </dependency>
jtulach@0
   118
    <dependency>
jtulach@0
   119
      <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@0
   120
      <artifactId>vmtest</artifactId>
jtulach@0
   121
      <version>${bck2brwsr.version}</version>
jtulach@0
   122
      <scope>test</scope>
jtulach@0
   123
    </dependency>
jtulach@0
   124
    <dependency>
jtulach@0
   125
      <groupId>org.apidesign.html</groupId>
jtulach@0
   126
      <artifactId>net.java.html.json</artifactId>
jtulach@0
   127
      <version>${net.java.html.version}</version>
jtulach@0
   128
      <type>jar</type>
jtulach@0
   129
    </dependency>
jtulach@0
   130
  </dependencies>
jtulach@0
   131
  <profiles>
jtulach@0
   132
      <profile>
jtulach@0
   133
          <id>fxbrwsr</id>
jtulach@0
   134
          <activation>
jtulach@0
   135
              <activeByDefault>true</activeByDefault>
jtulach@0
   136
          </activation>
jtulach@0
   137
          <properties>
jtulach@0
   138
              <brwsr>fxbrwsr</brwsr>
jtulach@0
   139
          </properties>
jtulach@0
   140
          <build>
jtulach@0
   141
            <plugins>
jtulach@0
   142
                <plugin>
jtulach@0
   143
                    <groupId>org.apache.maven.plugins</groupId>
jtulach@0
   144
                    <artifactId>maven-jar-plugin</artifactId>
jtulach@0
   145
                    <version>2.4</version>
jtulach@0
   146
                    <configuration>
jtulach@0
   147
                        <archive>
jtulach@0
   148
                            <manifest>
jtulach@0
   149
                                <mainClass>org.apidesign.bck2brwsr.launcher.FXBrwsrLauncher</mainClass>
jtulach@0
   150
                                <addClasspath>true</addClasspath>
jtulach@0
   151
                                <classpathPrefix>lib/</classpathPrefix>
jtulach@0
   152
                            </manifest>
jtulach@0
   153
                            <manifestEntries>
jtulach@0
   154
                                <StartPage>${brwsr.startpage}</StartPage>
jtulach@0
   155
                            </manifestEntries>
jtulach@0
   156
                        </archive>
jtulach@0
   157
                    </configuration>
jtulach@0
   158
                </plugin>
jtulach@0
   159
                <plugin>
jtulach@0
   160
                    <artifactId>maven-assembly-plugin</artifactId>
jtulach@0
   161
                    <version>2.4</version>
jtulach@0
   162
                    <executions>
jtulach@0
   163
                        <execution>
jtulach@0
   164
                            <id>distro-assembly</id>
jtulach@0
   165
                            <phase>package</phase>
jtulach@0
   166
                            <goals>
jtulach@0
   167
                                <goal>single</goal>
jtulach@0
   168
                            </goals>
jtulach@0
   169
                            <configuration>
jtulach@0
   170
                                <descriptors>
jtulach@0
   171
                                    <descriptor>src/main/assembly/fxbrwsr.xml</descriptor>
jtulach@0
   172
                                </descriptors>
jtulach@0
   173
                            </configuration>
jtulach@0
   174
                        </execution>
jtulach@0
   175
                    </executions>                
jtulach@0
   176
                </plugin>      
jtulach@0
   177
            </plugins>
jtulach@0
   178
          </build>
jtulach@0
   179
          <dependencies>
jtulach@0
   180
              <dependency>
jtulach@0
   181
                  <groupId>org.apidesign.html</groupId>
jtulach@0
   182
                  <artifactId>ko-fx</artifactId>
jtulach@0
   183
                  <version>${net.java.html.version}</version>
jtulach@0
   184
              </dependency>
jtulach@0
   185
              <dependency>
jtulach@0
   186
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@0
   187
                  <artifactId>launcher.fx</artifactId>
jtulach@0
   188
                  <version>${bck2brwsr.version}</version>
jtulach@0
   189
                  <scope>runtime</scope>
jtulach@0
   190
              </dependency>
jtulach@0
   191
          </dependencies>
jtulach@0
   192
      </profile>
jtulach@0
   193
      <profile>
jtulach@0
   194
          <id>bck2brwsr</id>
jtulach@0
   195
          <activation>
jtulach@0
   196
              <property>
jtulach@0
   197
                  <name>brwsr</name>
jtulach@0
   198
                  <value>bck2brwsr</value>
jtulach@0
   199
              </property>
jtulach@0
   200
          </activation>
jtulach@0
   201
          <build>
jtulach@0
   202
              <plugins>
jtulach@0
   203
                  <plugin>
jtulach@0
   204
                      <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@0
   205
                      <artifactId>bck2brwsr-maven-plugin</artifactId>
jtulach@0
   206
                      <executions>
jtulach@0
   207
                          <execution>
jtulach@0
   208
                              <goals>
jtulach@0
   209
                                  <goal>j2js</goal>
jtulach@0
   210
                              </goals>
jtulach@0
   211
                          </execution>
jtulach@0
   212
                      </executions>
jtulach@0
   213
                      <configuration>
jtulach@0
   214
                          <javascript>${project.build.directory}/bck2brwsr.js</javascript>
jtulach@0
   215
                          <obfuscation>${bck2brwsr.obfuscationlevel}</obfuscation>
jtulach@0
   216
                      </configuration>
jtulach@0
   217
                  </plugin>
jtulach@0
   218
                  <plugin>
jtulach@0
   219
                      <groupId>org.apache.maven.plugins</groupId>
jtulach@0
   220
                      <artifactId>maven-compiler-plugin</artifactId>
jtulach@0
   221
                      <configuration>
jtulach@0
   222
                          <compilerArguments>
jtulach@0
   223
                              <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
jtulach@0
   224
                          </compilerArguments>
jtulach@0
   225
                      </configuration>
jtulach@0
   226
                  </plugin>
jtulach@0
   227
                  <plugin>
jtulach@0
   228
                      <artifactId>maven-assembly-plugin</artifactId>
jtulach@0
   229
                      <version>2.4</version>
jtulach@0
   230
                      <executions>
jtulach@0
   231
                          <execution>
jtulach@0
   232
                              <id>distro-assembly</id>
jtulach@0
   233
                              <phase>package</phase>
jtulach@0
   234
                              <goals>
jtulach@0
   235
                                  <goal>single</goal>
jtulach@0
   236
                              </goals>
jtulach@0
   237
                              <configuration>
jtulach@0
   238
                                  <descriptors>
jtulach@0
   239
                                      <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
jtulach@0
   240
                                  </descriptors>
jtulach@0
   241
                              </configuration>
jtulach@0
   242
                          </execution>
jtulach@0
   243
                      </executions>                
jtulach@0
   244
                  </plugin>      
jtulach@0
   245
              </plugins>
jtulach@0
   246
          </build>
jtulach@0
   247
          <dependencies>
jtulach@0
   248
              <dependency>
jtulach@0
   249
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@0
   250
                  <artifactId>emul</artifactId>
jtulach@0
   251
                  <version>${bck2brwsr.version}</version>
jtulach@0
   252
                  <classifier>rt</classifier>
jtulach@0
   253
              </dependency>
jtulach@0
   254
              <dependency>
jtulach@0
   255
                  <groupId>org.apidesign.html</groupId>
jtulach@0
   256
                  <artifactId>ko-bck2brwsr</artifactId>
jtulach@0
   257
                  <version>${net.java.html.version}</version>
jtulach@0
   258
                  <scope>runtime</scope>
jtulach@0
   259
              </dependency>
jtulach@0
   260
              <dependency>
jtulach@0
   261
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@0
   262
                  <artifactId>launcher.http</artifactId>
jtulach@0
   263
                  <version>${bck2brwsr.version}</version>
jtulach@0
   264
                  <scope>test</scope>
jtulach@0
   265
              </dependency>
jtulach@0
   266
          </dependencies>
jtulach@0
   267
      </profile>
jtulach@0
   268
  </profiles>
jtulach@0
   269
</project>