| <?xml version="1.0" encoding="UTF-8"?> | |
| <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> | |
| <artifactId>UnicodeJsps</artifactId> | |
| <packaging>war</packaging> | |
| <name>Unicode JSPs</name> | |
| <parent> | |
| <groupId>org.unicode.unicodetools</groupId> | |
| <artifactId>unicodetools-parent</artifactId> | |
| <version>1.0.0</version> | |
| </parent> | |
| <dependencies> | |
| <!-- JSP depends on unicodetools --> | |
| <dependency> | |
| <groupId>org.unicode.unicodetools</groupId> | |
| <artifactId>unicodetools</artifactId> | |
| </dependency> | |
| <!-- icu --> | |
| <dependency> | |
| <groupId>com.ibm.icu</groupId> | |
| <artifactId>icu4j</artifactId> | |
| </dependency> | |
| <!-- cldr --> | |
| <dependency> | |
| <groupId>org.unicode.cldr</groupId> | |
| <artifactId>cldr-code</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>jakarta.servlet</groupId> | |
| <artifactId>jakarta.servlet-api</artifactId> | |
| <version>${jakarta.servlet.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>jakarta.servlet.jsp</groupId> | |
| <artifactId>jakarta.servlet.jsp-api</artifactId> | |
| <scope>provided</scope> | |
| <version>${jakarta.servlet.jsp-api.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.code.gson</groupId> | |
| <artifactId>gson</artifactId> | |
| <version>${gson.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| <version>${guava.version}</version> | |
| </dependency> | |
| <!-- test --> | |
| <dependency> | |
| <groupId>org.junit.jupiter</groupId> | |
| <artifactId>junit-jupiter</artifactId> | |
| </dependency> | |
| <!-- Pull this in only for tests --> | |
| <dependency> | |
| <groupId>org.unicode.unicodetools</groupId> | |
| <artifactId>unicodetools-testutils</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.owasp.encoder</groupId> | |
| <artifactId>encoder</artifactId> | |
| <version>${org.owasp.encoder.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.owasp.encoder</groupId> | |
| <artifactId>encoder-jsp</artifactId> | |
| <version>${org.owasp.encoder.version}</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <finalName>${project.artifactId}</finalName> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-war-plugin</artifactId> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <version>${org.apache.maven.plugins.version}</version> | |
| <configuration> | |
| <archive> | |
| <manifestEntries> | |
| <Built-By>${user.name}</Built-By> | |
| <Build-Time>${maven.build.timestamp}</Build-Time> | |
| <UnicodeTools-Git-Commit>${buildNumber}</UnicodeTools-Git-Commit> | |
| <UnicodeTools-Git-Branch>${scmBranch}</UnicodeTools-Git-Branch> | |
| </manifestEntries> | |
| </archive> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>buildnumber-maven-plugin</artifactId> | |
| <version>${buildnumber-maven-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <phase>validate</phase> | |
| <goals> | |
| <goal>create</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| <configuration> | |
| <getRevisionOnlyOnce>true</getRevisionOnlyOnce> | |
| <attach>true</attach> | |
| <addOutputDirectoryToResources>true</addOutputDirectoryToResources> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <version>${build-helper-maven-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>add-resource</id> | |
| <phase>generate-resources</phase> | |
| <goals> | |
| <goal>add-resource</goal> | |
| </goals> | |
| <configuration> | |
| <resources> | |
| <resource> | |
| <directory>src/main/webapp</directory> | |
| <targetPath>${project.build.directory}/${project.build.finalName}</targetPath> | |
| </resource> | |
| </resources> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.eclipse.jetty</groupId> | |
| <artifactId>jetty-maven-plugin</artifactId> | |
| <version>${jetty-maven-plugin.version}</version> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |