ao-web-resources-renderer
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.aoapps</groupId>
<artifactId>ao-web-resources-renderer</artifactId>
<version>0.6.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
ao-web-resources-renderer - Renders HTML for web resource management.
Copyright (C) 2020, 2021, 2022, 2023, 2024 AO Industries, Inc.
support@aoindustries.com
7262 Bull Pen Cir
Mobile, AL 36695
This file is part of ao-web-resources-renderer.
ao-web-resources-renderer is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ao-web-resources-renderer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with ao-web-resources-renderer. If not, see <https://www.gnu.org/licenses/>.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.aoapps</groupId><artifactId>ao-oss-parent</artifactId><version>1.24.3<!-- -POST-SNAPSHOT --></version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>
<groupId>com.aoapps</groupId><artifactId>ao-web-resources-renderer</artifactId><version>0.6.0</version>
<packaging>jar</packaging>
<properties>
<!-- Must be set to ${git.commit.time} for snapshots or ISO 8601 timestamp for releases. -->
<project.build.outputTimestamp>2024-05-11T17:13:41Z</project.build.outputTimestamp>
<module.name>com.aoapps.web.resources.renderer</module.name>
<javadoc.breadcrumbs><![CDATA[<a target="${javadoc.target}" href="https://oss.aoapps.com/">AO OSS</a>
/ <a target="${javadoc.target}" href="https://oss.aoapps.com/web-resources/">Web Resources</a>
/ <a target="${javadoc.target}" href="${project.url}">Renderer</a>]]></javadoc.breadcrumbs>
<!-- TODO: Implement tests -->
<sonar.coverage.exclusions>**.*</sonar.coverage.exclusions>
</properties>
<name>AO Web Resources Renderer</name>
<url>https://oss.aoapps.com/web-resources/renderer/</url>
<description>Renders HTML for web resource management.</description>
<inceptionYear>2020</inceptionYear>
<licenses>
<license>
<name>GNU General Lesser Public License (LGPL) version 3.0</name>
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>AO Industries, Inc.</name>
<url>https://aoindustries.com/</url>
</organization>
<developers>
<developer>
<name>AO Industries, Inc.</name>
<email>support@aoindustries.com</email>
<url>https://aoindustries.com/</url>
<organization>AO Industries, Inc.</organization>
<organizationUrl>https://aoindustries.com/</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/ao-apps/ao-web-resources-renderer.git</connection>
<developerConnection>scm:git:git@github.com:ao-apps/ao-web-resources-renderer.git</developerConnection>
<url>https://github.com/ao-apps/ao-web-resources-renderer</url>
<tag>ao-web-resources-renderer-0.6.0</tag>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/ao-apps/ao-web-resources-renderer/issues</url>
</issueManagement>
<ciManagement>
<system>Jenkins</system>
<url>https://jenkins.aoindustries.com/job/ao/job/oss/job/web-resources/job/renderer/</url>
</ciManagement>
<!-- Only one allowed in POM:
<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/ao-apps/ao-web-resources-renderer/actions</url>
</ciManagement>
-->
<repositories>
<!-- Repository required here, too, so can find parent -->
<repository>
<id>sonatype-nexus-snapshots-s01</id>
<name>Sonatype Nexus Snapshots S01</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-dependency-plugin</artifactId>
<configuration>
<ignoredDependencies>
<!-- No "module-info.java" in some release builds -->
<dependency>com.aoapps:ao-web-resources-servlet</dependency>
</ignoredDependencies>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>offlineLinks</id><activation><file><exists>src/main/java</exists></file></activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack.offlineLinks</id><phase>${unpack.offlineLinks.phase}</phase><goals><goal>unpack</goal></goals>
<configuration>
<artifactItems>
<!-- Direct -->
<artifactItem>
<groupId>com.aoapps</groupId><artifactId>ao-fluent-html-any</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-fluent-html-any</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.aoapps</groupId><artifactId>ao-lang</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-lang</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.aoapps</groupId><artifactId>ao-net-types</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-net-types</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.aoapps</groupId><artifactId>ao-servlet-last-modified</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-servlet-last-modified</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.aoapps</groupId><artifactId>ao-servlet-util</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-servlet-util</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.aoapps</groupId><artifactId>ao-web-resources-registry</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-web-resources-registry</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.aoapps</groupId><artifactId>ao-web-resources-servlet</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-web-resources-servlet</outputDirectory>
</artifactItem>
<!-- ao-javadoc-offline: <groupId>javax.servlet</groupId><artifactId>javax.servlet-api</artifactId><classifier>javadoc</classifier> -->
<artifactItem>
<groupId>com.github.spotbugs</groupId><artifactId>spotbugs-annotations</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.github.spotbugs/spotbugs-annotations</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<offlineLinks combine.children="append">
<!-- Direct -->
<offlineLink>
<url>https://oss.aoapps.com/fluent-html/any/apidocs/</url>
<location>${project.build.directory}/offlineLinks/com.aoapps/ao-fluent-html-any</location>
</offlineLink>
<offlineLink>
<url>https://oss.aoapps.com/lang/apidocs/</url>
<location>${project.build.directory}/offlineLinks/com.aoapps/ao-lang</location>
</offlineLink>
<offlineLink>
<url>https://oss.aoapps.com/net-types/apidocs/</url>
<location>${project.build.directory}/offlineLinks/com.aoapps/ao-net-types</location>
</offlineLink>
<offlineLink>
<url>https://oss.aoapps.com/servlet-last-modified/apidocs/</url>
<location>${project.build.directory}/offlineLinks/com.aoapps/ao-servlet-last-modified</location>
</offlineLink>
<offlineLink>
<url>https://oss.aoapps.com/servlet-util/apidocs/</url>
<location>${project.build.directory}/offlineLinks/com.aoapps/ao-servlet-util</location>
</offlineLink>
<offlineLink>
<url>https://oss.aoapps.com/web-resources/registry/apidocs/</url>
<location>${project.build.directory}/offlineLinks/com.aoapps/ao-web-resources-registry</location>
</offlineLink>
<offlineLink>
<url>https://oss.aoapps.com/web-resources/servlet/apidocs/</url>
<location>${project.build.directory}/offlineLinks/com.aoapps/ao-web-resources-servlet</location>
</offlineLink>
<!-- ao-javadoc-offline: <groupId>javax.servlet</groupId><artifactId>javax.servlet-api</artifactId><classifier>javadoc</classifier> -->
<offlineLink>
<url>https://javadoc.io/doc/com.github.spotbugs/spotbugs-annotations/${com.github.spotbugs:spotbugs-annotations:jar.version}/</url>
<location>${project.build.directory}/offlineLinks/com.github.spotbugs/spotbugs-annotations</location>
</offlineLink>
</offlineLinks>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<properties>
<!--
Newer plugins are failing on release builds:
error: -\-add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module or when compiling in the context of an automatic module
This is caused by the project being detected as a modular build, despite the exclusions via Private-Package
and the added Automatic-Module-Name manifest entry.
Specifically excluding module-info.java from javadoc does not solve the issue.
Could be related:
https://issues.apache.org/jira/browse/MJAVADOC-586
https://bugs.openjdk.org/browse/JDK-8252531 (we also run javadoc in package phase)
Workaround by using old version of maven-javadoc-plugin.
-->
<org.apache.maven.plugins.maven-javadoc-plugin.version>${org.apache.maven.plugins.maven-javadoc-plugin.version.compat}</org.apache.maven.plugins.maven-javadoc-plugin.version>
<copy-element-list-to-package-list-before-javadoc.phase>prepare-package</copy-element-list-to-package-list-before-javadoc.phase>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId><artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<!--
Releases use "Automatic-Module-Name" instead of "module-info.java"
since has direct dependencies that are not yet modularized.
-->
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
<Private-Package>!.</Private-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/module-info.class</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencyManagement>
<dependencies>
<!-- Direct -->
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-fluent-html-any</artifactId><version>0.8.0<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-lang</artifactId><version>5.6.0<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-net-types</artifactId><version>2.0.2<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-servlet-last-modified</artifactId><version>3.0.1<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-servlet-util</artifactId><version>5.3.0<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-web-resources-registry</artifactId><version>0.6.0<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-web-resources-servlet</artifactId><version>0.5.0<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<!-- javaee-web-api-bom: <groupId>javax.servlet</groupId><artifactId>javax.servlet-api</artifactId> -->
<dependency>
<groupId>com.github.spotbugs</groupId><artifactId>spotbugs-annotations</artifactId><version>4.8.5</version>
</dependency>
<!-- Transitive -->
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-collections</artifactId><version>3.0.0<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-encoding</artifactId><version>7.0.0<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-hodgepodge</artifactId><version>5.2.0<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-tempfiles</artifactId><version>3.0.2<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-tlds</artifactId><version>2.0.0<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<!-- javaee-web-api-bom: <groupId>javax.el</groupId><artifactId>javax.el-api</artifactId> -->
<!-- javaee-web-api-bom: <groupId>javax.servlet.jsp</groupId><artifactId>javax.servlet.jsp-api</artifactId> -->
<!-- Imports -->
<dependency>
<groupId>com.aoapps</groupId><artifactId>javaee-web-api-bom</artifactId><version>7.0.1<!-- -POST-SNAPSHOT --></version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Direct -->
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-fluent-html-any</artifactId>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-lang</artifactId>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-net-types</artifactId>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-servlet-last-modified</artifactId>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-servlet-util</artifactId>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-web-resources-registry</artifactId>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-web-resources-servlet</artifactId>
<!-- Javadoc-only -->
<optional>true</optional>
</dependency>
<dependency>
<groupId>javax.servlet</groupId><artifactId>javax.servlet-api</artifactId>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId><artifactId>spotbugs-annotations</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>