Pregenerate the bck2brwsr js files for JDK emul and JavaQuery API
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Sat, 06 Dec 2014 06:49:24 +0100
changeset 173883151e1e0cac
parent 1737 82fd3830167d
child 1739 e9b9d9ff0621
Pregenerate the bck2brwsr js files for JDK emul and JavaQuery API
javaquery/api/pom.xml
javaquery/demo-calculator/pom.xml
rt/emul/compact/pom.xml
     1.1 --- a/javaquery/api/pom.xml	Sat Dec 06 06:28:17 2014 +0100
     1.2 +++ b/javaquery/api/pom.xml	Sat Dec 06 06:49:24 2014 +0100
     1.3 @@ -30,6 +30,18 @@
     1.4                      <skip>false</skip>
     1.5                  </configuration>
     1.6              </plugin>
     1.7 +            <plugin>
     1.8 +                <groupId>org.apidesign.bck2brwsr</groupId>
     1.9 +                <artifactId>bck2brwsr-maven-plugin</artifactId>
    1.10 +                <version>${project.version}</version>
    1.11 +                <executions>
    1.12 +                    <execution>
    1.13 +                        <goals>
    1.14 +                            <goal>library</goal>
    1.15 +                        </goals>
    1.16 +                    </execution>
    1.17 +                </executions>
    1.18 +            </plugin>
    1.19          </plugins>
    1.20      </build>
    1.21      <properties>
     2.1 --- a/javaquery/demo-calculator/pom.xml	Sat Dec 06 06:28:17 2014 +0100
     2.2 +++ b/javaquery/demo-calculator/pom.xml	Sat Dec 06 06:49:24 2014 +0100
     2.3 @@ -108,8 +108,22 @@
     2.4      </dependency>
     2.5      <dependency>
     2.6        <groupId>org.apidesign.bck2brwsr</groupId>
     2.7 +      <artifactId>emul</artifactId>
     2.8 +      <version>${project.version}</version>
     2.9 +      <classifier>bck2brwsr</classifier>
    2.10 +      <scope>provided</scope>
    2.11 +    </dependency>
    2.12 +    <dependency>
    2.13 +      <groupId>org.apidesign.bck2brwsr</groupId>
    2.14        <artifactId>javaquery.api</artifactId>
    2.15        <version>${project.version}</version>
    2.16      </dependency>
    2.17 +    <dependency>
    2.18 +      <groupId>org.apidesign.bck2brwsr</groupId>
    2.19 +      <artifactId>javaquery.api</artifactId>
    2.20 +      <version>${project.version}</version>
    2.21 +      <classifier>bck2brwsr</classifier>
    2.22 +      <scope>provided</scope>
    2.23 +    </dependency>
    2.24    </dependencies>
    2.25  </project>
     3.1 --- a/rt/emul/compact/pom.xml	Sat Dec 06 06:28:17 2014 +0100
     3.2 +++ b/rt/emul/compact/pom.xml	Sat Dec 06 06:49:24 2014 +0100
     3.3 @@ -66,11 +66,26 @@
     3.4                              <descriptors>
     3.5                                  <descriptor>src/main/assembly/rt.xml</descriptor>
     3.6                              </descriptors>
     3.7 -                            <finalName>bck2brwsr-${project.version}</finalName>
     3.8 +                            <finalName>${project.build.finalName}</finalName>
     3.9                          </configuration>
    3.10                      </execution>
    3.11                  </executions>                
    3.12              </plugin> 
    3.13 +            <plugin>
    3.14 +                <groupId>org.apidesign.bck2brwsr</groupId>
    3.15 +                <artifactId>bck2brwsr-maven-plugin</artifactId>
    3.16 +                <version>${project.version}</version>
    3.17 +                <executions>
    3.18 +                    <execution>
    3.19 +                        <goals>
    3.20 +                            <goal>library</goal>
    3.21 +                        </goals>
    3.22 +                    </execution>
    3.23 +                </executions>
    3.24 +                <configuration>
    3.25 +                    <mainJar>${project.build.directory}/${project.build.finalName}-rt.jar</mainJar>
    3.26 +                </configuration>
    3.27 +            </plugin>
    3.28        </plugins>
    3.29    </build>
    3.30  </project>