Skip to content

Anshika2203/Maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven-plugin

Synopsis

This plugin is used to build Java application using Apache Maven.

Plugin Image

The plugin harnesscommunitytest/maven-plugin is available for the following architectures:

OS Tag
latest linux-amd64/arm64
linux/amd64 linux-amd64
linux/arm64 linux-arm64
windows/amd64 windows-amd64

Parameters

Parameter Comments
context_dir
optional
The context directory within the source repository where pom.xml is found to execute the maven goals. Defaults to Drone workspace root.
goals
optional
An array of maven goals to run.Defaults: -DskipTests clean install.
maven_modules
optional
An array of maven modules to be built incase of a multi module maven project.
maven_mirror_url
optional
The Maven repository mirror url.
server_user
optional
The username for the maven repository manager server.
server_password
optional
The password for the maven repository manager server.
proxy_user
optional
The username for the proxy server.
proxy_password
optional
The password for the proxy server.
proxy_port
optional
Port number for the proxy server.
proxy_host
optional
Proxy server Host.
proxy_non_proxy_hosts
optional
An array of non proxy server hosts.
proxy_protocol
optional
Protocol for the proxy ie http or https.

Building

Build the plugin image:

./scripts/build.sh

Examples

# Plugin YAML
- step:
    type: Plugin
    name: maven-plugin-arm64
    identifier: maven-plugin-arm64
    spec:
        connectorRef: harness-docker-connector
        image: harnesscommunitytest/maven-plugin:linux-arm64
       

- step:
    type: Plugin
    name: maven-plugin-amd64
    identifier: maven-plugin-amd64
    spec:
        connectorRef: harness-docker-connector
        image: harnesscommunitytest/maven-plugin:linux-amd64
        

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published