- JBoss:Developer's Guide
- Elvadas Nono Woguia
- 261字
- 2021-07-02 18:37:24
Creating Maven projects
Use the command list to see the commands available and the man command to get help on a specific command's usage. Forge commands work both interactively and with options. To create a new project, use the project-new command, and provide answers to the interactive questions asked.
[jbdevgWorkspace]$ project-new beosbank-forge-demo
***INFO*** Required inputs not satisfied, entering interactive mode
* Project name: beosbank-forge-demo
? Top level package [org.beosbank.forge.demo]: com.beosbank.forge.demo
? Version [1.0.0-SNAPSHOT] HIT ENTER to pick the default version
? Final name: beosbank-forge-demo
? Project location [/Users/enonowog/jbdevgWorkspace]:
? Use Target Location Root? (If specified, it won't create a subdirectory inside the specified Project location) [y/N]: N
[0] (x) war
[1] ( ) jar
[2] ( ) parent
[3] ( ) forge-addon
[4] ( ) resource-jar
[5] ( ) ear
[6] ( ) from-archetype
[7] ( ) generic
Press <ENTER> to confirm, or <CTRL>+C to cancel.* Project type: [0-7] 1
[0] (x) Maven
Press <ENTER> to confirm, or <CTRL>+C to cancel.* Build system: [0] 0
[0] ( ) JAVA_EE_7
[1] ( ) JAVA_EE_6
[2] ( ) NONE
Press <ENTER> to confirm, or <CTRL>+C to cancel.
? Stack (The technology stack to be used in this project): [0-2] 2
***SUCCESS*** Project named 'beosbank-forge-demo' has been created.
The project is created with the specified input options and is available in the workspace immediately:
By default, the Forge CLI relies on your system's command-line font configuration. After creating a project, the next step may be to add a class; let's see how to create Java class in the project source folder using the Forge console.
推薦閱讀
- ASP.NET Web API:Build RESTful web applications and services on the .NET framework
- Learning Real-time Processing with Spark Streaming
- Vue.js 3.x從入門到精通(視頻教學版)
- 從程序員到架構師:大數據量、緩存、高并發、微服務、多團隊協同等核心場景實戰
- Python編程實戰
- PHP+Ajax+jQuery網站開發項目式教程
- Geospatial Development By Example with Python
- Python青少年趣味編程
- Android應用開發實戰(第2版)
- Building Clouds with Windows Azure Pack
- Java核心技術速學版(第3版)
- Visual FoxPro程序設計實驗教程
- Expert Cube Development with SSAS Multidimensional Models
- Serverless從入門到進階:架構、原理與實踐
- 谷歌JAX深度學習從零開始學