Skip to content

spassignat/maven-http-directory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

This library is an extension for maven. It allows to download artifact from a basic http server, non fully maven compliant which stores artifact with the same path structure but without any index files.

This extension will attempt the download of com.example:my-artifact:1.2.3 is <repository_url>/com/example/my-artifact/1.2.3/my-artifact-1.2.3.jar

Maven compatibility

It's build for maven 3.9

How to use it

Add an extension in your project:

<build>
    <extensions>
        <extension>
            <groupId>fr.exygen</groupId>
            <artifactId>maven-http-directory</artifactId>
            <version>1.0-SNAPSHOT</version>
        </extension>
    </extensions>

Add a repository

<repositories>
    <repository>
        <url>http://my-server/repository/path/</url>
        <layout>http-directory</layout>
        <id>myserver</id>
    </repository>

Add your dependencies, just as usual:

<dependencies>
    <dependency>
        <groupId>com.example</groupId>
        <artifactId>my-artifact</artifactId>
        <version>1.2.3</version>
        <scope>compile</scope>
    </dependency>
	

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages