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