Don't include vm4brwsr.jar in the final calculator zip file emul
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 06 Feb 2013 17:52:31 +0100
branchemul
changeset 69110194cb7ffc2
parent 690 8929a6558ae4
child 692 d088fc482c65
Don't include vm4brwsr.jar in the final calculator zip file
javaquery/demo-calculator/pom.xml
javaquery/demo-calculator/src/main/assembly/bck2brwsr.xml
vm/pom.xml
     1.1 --- a/javaquery/demo-calculator/pom.xml	Wed Feb 06 17:22:14 2013 +0100
     1.2 +++ b/javaquery/demo-calculator/pom.xml	Wed Feb 06 17:52:31 2013 +0100
     1.3 @@ -92,7 +92,7 @@
     1.4        <classifier>js</classifier>
     1.5        <type>zip</type>
     1.6        <version>0.3-SNAPSHOT</version>
     1.7 -      <scope>runtime</scope>
     1.8 +      <scope>provided</scope>
     1.9      </dependency>
    1.10    </dependencies>
    1.11  </project>
     2.1 --- a/javaquery/demo-calculator/src/main/assembly/bck2brwsr.xml	Wed Feb 06 17:22:14 2013 +0100
     2.2 +++ b/javaquery/demo-calculator/src/main/assembly/bck2brwsr.xml	Wed Feb 06 17:52:31 2013 +0100
     2.3 @@ -32,10 +32,13 @@
     2.4          <useProjectArtifact>false</useProjectArtifact>
     2.5          <scope>runtime</scope>
     2.6          <outputDirectory>lib</outputDirectory>
     2.7 +        <includes>
     2.8 +            <include>*:jar</include>
     2.9 +        </includes>
    2.10      </dependencySet>
    2.11      <dependencySet>
    2.12          <useProjectArtifact>false</useProjectArtifact>
    2.13 -        <scope>runtime</scope>
    2.14 +        <scope>provided</scope>
    2.15          <includes>
    2.16              <include>*:js</include>
    2.17          </includes>
     3.1 --- a/vm/pom.xml	Wed Feb 06 17:22:14 2013 +0100
     3.2 +++ b/vm/pom.xml	Wed Feb 06 17:52:31 2013 +0100
     3.3 @@ -82,6 +82,7 @@
     3.4                   </execution>
     3.5               </executions>
     3.6               <configuration>
     3.7 +                 <classpathScope>provided</classpathScope>
     3.8                   <mainClass>org.apidesign.vm4brwsr.Main</mainClass>
     3.9                   <arguments>
    3.10                       <argument>${project.build.directory}/bck2brwsr.js</argument>
    3.11 @@ -137,6 +138,7 @@
    3.12        <groupId>${project.groupId}</groupId>
    3.13        <artifactId>javap</artifactId>
    3.14        <version>${project.version}</version>
    3.15 +      <scope>provided</scope>
    3.16      </dependency>
    3.17    </dependencies>
    3.18  </project>