jbang-export-mavenrepo(1)

Name

jbang-export-mavenrepo - Exports directory that can be used to publish as a maven repository

Synopsis

jbang export mavenrepo -o [-hn] [--force] --fresh [--insecure] --quiet --verbose [-a=<artifact>] [--config=<config>] [-g=<group>] [-j=<javaVersion>] [-O=<outputFile>] [-v=<version>] [--cp=<classpaths>]…​ [-D=<String=String>]…​ [--deps=<dependencies>]…​ [--repos=<repositories>]…​ scriptOrFile

Description

Exports directory that can be used to publish as a maven repository

Options

-a, --artifact=<artifact>

The artifact ID to use for the generated POM.

--config=<config>

Path to config file to be used instead of the default

--cp, --class-path=<classpaths>

Add class path entries.

-D, <String=String>

set a system property

--deps=<dependencies>

Add additional dependencies (Use commas to separate them).

--force

Force export, i.e. overwrite exported file if already exists

--fresh

Make sure we use fresh (i.e. non-cached) resources.

-g, --group=<group>

The group ID to use for the generated POM.

-h, --help

Display help/info. Use 'jbang <command> -h' for detailed usage.

--insecure

Enable insecure trust of all SSL certificates.

-j, --java=<javaVersion>

JDK version to use for running the script.

-n, --native

Build using native-image

-o, --offline

Work offline. Fail-fast if dependencies are missing. No connections will be attempted

-O, --output=<outputFile>

The name or path to use for the exported file. If not specified a name will be determined from the original source reference and export flags.

--quiet

jbang will be quiet, only print when error occurs.

--repos=<repositories>

Add additional repositories.

-v, --version=<version>

The version to use for the generated POM.

--verbose

jbang will be verbose on what it does.

Arguments

scriptOrFile

A file or URL to a Java code file