Example usage for org.apache.maven.cli MavenCli main

List of usage examples for org.apache.maven.cli MavenCli main

Introduction

In this page you can find the example usage for org.apache.maven.cli MavenCli main.

Prototype

public static void main(String[] args) 

Source Link

Usage

From source file:org.debian.maven.Wrapper.java

License:Apache License

/**
 * Wraps maven's main function// w w w.j  a v  a 2s. co m
 */
public static int main(String[] args) throws IOException {
    Properties extraArguments = readProperties(EXTRA_PROPERTIES_PROPERTY);
    String[] newArgs = updateCommandLine(extraArguments, args);

    MavenCli.main(newArgs);
    return 0;
}