Scalate Maven Plugin

A Maven Plugin for pre-compiling Scalate template files.

License

License

Categories

Categories

Scala Languages Maven Build Tools
GroupId

GroupId

com.stephenn
ArtifactId

ArtifactId

scalate-maven-plugin_2.12
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Scalate Maven Plugin
A Maven Plugin for pre-compiling Scalate template files.
Project URL

Project URL

https://github.com/stephennancekivell/scalate-maven-plugin
Source Code Management

Source Code Management

http://github.com/stephennancekivell/scalate-maven-plugin

Download scalate-maven-plugin_2.12

How to add to project

<plugin>
    <groupId>com.stephenn</groupId>
    <artifactId>scalate-maven-plugin_2.12</artifactId>
    <version>0.0.2</version>
</plugin>

Dependencies

compile (11)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.4
org.scala-lang : scala-compiler Optional jar 2.12.4
org.slf4j : slf4j-nop jar 1.6.1
commons-lang : commons-lang jar 2.6
org.apache.maven : maven-compat jar 3.0.4
org.apache.maven.wagon : wagon-provider-api jar 2.2
org.apache.maven.wagon : wagon-file jar 2.2
org.apache.maven.wagon : wagon-ssh jar 2.2
org.apache.maven.wagon : wagon-http-lightweight jar 2.2
org.codehaus.plexus : plexus-utils jar 2.0.2
org.codehaus.swizzle : swizzle-confluence jar 1.4

Project Modules

There are no modules declared in this project.

scalate-maven-plugin

A Maven plugin for pre-compiling Scalate templates.

history

March 2020. Support for scala 2.13 This plugin was separated from the main scalate repository in March 2015. This plugin was forked from "org.scalatra.scalate" % "maven-scalate-plugin_2.11" % "1.7.1" to add support for scala 2.12

Usage

pom.xml

<dependencies>
	<dependency>
	    <groupId>org.scalatra.scalate</groupId>
	    <artifactId>scalate-core_2.12</artifactId>
	    <version>1.8.0</version>
	</dependency>

	<dependency>
	    <groupId>org.scalatra.scalate</groupId>
	    <artifactId>scalate-spring-mvc_2.12</artifactId>
	    <version>1.8.0</version>
	</dependency>
</dependencies>

<build>
	<plugins>
		<plugin>
		  <groupId>com.stephenn</groupId>
		  <artifactId>maven-scalate-plugin_2.12</artifactId>
		  <version>0.0.1</version>
		  <executions>
		    <execution>
		      <phase>test-compile</phase>
		      <goals>
		        <goal>precompile</goal>
		      </goals>
		    </execution>
		  </executions>
		</plugin>
	</plugins>
</build>

Publishing

GPG_TTY=$(tty)
export GPG_TTY
mvn deploy -DperformRelease=true -Dgpg.keyname= -Dmaven.javadoc.skip=true

Versions

Version
0.0.2
0.0.1