attoparser
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.attoparser</groupId>
<artifactId>attoparser</artifactId>
<version>2.0.9.RELEASE</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
~ =============================================================================
~
~ Copyright (c) 2012-2026 Attoparser (https://www.attoparser.org)
~
~ Licensed 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 https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.attoparser</groupId>
<artifactId>attoparser</artifactId>
<packaging>jar</packaging>
<version>2.0.9.RELEASE</version>
<name>attoparser</name>
<description>Powerful, fast and easy to use HTML and XML parser for Java</description>
<url>https://www.attoparser.org</url>
<organization>
<name>Attoparser</name>
<url>https://www.attoparser.org</url>
</organization>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Attoparser</name>
<organization>Attoparser</organization>
<organizationUrl>https://www.attoparser.org</organizationUrl>
</developer>
</developers>
<scm>
<url>https://github.com/attoparser/attoparser</url>
<developerConnection>scm:git:git@github.com:attoparser/attoparser</developerConnection>
</scm>
<distributionManagement>
<snapshotRepository>
<id>central-portal-snapshots</id>
<name>Central Portal Snapshots</name>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>central-portal-snapshots</id>
<name>Central Portal Snapshots</name>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<properties>
<java.version>8</java.version>
<javadoc.version>${java.version}</javadoc.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.release>${java.version}</maven.compiler.release>
<project.build.sourceEncoding>US-ASCII</project.build.sourceEncoding>
<project.build.propertiesEncoding>ISO-8859-1</project.build.propertiesEncoding>
<resource.delimiter>@</resource.delimiter>
<!-- These are needed for showing the build timestamp correctly at attoparser.properties. -->
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format>
<!-- ====================== -->
<!-- OPERATIONAL flags -->
<!-- ====================== -->
<!-- Only the 'releases' profile will enable deployment of artifacts. -->
<artifact.deploy.disabled>true</artifact.deploy.disabled>
<!-- ====================== -->
<!-- MODULE configuration -->
<!-- ====================== -->
<module.name>${project.artifactId}</module.name>
<!-- ========================= -->
<!-- Configure JavaDoc plugin -->
<!-- ========================= -->
<maven.javadoc.source>${javadoc.version}</maven.javadoc.source>
<maven.javadoc.release>${javadoc.version}</maven.javadoc.release>
<!-- ====================== -->
<!-- DEPENDENCY versions -->
<!-- ====================== -->
<commons-lang3.version>3.20.0</commons-lang3.version>
<commons-io.version>2.22.0</commons-io.version>
<junit.version>5.14.4</junit.version>
<!-- ====================== -->
<!-- MAVEN PLUGIN versions -->
<!-- ====================== -->
<maven-clean-plugin.version>3.5.0</maven-clean-plugin.version>
<maven-dependency-plugin.version>3.9.0</maven-dependency-plugin.version>
<maven-compiler-plugin.version>3.14.1</maven-compiler-plugin.version>
<maven-resources-plugin.version>3.4.0</maven-resources-plugin.version>
<maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version>
<maven-failsafe-plugin.version>3.5.4</maven-failsafe-plugin.version>
<maven-jar-plugin.version>3.5.0</maven-jar-plugin.version>
<maven-bundle-plugin.version>6.0.2</maven-bundle-plugin.version>
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
<maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
<maven-scm-plugin.version>2.2.1</maven-scm-plugin.version>
<maven-antrun-plugin.version>3.2.0</maven-antrun-plugin.version>
<maven-assembly-plugin.version>3.8.0</maven-assembly-plugin.version>
<maven-versions-plugin.version>2.21.0</maven-versions-plugin.version>
<maven-central-publishing-plugin.version>0.10.0</maven-central-publishing-plugin.version>
</properties>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>org/attoparser/attoparser.properties</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>org/attoparser/attoparser.properties</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>.</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE.txt</include>
<include>NOTICE.txt</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<!-- maven-gpg-plugin, maven-deploy-plugin and central-publishing-maven-plugin are kept in -->
<!-- pluginManagement (instead of declared directly below) on purpose: they should only run -->
<!-- when the 'releases' profile is active, which pulls them in from here. -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<configuration>
<skip>${artifact.deploy.disabled}</skip>
</configuration>
<executions>
<execution>
<id>gpg-sign</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>releases@attoparser.org</keyname>
</configuration>
</execution>
</executions>
</plugin>
<!-- IMPORTANT: maven-deploy-plugin is skipped. Deployment will always -->
<!-- be handled by central-publishing-maven-plugin. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!-- IMPORTANT: central-publishing-maven-plugin works like this: -->
<!-- * If there are no explicit executions configured for it, it will -->
<!-- add an execution of its "publish" goal to the "deploy" phase, -->
<!-- and also search for the presence of maven-deploy-plugin and -->
<!-- nexus-staging-maven-plugin and REMOVE their executions, so -->
<!-- that only central-publishing-maven-plugin executes during -->
<!-- the "deploy" phase. -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${maven-central-publishing-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<skipPublishing>${artifact.deploy.disabled}</skipPublishing>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<!-- This will generate metadata for reflection on method parameters (JDK8+) -->
<parameters>true</parameters>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<propertiesEncoding>${project.build.propertiesEncoding}</propertiesEncoding>
<delimiters>
<!-- We set the resource delimiters to only @*@ in order to avoid the ${*} syntax -->
<!-- colliding with properties meant to be resolved by Spring. -->
<delimiter>${resource.delimiter}</delimiter>
</delimiters>
<useDefaultDelimiters>false</useDefaultDelimiters>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-failsafe-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
<configuration>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
</configuration>
</plugin>
<!-- Generates an OSGi-enabled MANIFEST.MF (minimal, all packages exported). -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${maven-bundle-plugin.version}</version>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<!-- Use the OSGi-enabled MANIFEST.MF generated by the maven-bundle-plugin -->
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<addMavenDescriptor>false</addMavenDescriptor>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<!-- These two entries are non-standard, specified by the Apache Software -->
<!-- Foundation in their release preparation procedures as a way to pass this -->
<!-- information on to the library users. See: -->
<!-- http://commons.apache.org/releases/prepare.html -->
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
<!-- Set the Built-By attribute to avoid displaying specific usernames. -->
<Built-By>attoparser</Built-By>
<!-- Setting this automatic module name will fix the module name used by -->
<!-- attoparser even if the library is not yet fully modularised. -->
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<show>protected</show>
<noqualifier>java.lang</noqualifier>
<source>${maven.javadoc.source}</source>
<release>${maven.javadoc.release}</release>
<overview>${basedir}/src/main/javadoc/overview.html</overview>
<javadocDirectory>${basedir}/src/main/javadoc</javadocDirectory>
<outputDirectory>${project.build.directory}</outputDirectory>
<doclint>all,-missing</doclint>
</configuration>
<executions>
<execution>
<id>javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>source-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>${maven-scm-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
<executions>
<!-- Copy javadoc's "element-list" file to "package-list" in order to allow -->
<!-- projects using versions of the javadoc tool < JDK9 to properly link to -->
<!-- the project's javadoc as an external link. -->
<!-- NOTE this modifies the javadoc AFTER the creation of the jar as it is not -->
<!-- possible to do so by previously configuring javadoc:javadoc in the -->
<!-- prepare-package phase because this "package-list" modification would trigger a -->
<!-- second execution of the javadoc tool in the javadoc:jar goal. -->
<execution>
<id>copy-javadoc-element-list-to-package-list</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target name="copy javadocs element-list to package-list">
<copy file="${project.build.directory}/apidocs/element-list"
tofile="${project.build.directory}/apidocs/package-list"
failonerror="false" />
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<executions>
<execution>
<id>make-assembly-dist</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>${project.basedir}/src/assembly/dist.xml</descriptor>
</descriptors>
<appendAssemblyId>true</appendAssemblyId>
<finalName>${project.artifactId}-${project.version}</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${maven-versions-plugin.version}</version>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>releases</id>
<properties>
<artifact.deploy.disabled>false</artifact.deploy.disabled>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>