pebble
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.pebbletemplates</groupId> <artifactId>pebble</artifactId> <version>3.2.4</version> </dependency>
<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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.pebbletemplates</groupId> <artifactId>pebble-project</artifactId> <version>3.2.4</version> </parent> <artifactId>pebble</artifactId> <packaging>jar</packaging> <name>Pebble</name> <description>Templating engine for Java.</description> <url>http://pebbletemplates.io</url> <properties> <unbescape.version>1.1.6.RELEASE</unbescape.version> <slf4j.version>1.7.25</slf4j.version> <caffeine.version>2.6.2</caffeine.version> <jakarata.servlet-api.version>5.0.0</jakarata.servlet-api.version> <servlet-api.version>2.5</servlet-api.version> <assertj.version>3.13.2</assertj.version> <commons-io.version>2.14.0</commons-io.version> <logback-classic.version>1.2.13</logback-classic.version> <junit-jupiter.version>5.5.2</junit-jupiter.version> </properties> <dependencies> <!-- required dependencies --> <dependency> <groupId>org.unbescape</groupId> <artifactId>unbescape</artifactId> <version>${unbescape.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <!-- optional dependencies --> <dependency> <groupId>com.github.ben-manes.caffeine</groupId> <artifactId>caffeine</artifactId> <version>${caffeine.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>${servlet-api.version}</version> <optional>true</optional> </dependency> <dependency> <artifactId>jakarta.servlet-api</artifactId> <groupId>jakarta.servlet</groupId> <version>${jakarata.servlet-api.version}</version> <optional>true</optional> </dependency> <!-- testing dependencies --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback-classic.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${commons-io.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>biz.aQute.bnd</groupId> <artifactId>bnd-maven-plugin</artifactId> <version>7.0.0</version> <executions> <execution> <id>generate-osgi-manifest</id> <goals> <goal>bnd-process</goal> </goals> <configuration> <bnd><![CDATA[ Bundle-SymbolicName: io.pebbletemplates.pebble Automatic-Module-Name: io.pebbletemplates Import-Package: \ com.github.benmanes.caffeine.*;version="[2.6,4)";resolution:=optional, \ javax.servlet;version="[2.5,5)";resolution:=optional, \ jakarta.servlet;version="[5.0,7)";resolution:=optional, \ * -exportcontents: *;-noimport:=true -noextraheaders: true ]]></bnd> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> </plugin> </plugins> </build> </project>