java 项目配置

一.eclipse配置

一.修改编码
1.general\workspace\text file encoding配置utf-8
2.web Jsp Files encoding utf-8
二.修改字体
1.general\appearance\colors and fonts\Java editor text font courier new (我喜欢times new)
三.修改jdk路劲
1.java\Installed JREs add
四.导入模板
java\Code Style \Formatter

=============================================================

二.maven配置

一.本地仓库
apache-maven-3.2.3\conf
D:\repository
二.私服

 <mirror>
      <id>nexusid>
      <mirrorOf>*mirrorOf>
      <name>Human Readable Name for this Mirror.name>
      <url>http://maven.ifacg.com:8081/nexus/content/groups/public/url>
mirror>

<mirror>
    <id>nexus-aliyunid>
    <name>Nexus aliyunname>
    <url>http://maven.aliyun.com/nexus/content/groups/public/url>
    <mirrorOf>centralmirrorOf>
mirror>

三.上传账号

<server>
         <id>nexusid>
         <username>deploymentusername>
         <password>deployment123password>
       server>

四.eclipse配置maven
maven /installactions/
installactions user需要打钩
user setting 选择本地setting.xml

你可能感兴趣的:(java 项目配置)