Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-java
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 老徐
  • wiki-java
  • Wiki
  • maven environment configuration

Last edited by 梅俊辉 Jun 16, 2016
Page history
This is an old version of this page. You can view the most recent version or browse the history.

maven environment configuration

maven插件下载
apache-maven-3.1.1.rar

在eclipse中,选择window>maven,左边的树形菜单中单击 installations, Add

1

添加自己的maven插件

2

3

maven> User Settings, 设置maven的 settings.xml配置文件
4

此处将maven下载的jar包放在d:/m2,如果想要修改存放位置,可直接修改maven的settings.xml   

5

选中从git上checkout下来的ucs的项目,maven>update Project
6

选中Force Update of Snapshots/Release
7

等待jar包下载,,
完成后,
右击ucs_project, debug as>maven install
8

控制台显示 build success代表成功

通过tomcat插件启动项目:
右击ucs_site, debug as>debug conconfigrations

选择左边的maven build, 右击new

输入name(name可随意输入)
单击BrowseWorkspace,选择ucs_site项目,
Goals输入 clean tomcat6:run
单击debug,项目运行。

9

Clone repository
  • git configuration and simple use
  • Home
  • java code specification
  • maven environment configuration
  • shuidi js develope
  • ucs_project environment configuration