Skip to content

Wildfly module for handling 'maven:' urls

Notifications You must be signed in to change notification settings

rombow/maven-url-handler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maven-url-handler

Wildfly module for handling maven: urls

Handling URL protocol for this format:

install

This artifact must be installed as a wildfly module and server must be started with the additional JAVA_OPT value: -Djboss.protocol.handler.modules=com.btmssds.maven.protocol

installing with jboss-cli.sh

module add --name=com.btmssds.maven.protocol --resources=maven-url-handler-module-1.0.0.jar

usage

maven:hu.icellmobilsoft.coffee:coffee-dto-xsd:jar::!/xsd/hu/icellmobilsoft/coffee/dto/common/common.xsd
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
    <public
            publicId="http://common.dto.coffee.icellmobilsoft.hu/common"
            uri="maven:hu.icellmobilsoft.coffee:coffee-dto-xsd:jar::!/xsd/hu/icellmobilsoft/coffee/dto/common/common.xsd" /> (1)
</catalog>
  1. Schema definition will be read from the maven artifact hu.icellmobilsoft.coffee:coffee-dto-xsd:jar from the path /xsd/hu/icellmobilsoft/coffee/dto/common/common.xsd

format

maven:groupId:artifactId:package:version:!file_path

  • protocol - the URL schema protocol [maven]

  • groupId - the maven groupId [hu.icellmobilsoft.coffee.dto.xsd]

  • artifactId - the maven artifactId [coffee-dto-xsd]

  • package - the maven package [jar]

  • version - the maven version, optional

  • file_path - the path of the .xsd file inside the jar

About

Wildfly module for handling 'maven:' urls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%