HTML to XHTML Maven Plugin

A maven plugin converting HTML file to XHTML file

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

com.cosium.html
Идентификатор

Идентификатор

html-to-xhtml-maven-plugin
Последняя версия

Последняя версия

1.2
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

HTML to XHTML Maven Plugin
A maven plugin converting HTML file to XHTML file
Ссылка на сайт

Ссылка на сайт

https://github.com/cosium/html-to-xhtml-maven-plugin
Организация-разработчик

Организация-разработчик

Cosium
Система контроля версий

Система контроля версий

https://github.com/Cosium/html-to-xhtml-maven-plugin

Скачать html-to-xhtml-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>com.cosium.html</groupId>
    <artifactId>html-to-xhtml-maven-plugin</artifactId>
    <version>1.2</version>
</plugin>

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.jsoup : jsoup jar 1.13.1
commons-io : commons-io jar 2.6
org.apache.commons : commons-lang3 jar 3.9
org.apache.maven : maven-core jar 3.3.9
org.apache.maven : maven-plugin-api jar 3.3.9
org.codehaus.plexus : plexus-utils jar 3.2.1

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3

test (3)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter jar 5.6.2
org.assertj : assertj-core jar 3.8.0
ch.qos.logback : logback-classic jar 1.2.3

Модули Проекта

Данный проект не имеет модулей.

Maven Central Latest CI

HTML To XHTML Maven Plugin

<build>
  <plugins>
    <plugin>
      <groupId>com.cosium.html</groupId>
      <artifactId>html-to-xhtml-maven-plugin</artifactId>
      <version>${html-to-xhtml-maven-plugin.version}</version>
      <executions>
        <!-- On Maven generate-resources phase, convert ${project.basedir}/example.html to  ${project.build.outputDirectory}/example.xhtml -->
        <execution>
          <id>convert-html-to-xhtml</id>
          <goals>
            <goal>html-to-xhtml</goal>
          </goals>
        </execution>
      </executions>
      <configuration>
        <conversions>
          <conversion>
            <htmlInputFilePath>${project.basedir}/example.html</htmlInputFilePath>
            <xhtmlOutputFilePath>${project.build.outputDirectory}/example.xhtml</xhtmlOutputFilePath>
            <!--Optional-->
            <encoding>UTF-8</encoding>
            <tagElementToWrapDocumentIn>div</tagElementToWrapDocumentIn>
          </conversion>
        </conversions>
      </configuration>
    </plugin>
  </plugins>
</build>
com.cosium.html

Версии библиотеки

Версия
1.2
1.1
1.0