nmw-email-taglib
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.newmediaworks</groupId> <artifactId>nmw-email-taglib</artifactId> <version>2.1.2</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- nmw-email-taglib - JSP taglib encapsulating the JavaMail API. Copyright (C) 2019, 2020, 2021, 2022, 2023, 2024 New Media Works info@newmediaworks.com 703 2nd Street #465 Santa Rosa, CA 95404 This file is part of nmw-email-taglib. nmw-email-taglib 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. nmw-email-taglib 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 nmw-email-taglib. 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.newmediaworks</groupId><artifactId>nmw-oss-parent</artifactId><version>1.21.1<!-- -POST-SNAPSHOT --></version> <relativePath>../parent/pom.xml</relativePath> </parent> <groupId>com.newmediaworks</groupId><artifactId>nmw-email-taglib</artifactId><version>2.1.2</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-12T22:41:05Z</project.build.outputTimestamp> <module.name>com.newmediaworks.taglib.email</module.name> <javadoc.breadcrumbs><![CDATA[<a target="${javadoc.target}" href="https://oss.newmediaworks.com/">NMW OSS</a> / <a target="${javadoc.target}" href="${project.url}">Email Taglib</a>]]></javadoc.breadcrumbs> <javadoc.taglibReference><![CDATA[ <li><a target="${javadoc.target}" href="${project.url}nmw-email.tld/">Taglib Reference</a></li> <li><a target="${javadoc.target}" rel="nofollow" href="${project.url}nmw-email-legacy.tld/">Taglib Reference (Legacy)</a></li> ]]></javadoc.taglibReference> <javadoc.relatedProjects><![CDATA[<div> <h2>Related Projects</h2> <ul> <li><a target="${javadoc.target}" href="https://javaee.github.io/javamail/">JavaMail API</a></li> <li><a target="${javadoc.target}" href="https://oss.aoapps.com/encoding/taglib/">AO Encoding Taglib</a></li> </ul> </div>]]></javadoc.relatedProjects> <!-- Exclude legacy package since is largely a duplicate --> <seo-javadoc-filter.nofollow>default, /com.newmediaworks.taglib.email/com/newmediaworks/taglib/email/legacy/</seo-javadoc-filter.nofollow> <description.html><![CDATA[JSP taglib encapsulating the <a target="${javadoc.target}" href="https://javaee.github.io/javamail/">JavaMail API</a>.]]></description.html> <!-- TODO: Implement tests --> <sonar.coverage.exclusions>**.*</sonar.coverage.exclusions> </properties> <name>NMW Email Taglib</name> <url>https://oss.newmediaworks.com/email-taglib/</url> <description>JSP taglib encapsulating the JavaMail API.</description> <inceptionYear>2006</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>New Media Works</name> <url>https://www.newmediaworks.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/newmediaworks/nmw-email-taglib.git</connection> <developerConnection>scm:git:git@github.com:newmediaworks/nmw-email-taglib.git</developerConnection> <url>https://github.com/newmediaworks/nmw-email-taglib</url> <tag>nmw-email-taglib-2.1.2</tag> </scm> <issueManagement> <system>GitHub Issues</system> <url>https://github.com/newmediaworks/nmw-email-taglib/issues</url> </issueManagement> <ciManagement> <system>Jenkins</system> <url>https://jenkins.aoindustries.com/job/nmw/job/oss/job/email-taglib/</url> </ciManagement> <!-- Only one allowed in POM: <ciManagement> <system>GitHub Actions</system> <url>https://github.com/newmediaworks/nmw-email-taglib/actions</url> </ciManagement> --> <repositories> <!-- Repository required here, too, so can find parent --> <repository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <checksumPolicy>fail</checksumPolicy> </snapshots> </repository> </repositories> <build> <plugins> <plugin> <groupId>com.github.spotbugs</groupId><artifactId>spotbugs-maven-plugin</artifactId> <configuration> <!-- TODO: Clean-up SpotBugs --> <failOnError>false</failOnError> </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 --> <!-- ao-javadoc-offline: <groupId>javax.activation</groupId><artifactId>activation</artifactId><classifier>javadoc</classifier> --> <artifactItem> <groupId>com.aoapps</groupId><artifactId>ao-encoding</artifactId><classifier>javadoc</classifier> <includes>element-list, package-list</includes> <outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-encoding</outputDirectory> </artifactItem> <artifactItem> <groupId>com.aoapps</groupId><artifactId>ao-encoding-servlet</artifactId><classifier>javadoc</classifier> <includes>element-list, package-list</includes> <outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-encoding-servlet</outputDirectory> </artifactItem> <artifactItem> <groupId>com.aoapps</groupId><artifactId>ao-encoding-taglib</artifactId><classifier>javadoc</classifier> <includes>element-list, package-list</includes> <outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-encoding-taglib</outputDirectory> </artifactItem> <artifactItem> <groupId>com.aoapps</groupId><artifactId>ao-hodgepodge</artifactId><classifier>javadoc</classifier> <includes>element-list, package-list</includes> <outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-hodgepodge</outputDirectory> </artifactItem> <artifactItem> <groupId>com.aoapps</groupId><artifactId>ao-io-buffer</artifactId><classifier>javadoc</classifier> <includes>element-list, package-list</includes> <outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-io-buffer</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-servlet-filter</artifactId><classifier>javadoc</classifier> <includes>element-list, package-list</includes> <outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-servlet-filter</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-tempfiles</artifactId><classifier>javadoc</classifier> <includes>element-list, package-list</includes> <outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-tempfiles</outputDirectory> </artifactItem> <artifactItem> <groupId>com.aoapps</groupId><artifactId>ao-tempfiles-servlet</artifactId><classifier>javadoc</classifier> <includes>element-list, package-list</includes> <outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-tempfiles-servlet</outputDirectory> </artifactItem> <!-- ao-javadoc-offline: <groupId>com.sun.mail</groupId><artifactId>javax.mail</artifactId><classifier>javadoc</classifier> --> <!-- ao-javadoc-offline: <groupId>javax.servlet</groupId><artifactId>javax.servlet-api</artifactId><classifier>javadoc</classifier> --> <!-- ao-javadoc-offline: <groupId>javax.servlet.jsp</groupId><artifactId>javax.servlet.jsp-api</artifactId><classifier>javadoc</classifier> --> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId><artifactId>maven-javadoc-plugin</artifactId> <configuration> <offlineLinks combine.children="append"> <!-- Direct --> <!-- ao-javadoc-offline: <groupId>javax.activation</groupId><artifactId>activation</artifactId><classifier>javadoc</classifier> --><!-- TODO: https://jakarta.ee/specifications/activation/1.2/apidocs/ --> <offlineLink> <url>https://oss.aoapps.com/encoding/apidocs/</url> <location>${project.build.directory}/offlineLinks/com.aoapps/ao-encoding</location> </offlineLink> <offlineLink> <url>https://oss.aoapps.com/encoding/servlet/apidocs/</url> <location>${project.build.directory}/offlineLinks/com.aoapps/ao-encoding-servlet</location> </offlineLink> <offlineLink> <url>https://oss.aoapps.com/encoding/taglib/apidocs/</url> <location>${project.build.directory}/offlineLinks/com.aoapps/ao-encoding-taglib</location> </offlineLink> <offlineLink> <url>https://oss.aoapps.com/hodgepodge/apidocs/</url> <location>${project.build.directory}/offlineLinks/com.aoapps/ao-hodgepodge</location> </offlineLink> <offlineLink> <url>https://oss.aoapps.com/io-buffer/apidocs/</url> <location>${project.build.directory}/offlineLinks/com.aoapps/ao-io-buffer</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/servlet-filter/apidocs/</url> <location>${project.build.directory}/offlineLinks/com.aoapps/ao-servlet-filter</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/tempfiles/apidocs/</url> <location>${project.build.directory}/offlineLinks/com.aoapps/ao-tempfiles</location> </offlineLink> <offlineLink> <url>https://oss.aoapps.com/tempfiles/servlet/apidocs/</url> <location>${project.build.directory}/offlineLinks/com.aoapps/ao-tempfiles-servlet</location> </offlineLink> <!-- ao-javadoc-offline: <groupId>com.sun.mail</groupId><artifactId>javax.mail</artifactId><classifier>javadoc</classifier> --> <!-- ao-javadoc-offline: <groupId>javax.servlet</groupId><artifactId>javax.servlet-api</artifactId><classifier>javadoc</classifier> --> <!-- ao-javadoc-offline: <groupId>javax.servlet.jsp</groupId><artifactId>javax.servlet.jsp-api</artifactId><classifier>javadoc</classifier> --> </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>javax.activation</groupId><artifactId>activation</artifactId><version>1.1.1</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-encoding-servlet</artifactId><version>4.2.0<!-- ${POST-SNAPSHOT} --></version> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-encoding-taglib</artifactId><version>5.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-io-buffer</artifactId><version>4.1.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-servlet-filter</artifactId><version>3.0.3<!-- ${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-tempfiles</artifactId><version>3.0.2<!-- ${POST-SNAPSHOT} --></version> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-tempfiles-servlet</artifactId><version>3.0.0<!-- ${POST-SNAPSHOT} --></version> </dependency> <dependency> <groupId>com.sun.mail</groupId><artifactId>javax.mail</artifactId><version>1.6.2</version> </dependency> <!-- javaee-web-api-bom: <groupId>javax.servlet</groupId><artifactId>javax.servlet-api</artifactId> --> <!-- javaee-web-api-bom: <groupId>javax.servlet.jsp</groupId><artifactId>javax.servlet.jsp-api</artifactId> --> <!-- 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-net-types</artifactId><version>2.0.2<!-- ${POST-SNAPSHOT} --></version> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-tlds</artifactId><version>2.0.0<!-- ${POST-SNAPSHOT} --></version> </dependency> <dependency> <groupId>org.apache.commons</groupId><artifactId>commons-lang3</artifactId><version>3.14.0</version> </dependency> <!-- javaee-web-api-bom: <groupId>javax.el</groupId><artifactId>javax.el-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>javax.activation</groupId><artifactId>activation</artifactId> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-encoding</artifactId> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-encoding-servlet</artifactId> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-encoding-taglib</artifactId> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-hodgepodge</artifactId> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-io-buffer</artifactId> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-lang</artifactId> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-servlet-filter</artifactId> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-servlet-util</artifactId> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-tempfiles</artifactId> </dependency> <dependency> <groupId>com.aoapps</groupId><artifactId>ao-tempfiles-servlet</artifactId> </dependency> <dependency> <groupId>com.sun.mail</groupId><artifactId>javax.mail</artifactId> </dependency> <dependency> <groupId>javax.servlet</groupId><artifactId>javax.servlet-api</artifactId> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId><artifactId>javax.servlet.jsp-api</artifactId> </dependency> </dependencies> </project>