Use pre-compiled version of the VM javascript in generated archetypes
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 26 Sep 2013 19:21:18 +0200
changeset 129954679bc16485
parent 1298 b19da82653ff
child 1300 ee3fba561fd8
Use pre-compiled version of the VM javascript in generated archetypes
ko/archetype/src/main/resources/archetype-resources/pom.xml
ko/archetype/src/main/resources/archetype-resources/src/main/assembly/bck2brwsr.xml
     1.1 --- a/ko/archetype/src/main/resources/archetype-resources/pom.xml	Wed Sep 25 05:50:10 2013 +0200
     1.2 +++ b/ko/archetype/src/main/resources/archetype-resources/pom.xml	Thu Sep 26 19:21:18 2013 +0200
     1.3 @@ -261,6 +261,14 @@
     1.4                    <version>\${bck2brwsr.version}</version>
     1.5                    <scope>runtime</scope>
     1.6                </dependency>
     1.7 +              <dependency>
     1.8 +                  <groupId>org.apidesign.bck2brwsr</groupId>
     1.9 +                  <artifactId>vm4brwsr</artifactId>
    1.10 +                  <classifier>js</classifier>
    1.11 +                  <type>zip</type>
    1.12 +                  <version>\${bck2brwsr.version}</version>
    1.13 +                  <scope>provided</scope>
    1.14 +              </dependency>
    1.15            </dependencies>
    1.16        </profile>
    1.17    </profiles>
     2.1 --- a/ko/archetype/src/main/resources/archetype-resources/src/main/assembly/bck2brwsr.xml	Wed Sep 25 05:50:10 2013 +0200
     2.2 +++ b/ko/archetype/src/main/resources/archetype-resources/src/main/assembly/bck2brwsr.xml	Thu Sep 26 19:21:18 2013 +0200
     2.3 @@ -17,6 +17,15 @@
     2.4              <include>*:rt</include>
     2.5          </includes>
     2.6      </dependencySet>
     2.7 +    <dependencySet>
     2.8 +        <useProjectArtifact>false</useProjectArtifact>
     2.9 +        <scope>provided</scope>
    2.10 +        <includes>
    2.11 +            <include>*:js</include>
    2.12 +        </includes>
    2.13 +        <unpack>true</unpack>
    2.14 +        <outputDirectory>/</outputDirectory>
    2.15 +    </dependencySet>
    2.16    </dependencySets> 
    2.17    <fileSets>
    2.18        <fileSet>
    2.19 @@ -40,9 +49,5 @@
    2.20        <source>${project.build.directory}/${project.build.finalName}.jar</source>
    2.21        <outputDirectory>/</outputDirectory>
    2.22      </file>
    2.23 -    <file>
    2.24 -      <source>${project.build.directory}/bck2brwsr.js</source>
    2.25 -      <outputDirectory>/</outputDirectory>
    2.26 -    </file>
    2.27    </files>
    2.28  </assembly>
    2.29 \ No newline at end of file