Difference between revisions of "Mvn"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | [[wikipedia:mvn]] | ||
+ | |||
+ | |||
+ | * <code>[[mvn compile]]</code> | ||
+ | * <code>[[mvn install]]</code> | ||
+ | * <code>mvn -B package --file pom.xml</code> | ||
+ | * <code>[[mvn --help]]</code> | ||
+ | |||
+ | |||
<pre> | <pre> | ||
mvn | mvn | ||
Line 27: | Line 36: | ||
* <code>[[mvn compile]]</code> | * <code>[[mvn compile]]</code> | ||
* <code>[[mvn install]]</code> | * <code>[[mvn install]]</code> | ||
+ | * [[mvnw]] | ||
+ | * <code>[[travis_wait]] mvn install</code> | ||
== See also == | == See also == |
Latest revision as of 17:48, 10 April 2022
mvn compile
mvn install
mvn -B package --file pom.xml
mvn --help
mvn WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.091 s [INFO] Finished at: 2021-04-29T15:44:58+04:00 [INFO] ------------------------------------------------------------------------ [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException
Related[edit]
mvn compile
mvn install
- mvnw
travis_wait mvn install
See also[edit]
Advertising: