Maven Repository - POM file for Scala scalate-core_2.9 1.6.0 1.6.0

Summary

${project.artifactId}.

Scalate Core.

Declaration

Here is the list of declaration for scalate-core_2.9. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.fusesource.scalate</groupId>
   <artifactId>scalate-core_2.9</artifactId>
   <version>1.6.0</version>
</dependency>

If you think this Maven repository POM file listing for scalate-core_2.9 is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

License

Apache License.

Plugin

The following plugins are used in the scalate-core_2.9-1.6.0.jar

  1. exec-maven-plugin
  2. maven-surefire-plugin
  3. scala-maven-plugin




Packages

The following packages are defined in the scalate-core_2.9-1.6.0.jar

org.fusesource.scalate
org.fusesource.scalate.console
org.fusesource.scalate.filter
org.fusesource.scalate.introspector
org.fusesource.scalate.jade
org.fusesource.scalate.japi
org.fusesource.scalate.jersey
org.fusesource.scalate.layout
org.fusesource.scalate.mustache
org.fusesource.scalate.osgi
org.fusesource.scalate.rest
org.fusesource.scalate.scaml
org.fusesource.scalate.scuery
org.fusesource.scalate.scuery.support
org.fusesource.scalate.servlet
org.fusesource.scalate.ssp
org.fusesource.scalate.support




POM File Source

Here is the content of the POM file.

<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (C) 2009-2011 the original author or authors.
    See the notice.md file distributed with this work for additional
    information regarding copyright ownership.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.fusesource.scalate</groupId>
    <artifactId>scalate-project_2.9</artifactId>
    <version>1.6.0</version>
  </parent>

  <artifactId>scalate-core_2.9</artifactId>
  <packaging>bundle</packaging>

  <name>${project.artifactId}</name>
  <description>Scalate Core</description>

  <properties>
    <scalate.osgi.import>
      scala.tools.nsc;resolution:=optional,
      scala.tools.nsc.*;resolution:=optional,
      *
    </scalate.osgi.import>

  </properties>
  <dependencies>
    
    <dependency>
      <groupId>org.fusesource.scalate</groupId>
      <artifactId>scalate-util_2.9</artifactId>
      <version>${project.version}</version>
    </dependency>

    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
    </dependency>

    <!-- exclude or add this dependency as scope 'provided' if you wish to exclude from a war -->
    <dependency>
      <groupId>org.scala-lang</groupId>
      <artifactId>scala-compiler</artifactId>
      <version>${scala-version}</version>
    </dependency>

    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-server</artifactId>
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>${scalamd.groupId}</groupId>
      <artifactId>scalamd_2.9</artifactId>
      <version>${scalamd-version}</version>
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <scope>runtime</scope>
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <optional>true</optional>
    </dependency>

    <!-- Coffescript compiler -->
    <dependency>
      <groupId>rhino</groupId>
      <artifactId>js</artifactId>
      <version>${rhino-version}</version>
      <optional>true</optional>
    </dependency>

    <!-- testing -->
    <dependency>
      <groupId>org.scalatest</groupId>
      <artifactId>${scalatest-artifact}</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>

  </dependencies>

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <useFile>true</useFile>
          <forkMode>pertest</forkMode>
          <excludes>
            <!--
                        <exclude>**/MustacheJsSystemTest.*</exclude>
            -->
          </excludes>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <version>1.2</version>
        <executions>
          <execution>
            <goals>
              <goal>java</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <classpathScope>test</classpathScope>
          <mainClass>org.fusesource.scalate.demo.UseScalateFromJava</mainClass>
          <arguments>
            <argument>org/fusesource/scalate/demo/sample.jade</argument>
          </arguments>
          <!--
                    <systemProperties>
                      <systemProperty>
                        <key>myproperty</key>
                        <value>myvalue</value>
                      </systemProperty>
                    </systemProperties>
          -->
        </configuration>
      </plugin>

      <plugin>
        <groupId>net.alchim31.maven</groupId>
        <artifactId>scala-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>compile</id>
            <goals>
              <goal>compile</goal>
            </goals>
            <phase>compile</phase>
          </execution>

          <execution>
            <id>test-compile</id>
            <goals>
              <goal>testCompile</goal>
            </goals>
            <phase>test-compile</phase>
          </execution>

          <execution>
            <phase>process-resources</phase>
            <goals>
              <goal>compile</goal>
            </goals>
          </execution>

        </executions>
        <configuration>
          <scalaVersion>${scala-version}</scalaVersion>
          <args>
<!--
            <arg>-source:5</arg>
            <arg>-target:jvm-1.5</arg>
-->
            <!-- to support mix java/scala only -->
<!--
            <arg>-make:transitivenocp</arg>
            <arg>-dependencyfile</arg>
            <arg>${project.build.directory}/.scala_dependencies</arg>
-->
          </args>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>