mvn archetype:generate -DgroupId="com.mycompany.app" -DartifactId="my-app-id" -DtestLibrary="My-testLibrary" -DcompilerMode="My-compilerMode" -DarchetypeGroupId="pl.org.miki" -DarchetypeArtifactId="java8-quickstart-archetype" -DarchetypeVersion="1.0.0" -DinteractiveMode=false
| Лицензия |
Лицензия |
|---|---|
| Группа | Группаpl.org.miki |
| Идентификатор | Идентификаторjava8-quickstart-archetype |
| Версия | Версия1.0.0 |
| Тип | Типmaven-archetype |
| Описание |
Описаниеjava8-quickstart-archetype
Basic Java 8 archetype. Options:
-testLibrary: [junit, testng, none]. DEFAULT: junit. Adds the requested test library to the POM deps.
-compilerMode: [simple, test-only, retrolambda-main, retrolambda-all]. DEFAULT: simple.
--simple: everything is compiled as Java 8.
--test-only: set up test for Java 8, and main for Java 7.
--retrolambda-main: main code is compiled as Java 8, and then converted to Java 7 via retrolambda.
--retrolambda-all: all code is compiled as Java 8, and then converted to Java 7 via retrolambda.
NOTE: Retrolambda support provided "as is" - if you have any problems, please file a ticket on the GitHub page!
|
| Ссылка на сайт |
Ссылка на сайт |
| Система контроля версий |
Система контроля версий |
mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app> -DarchetypeGroupId=pl.org.miki -DarchetypeArtifactId=java8-quickstart-archetype -DarchetypeVersion=1.0.0 -DinteractiveMode=false