gotmpl4j-spring-boot-starter
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.alexmond</groupId>
<artifactId>gotmpl4j-spring-boot-starter</artifactId>
<version>1.3.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.alexmond</groupId>
<artifactId>gotmpl4j-parent</artifactId>
<version>1.3.0</version>
</parent>
<artifactId>gotmpl4j-spring-boot-starter</artifactId>
<name>gotmpl4j Spring Boot Starter</name>
<description>Spring Boot autoconfiguration for the gotmpl4j Go template engine</description>
<properties>
<automatic.module.name>org.alexmond.gotmpl4j.spring</automatic.module.name>
</properties>
<dependencies>
<!-- The Spring-free engine + the sprig function library -->
<dependency>
<groupId>org.alexmond</groupId>
<artifactId>gotmpl4j-core</artifactId>
</dependency>
<dependency>
<groupId>org.alexmond</groupId>
<artifactId>gotmpl4j-sprig</artifactId>
</dependency>
<!-- Spring-context template functions (msg/env/bean) — auto-configured FunctionProvider. -->
<dependency>
<groupId>org.alexmond</groupId>
<artifactId>gotmpl4j-spring</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
<!-- Optional Spring MVC view layer: only active when the app brings spring-webmvc -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- Optional WebFlux view layer: only active when the app brings spring-webflux -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webflux</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-webmvc-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-webflux-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-webtestclient</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<!-- The parent pins annotationProcessorPaths (Lombok), which disables classpath
processor discovery, so register the config processor explicitly here. It
generates spring-configuration-metadata.json for the gotmpl4j.* properties. -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- override (not merge) the parent's Lombok-only paths; this module has no Lombok. -->
<annotationProcessorPaths combine.self="override">
<path>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
</project>