| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. See the NOTICE file distributed with | |
| this work for additional information regarding copyright ownership. | |
| The ASF licenses this file to You under the Apache License, Version 2.0 | |
| (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. | |
| --> | |
| <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> | |
| <groupId>org.apache.roller</groupId> | |
| <artifactId>roller-project</artifactId> | |
| <version>7.0.0-SNAPSHOT</version> | |
| <packaging>pom</packaging> | |
| <name>Roller</name> | |
| <description> | |
| Roller is an open source blog server built with open source Java | |
| libraries including Struts2, Velocity, ROME and Guice. | |
| </description> | |
| <url>http://roller.apache.org</url> | |
| <inceptionYear>2002</inceptionYear> | |
| <scm> | |
| <url>https://github.com/apache/roller</url> | |
| <connection>scm:git:git://github.com/apache/roller.git</connection> | |
| <developerConnection>scm:git:git@github.com:apache/roller.git</developerConnection> | |
| </scm> | |
| <properties> | |
| <derby.version>10.16.1.1</derby.version> | |
| <jetty.plugin.version>12.1.13</jetty.plugin.version> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
| <roller.version>7.0.0-SNAPSHOT</roller.version> | |
| <slf4j.version>2.0.20</slf4j.version> | |
| </properties> | |
| <modules> | |
| <module>app</module> | |
| <module>db-utils</module> | |
| <!-- <module>it-selenium</module> --> | |
| </modules> | |
| <build> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.16.0</version> | |
| <configuration> | |
| <release>17</release> | |
| <fork>true</fork> | |
| <compilerArgs> | |
| <arg>-Xlint:all</arg> | |
| <!-- | |
| <arg>-Xlint:unchecked,rawtypes,cast,overrides,overloads,dep-ann,removal,synchronization,try,finally,varargs,processing</arg> | |
| <arg>-Xmaxwarns</arg> | |
| <arg>1000</arg> | |
| --> | |
| </compilerArgs> | |
| <encoding>${project.build.sourceEncoding}</encoding> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-idea-plugin</artifactId> | |
| <version>2.2.1</version> | |
| <configuration> | |
| <downloadSources>true</downloadSources> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.eclipse.jetty.ee11</groupId> | |
| <artifactId>jetty-ee11-maven-plugin</artifactId> | |
| <version>${jetty.plugin.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>versions-maven-plugin</artifactId> | |
| <version>2.22.0</version> | |
| <configuration> | |
| <rulesUri>file:version-rules.xml</rulesUri> | |
| </configuration> | |
| </plugin> | |
| <!-- license header check, not bound to the build since it is | |
| slow; run with: mvn apache-rat:check --> | |
| <plugin> | |
| <groupId>org.apache.rat</groupId> | |
| <artifactId>apache-rat-plugin</artifactId> | |
| <version>0.18</version> | |
| <configuration> | |
| <inputExcludes> | |
| <!-- prose documentation and ASF infrastructure config --> | |
| <inputExclude>**/*.md</inputExclude> | |
| <inputExclude>**/*.adoc</inputExclude> | |
| <inputExclude>/docs/examples/plugins/pluginmodel/README.html</inputExclude> | |
| <inputExclude>/docs/examples/configs/wbloggar/wbloggar.txt</inputExclude> | |
| <!-- XML examples included verbatim in the AtomPub guide --> | |
| <inputExclude>/docs/atompub/examples/**</inputExclude> | |
| <inputExclude>/.asf.yaml</inputExclude> | |
| <!-- generated by JMeter --> | |
| <inputExclude>/testing/roller-load-test.jmx</inputExclude> | |
| <!-- bundled themes are copied into users' editable weblog | |
| templates, so they carry no headers --> | |
| <inputExclude>/src/main/webapp/themes/**</inputExclude> | |
| <inputExclude>/src/main/resources/themes/**</inputExclude> | |
| <inputExclude>**/*.svg</inputExclude> | |
| <inputExclude>/src/main/webapp/robots.txt</inputExclude> | |
| <!-- third-party code with its own license --> | |
| <inputExclude>/src/main/webapp/roller-ui/scripts/jquery-2.1.1.min.js</inputExclude> | |
| <inputExclude>/src/main/webapp/roller-ui/styles/jquery.mobile-theme/**</inputExclude> | |
| <inputExclude>/docker/wait-for-it.sh</inputExclude> | |
| <!-- data files read line by line, where a header would be data --> | |
| <inputExclude>/src/main/webapp/META-INF/org.apache.commons.logging.LogFactory</inputExclude> | |
| <inputExclude>/src/main/resources/bannedwordslist.txt</inputExclude> | |
| <inputExclude>/src/test/resources/blacklist.txt</inputExclude> | |
| <inputExclude>/src/test/resources/bookmarks.opml</inputExclude> | |
| <inputExclude>/src/test/resources/themes/dummy.txt</inputExclude> | |
| </inputExcludes> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| </build> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.junit.jupiter</groupId> | |
| <artifactId>junit-jupiter-engine</artifactId> | |
| <version>6.1.3</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <!-- transitive through struts2-core; 2.3.34 has a template | |
| loading path traversal (CVE-2026-84939) --> | |
| <dependency> | |
| <groupId>org.freemarker</groupId> | |
| <artifactId>freemarker</artifactId> | |
| <version>2.3.35</version> | |
| </dependency> | |
| <!-- transitive through guice; 31.x has CVE-2020-8908 and CVE-2023-2976 --> | |
| <dependency> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| <version>33.7.1-jre</version> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| </project> |