Maven Trang Plugin

This simple plugin invokes Trang on a set of input files to produce an output file. For more information about Trang, see http://www.thaiopensource.com/relaxng/trang.html.

Лицензия

Лицензия

Free to use as is
Категории

Категории

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

Группа

net.sigmalab.trang
Идентификатор

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

trang-maven-plugin
Последняя версия

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

1.2
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Maven Trang Plugin
This simple plugin invokes Trang on a set of input files to produce an output file. For more information about Trang, see http://www.thaiopensource.com/relaxng/trang.html.
Система контроля версий

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

https://github.com/schrepfler/trang-maven-plugin

Скачать trang-maven-plugin

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

<plugin>
    <groupId>net.sigmalab.trang</groupId>
    <artifactId>trang-maven-plugin</artifactId>
    <version>1.2</version>
</plugin>

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.3.9
com.thaiopensource : trang jar 20091111

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

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

trang-maven-plugin

Build Status

This simple plugin invokes the Trang library on a set of xml schema input files to and produces a translated schema as output. For more information about Trang, see http://www.thaiopensource.com/relaxng/trang.html.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
        <plugin>
          <groupId>net.sigmalab.trang</groupId>
          <artifactId>trang-maven-plugin</artifactId>
          <version>1.2</version>
        </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

Trang goal

This example will convert src/main/rnc/schema.rnc to XSD format and place the output in target/trang/schema.xsd.

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>net.sigmalab.trang</groupId>
        <artifactId>trang-maven-plugin</artifactId>
        <version>1.2</version>
        <executions>
          <execution>
            <id>trang-convert</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>trang</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <inputFiles>
            <inputFile>src/main/rnc/schema.rnc</inputFile>
          </inputFiles>
          <outputFileName>schema.xsd</outputFileName>
        </configuration>
      </plugin>
    </plugins>
  </build>
   ...
</project>

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

Версия
1.2