com.alibaba.spring:spring-velocity-support

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/


Keywords
java, spring, spring-framework, template-engine, velocity
License
Apache-2.0

Documentation

spring-velocity-support

An support project of legacy velocity based on Spring Framework, it is a base project of Alibaba velocity-spring-boot-project, and most code is forked from Spring Framework official implementation.

Released version

Non-Web Application

<dependencies>

    ......

     <!-- Spring Framework -->
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context-support</artifactId>
        <version>${spring.framework.version}</version>
    </dependency>

    <!-- Spring Context Velocity -->
    <dependency>
        <groupId>com.alibaba.spring</groupId>
        <artifactId>spring-context-velocity</artifactId>
        <version>1.4.3.18.RELEASE</version>
    </dependency>

    ......

</dependencies>

Web Application

<dependencies>

    ......

     <!-- Spring Web MVC -->
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>${spring.framework.version}</version>
    </dependency>

    <!-- Spring WebMVC Velocity -->
    <dependency>
        <groupId>com.alibaba.spring</groupId>
        <artifactId>spring-webmvc-velocity</artifactId>
        <version>1.4.3.18.RELEASE</version>
    </dependency>

    ......

</dependencies>

If your project failed to resolve the dependency, try to add the following repository:

    <repositories>
        <repository>
            <id>sonatype-nexus</id>
            <url>https://oss.sonatype.org/content/repositories/releases</url>
            <releases>
                <enabled>true</enabled>
            </releases>
        </repository>
    </repositories>

Modules

Forked Modules

Modules From org.springframework
spring-context-velocity spring-context-support:4.3.18.RELEASE
spring-webmvc-velocity spring-webmvc:4.3.18.RELEASE