pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 25 Apr 2014 15:06:09 +0200
branchclosure
changeset 1488 c2a6be99ffe2
parent 1103 8ee3112f5647
child 1490 c572d850079c
permissions -rw-r--r--
Backporting selection of jfxrt.jar based on used JDK
jaroslav@25
     1
<?xml version="1.0" encoding="UTF-8"?>
jaroslav@25
     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">
jaroslav@23
     3
  <modelVersion>4.0.0</modelVersion>
jaroslav@23
     4
  <groupId>org.apidesign</groupId>
jaroslav@23
     5
  <artifactId>bck2brwsr</artifactId>
jaroslav@1103
     6
  <version>0.8-SNAPSHOT</version>
jaroslav@23
     7
  <packaging>pom</packaging>
jaroslav@23
     8
  <name>Back 2 Browser</name>
jaroslav@725
     9
  <parent>
jaroslav@725
    10
    <groupId>net.java</groupId>
jaroslav@725
    11
    <artifactId>jvnet-parent</artifactId>
jaroslav@725
    12
    <version>3</version>
jaroslav@725
    13
  </parent>  
jaroslav@903
    14
  <properties>
jaroslav@903
    15
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
jaroslav@903
    16
      <netbeans.version>RELEASE73</netbeans.version>
jaroslav@903
    17
      <license>COPYING</license>
jaroslav@903
    18
  </properties>
jaroslav@23
    19
  <modules>
jaroslav@544
    20
    <module>dew</module>
jaroslav@140
    21
    <module>javaquery</module>
Martin@268
    22
    <module>benchmarks</module>
jaroslav@716
    23
    <module>ide</module>
jaroslav@1039
    24
    <module>launcher</module>
jaroslav@772
    25
    <module>rt</module>
jaroslav@23
    26
  </modules>
jaroslav@23
    27
  <licenses>
jaroslav@23
    28
      <license>
jaroslav@23
    29
          <name>GPL-2.0</name>
jaroslav@23
    30
          <url>http://opensource.org/licenses/GPL-2.0</url>
jaroslav@23
    31
          <distribution>repo</distribution>
jaroslav@23
    32
      </license>
jaroslav@23
    33
  </licenses>
jaroslav@23
    34
  <organization>
jaroslav@23
    35
      <name>API Design</name>
jaroslav@23
    36
      <url>http://apidesign.org</url>
jaroslav@23
    37
  </organization>
jaroslav@725
    38
  <scm>
jaroslav@725
    39
      <connection>scm:hg:http://source.apidesign.org/hg/bck2brwsr</connection>
jaroslav@725
    40
      <developerConnection>scm:hg:https://source.apidesign.org/hg/bck2brwsr</developerConnection>
jaroslav@725
    41
      <url>http://source.apidesign.org/hg/bck2brwsr</url>
jaroslav@1103
    42
    <tag>HEAD</tag>
jaroslav@725
    43
  </scm>
jaroslav@23
    44
  <repositories>
jaroslav@23
    45
      <repository>
jaroslav@23
    46
          <id>netbeans</id>
jaroslav@23
    47
          <name>NetBeans</name>
jaroslav@23
    48
          <url>http://bits.netbeans.org/maven2/</url>
jaroslav@23
    49
      </repository>
jaroslav@23
    50
  </repositories>
jaroslav@23
    51
  <pluginRepositories>
jaroslav@23
    52
      <pluginRepository>
jaroslav@23
    53
          <id>mc-release</id>
jaroslav@23
    54
          <name>Local Maven repository of releases</name>
jaroslav@23
    55
          <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
jaroslav@23
    56
          <snapshots>
jaroslav@23
    57
              <enabled>false</enabled>
jaroslav@23
    58
          </snapshots>
jaroslav@23
    59
          <releases>
jaroslav@23
    60
              <enabled>true</enabled>
jaroslav@23
    61
          </releases>
jaroslav@23
    62
      </pluginRepository>
jaroslav@23
    63
  </pluginRepositories>
jaroslav@106
    64
  <build>
jaroslav@106
    65
      <plugins>
jaroslav@106
    66
         <plugin>
jaroslav@106
    67
              <inherited>false</inherited>
jaroslav@106
    68
              <groupId>com.mycila.maven-license-plugin</groupId>
jaroslav@106
    69
              <artifactId>maven-license-plugin</artifactId>
jaroslav@106
    70
              <version>1.9.0</version>
jaroslav@106
    71
              <executions>
jaroslav@106
    72
                  <execution>
jaroslav@106
    73
                      <id>blah</id>
jaroslav@106
    74
                      <goals>
jaroslav@106
    75
                          <goal>check</goal>
jaroslav@106
    76
                      </goals>
jaroslav@106
    77
                  </execution>
jaroslav@106
    78
              </executions>
jaroslav@106
    79
              <configuration>
jaroslav@106
    80
                  <aggregate>true</aggregate>
jaroslav@106
    81
                  <basedir>${basedir}</basedir>
jaroslav@106
    82
                  <header>COPYING</header>
jaroslav@106
    83
                  <strictCheck>true</strictCheck>
jaroslav@106
    84
                  <excludes>
jaroslav@106
    85
                       <exclude>*</exclude>
jaroslav@125
    86
                       <exclude>.*/**</exclude>
jaroslav@772
    87
                       <exclude>rt/emul/*/src/main/**</exclude>
jaroslav@810
    88
                       <exclude>rt/vm/src/main/java/org/apidesign/vm4brwsr/ByteCodeParser.java</exclude>
jaroslav@870
    89
                       <exclude>rt/archetype/src/main/resources/archetype-resources/**</exclude>
jaroslav@1036
    90
                       <exclude>rt/emul/compact/src/test/resources/**</exclude>
jaroslav@544
    91
                       <exclude>dew/src/main/resources/org/apidesign/bck2brwsr/dew/**</exclude>
jaroslav@492
    92
                       <exclude>javaquery/api/src/main/resources/org/apidesign/bck2brwsr/htmlpage/knockout*.js</exclude>
jaroslav@106
    93
                  </excludes>
jaroslav@106
    94
              </configuration>
jaroslav@106
    95
          </plugin>
jaroslav@895
    96
           <plugin>
jaroslav@895
    97
            <artifactId>maven-release-plugin</artifactId>
jaroslav@903
    98
            <version>2.4</version>
jaroslav@895
    99
            <configuration>
jaroslav@895
   100
              <mavenExecutorId>forked-path</mavenExecutorId>
jaroslav@895
   101
              <useReleaseProfile>false</useReleaseProfile>
jaroslav@895
   102
              <arguments>-Pjvnet-release -Pgpg</arguments>
jaroslav@903
   103
              <tag>release-${releaseVersion}</tag>
jaroslav@895
   104
            </configuration>
jaroslav@895
   105
          </plugin>
jaroslav@895
   106
      </plugins>
jaroslav@751
   107
      <pluginManagement>
jaroslav@751
   108
          <plugins>
jaroslav@751
   109
              <plugin>
jaroslav@751
   110
                <groupId>org.apache.maven.plugins</groupId>
jaroslav@751
   111
                <artifactId>maven-surefire-plugin</artifactId>
jaroslav@751
   112
                <version>2.13</version>
jaroslav@751
   113
              </plugin>
jaroslav@793
   114
              <plugin>
jaroslav@793
   115
                <groupId>org.apache.maven.plugins</groupId>
jaroslav@793
   116
                <artifactId>maven-javadoc-plugin</artifactId>
jaroslav@793
   117
                <version>2.9</version>
jaroslav@799
   118
                <configuration>
jaroslav@799
   119
                    <skip>true</skip>
jaroslav@799
   120
                </configuration>
jaroslav@793
   121
              </plugin>
jaroslav@826
   122
            <plugin>
jaroslav@826
   123
                <groupId>org.apache.maven.plugins</groupId>
jaroslav@826
   124
                <artifactId>maven-compiler-plugin</artifactId>
jaroslav@826
   125
                <version>2.3.2</version>
jaroslav@826
   126
                <configuration>
jaroslav@826
   127
                    <source>1.7</source>
jaroslav@826
   128
                    <target>1.7</target>
jaroslav@826
   129
                </configuration>
jaroslav@826
   130
            </plugin>
jaroslav@751
   131
          </plugins>
jaroslav@751
   132
      </pluginManagement>
jaroslav@106
   133
  </build>
jaroslav@23
   134
  <dependencyManagement>
jaroslav@23
   135
      <dependencies>
jaroslav@23
   136
        <dependency>
jaroslav@23
   137
          <groupId>org.testng</groupId>
jaroslav@23
   138
          <artifactId>testng</artifactId>
jaroslav@23
   139
          <version>6.7</version>
jaroslav@23
   140
          <scope>test</scope>
jaroslav@23
   141
          <exclusions>
jaroslav@23
   142
            <exclusion>
jaroslav@23
   143
              <artifactId>junit</artifactId>
jaroslav@23
   144
              <groupId>junit</groupId>
jaroslav@23
   145
            </exclusion>
jaroslav@23
   146
          </exclusions>
jaroslav@23
   147
        </dependency>
jaroslav@23
   148
        <dependency>
jaroslav@23
   149
          <groupId>org.netbeans.api</groupId>
jaroslav@23
   150
          <artifactId>org-netbeans-modules-classfile</artifactId>
jaroslav@903
   151
          <version>${netbeans.version}</version>
jaroslav@23
   152
          <type>jar</type>
jaroslav@23
   153
        </dependency>
jaroslav@26
   154
        <dependency>
jaroslav@26
   155
          <groupId>org.netbeans.api</groupId>
jaroslav@26
   156
          <artifactId>org-openide-util-lookup</artifactId>
jaroslav@903
   157
          <version>${netbeans.version}</version>
jaroslav@26
   158
          <scope>compile</scope>
jaroslav@26
   159
          <type>jar</type>
jaroslav@26
   160
        </dependency>
jaroslav@903
   161
        <dependency>
jaroslav@903
   162
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   163
            <artifactId>org-netbeans-api-annotations-common</artifactId>
jaroslav@903
   164
            <version>${netbeans.version}</version>
jaroslav@903
   165
        </dependency>
jaroslav@903
   166
        <dependency>
jaroslav@903
   167
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   168
            <artifactId>org-netbeans-modules-java-source</artifactId>
jaroslav@903
   169
            <version>${netbeans.version}</version>
jaroslav@903
   170
        </dependency>
jaroslav@903
   171
        <dependency>
jaroslav@903
   172
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   173
            <artifactId>org-netbeans-libs-javacapi</artifactId>
jaroslav@903
   174
            <version>${netbeans.version}</version>
jaroslav@903
   175
        </dependency>
jaroslav@903
   176
        <dependency>
jaroslav@903
   177
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   178
            <artifactId>org-netbeans-spi-java-hints</artifactId>
jaroslav@903
   179
            <version>${netbeans.version}</version>
jaroslav@903
   180
        </dependency>
jaroslav@903
   181
        <dependency>
jaroslav@903
   182
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   183
            <artifactId>org-netbeans-modules-parsing-api</artifactId>
jaroslav@903
   184
            <version>${netbeans.version}</version>
jaroslav@903
   185
        </dependency>
jaroslav@903
   186
        <dependency>
jaroslav@903
   187
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   188
            <artifactId>org-netbeans-spi-editor-hints</artifactId>
jaroslav@903
   189
            <version>${netbeans.version}</version>
jaroslav@903
   190
        </dependency>
jaroslav@903
   191
        <dependency>
jaroslav@903
   192
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   193
            <artifactId>org-openide-util</artifactId>
jaroslav@903
   194
            <version>${netbeans.version}</version>
jaroslav@903
   195
        </dependency>
jaroslav@903
   196
        <dependency>
jaroslav@903
   197
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   198
            <artifactId>org-netbeans-modules-java-lexer</artifactId>
jaroslav@903
   199
            <version>${netbeans.version}</version>
jaroslav@903
   200
        </dependency>
jaroslav@903
   201
        <dependency>
jaroslav@903
   202
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   203
            <artifactId>org-netbeans-modules-lexer</artifactId>
jaroslav@903
   204
            <version>${netbeans.version}</version>
jaroslav@903
   205
        </dependency>
jaroslav@903
   206
        <dependency>
jaroslav@903
   207
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   208
            <artifactId>org-netbeans-modules-java-hints-test</artifactId>
jaroslav@903
   209
            <version>${netbeans.version}</version>
jaroslav@903
   210
        </dependency>
jaroslav@903
   211
        <dependency>
jaroslav@903
   212
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   213
            <artifactId>org-netbeans-libs-junit4</artifactId>
jaroslav@903
   214
            <version>${netbeans.version}</version>
jaroslav@903
   215
        </dependency>
jaroslav@903
   216
        <dependency>
jaroslav@903
   217
            <groupId>org.netbeans.modules</groupId>
jaroslav@903
   218
            <artifactId>org-netbeans-lib-nbjavac</artifactId>
jaroslav@903
   219
            <version>${netbeans.version}</version>
jaroslav@903
   220
        </dependency>
jaroslav@903
   221
        <dependency> 
jaroslav@903
   222
            <groupId>org.netbeans.modules</groupId>
jaroslav@903
   223
            <artifactId>org-netbeans-modules-web-browser-api</artifactId>
jaroslav@903
   224
            <version>${netbeans.version}</version>
jaroslav@903
   225
            <exclusions>
jaroslav@903
   226
                <exclusion>
jaroslav@903
   227
                    <artifactId>org-netbeans-core</artifactId>
jaroslav@903
   228
                    <groupId>org.netbeans.modules</groupId>
jaroslav@903
   229
                </exclusion>
jaroslav@903
   230
                <exclusion>
jaroslav@903
   231
                    <artifactId>org-netbeans-core-multiview</artifactId>
jaroslav@903
   232
                    <groupId>org.netbeans.api</groupId>
jaroslav@903
   233
                </exclusion>
jaroslav@903
   234
                <exclusion>
jaroslav@903
   235
                    <artifactId>org-netbeans-libs-lucene</artifactId>
jaroslav@903
   236
                    <groupId>org.netbeans.api</groupId>
jaroslav@903
   237
                </exclusion>
jaroslav@903
   238
                <exclusion>
jaroslav@903
   239
                    <artifactId>org-netbeans-modules-diff</artifactId>
jaroslav@903
   240
                    <groupId>org.netbeans.api</groupId>
jaroslav@903
   241
                </exclusion>
jaroslav@903
   242
                <exclusion>
jaroslav@903
   243
                    <artifactId>org-netbeans-modules-editor-fold</artifactId>
jaroslav@903
   244
                    <groupId>org.netbeans.api</groupId>
jaroslav@903
   245
                </exclusion>
jaroslav@903
   246
                <exclusion>
jaroslav@903
   247
                    <artifactId>org-netbeans-modules-editor-guards</artifactId>
jaroslav@903
   248
                    <groupId>org.netbeans.api</groupId>
jaroslav@903
   249
                </exclusion>
jaroslav@903
   250
            </exclusions>
jaroslav@903
   251
        </dependency>
jaroslav@903
   252
        <dependency>
jaroslav@903
   253
            <artifactId>org-netbeans-modules-projectapi</artifactId>
jaroslav@903
   254
            <groupId>org.netbeans.api</groupId>
jaroslav@903
   255
            <type>jar</type>
jaroslav@903
   256
            <version>${netbeans.version}</version>
jaroslav@903
   257
        </dependency>
jaroslav@23
   258
      </dependencies>
jaroslav@23
   259
  </dependencyManagement>
jaroslav@1488
   260
  <profiles>
jaroslav@1488
   261
      <profile>
jaroslav@1488
   262
          <id>jdk8</id>
jaroslav@1488
   263
          <activation>
jaroslav@1488
   264
              <file>
jaroslav@1488
   265
                  <exists>${java.home}/lib/ext/jfxrt.jar</exists>
jaroslav@1488
   266
              </file>
jaroslav@1488
   267
          </activation>
jaroslav@1488
   268
          <properties>
jaroslav@1488
   269
            <jfxrt.jar>${java.home}/lib/ext/jfxrt.jar</jfxrt.jar>
jaroslav@1488
   270
          </properties>
jaroslav@1488
   271
      </profile>
jaroslav@1488
   272
      <profile>
jaroslav@1488
   273
          <id>jdk7</id>
jaroslav@1488
   274
          <activation>
jaroslav@1488
   275
              <file>
jaroslav@1488
   276
                  <exists>${java.home}/lib/jfxrt.jar</exists>
jaroslav@1488
   277
              </file>
jaroslav@1488
   278
          </activation>
jaroslav@1488
   279
          <properties>
jaroslav@1488
   280
            <jfxrt.jar>${java.home}/lib/jfxrt.jar</jfxrt.jar>
jaroslav@1488
   281
          </properties>
jaroslav@1488
   282
      </profile>
jaroslav@1488
   283
  </profiles>
jaroslav@1039
   284
</project>