zoukankan      html  css  js  c++  java
  • 四。Hibernate 使用MAVEN工具

    maven工具的使用
    1.作用:打包项目以及jar包的版本管理
    2.使用步骤:
      a。下载maven工具,修改conf目录下的setting.xml文件
        <mirror>
          <id>alimaven</id>
          <name>aliyun maven</name>
          <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
          <mirrorOf>central</mirrorOf>
        </mirror>
      b.修改eclipse的maven配置
        window--preference--搜索maven--user setting--修改为maven根目录下的setting.xml文件--aply
      c。新建项目--右击项目名--Configer--convert to maven project
      d。修改项目中新出现的pom.xml。在这个xml中可以配置项目所需要的jar文件
        中央仓库搜索网址:https://mvnrepository.com/
    pom.xml:

    <dependencies>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-core</artifactId>
            <version>5.2.10.Final</version>
        </dependency>
    </dependencies>
  • 相关阅读:
    shell基础命令
    UITest 单元测试常用的断言
    UIColor 使用起来的坑
    appledoc 使用brew命令安装使用
    appledoc 使用
    Xcode升级 Alcatraz 无法使用
    APP多语言环境支持
    VVDocumenter 使用
    NSDate NSString相互转化
    iOS 常见设计模式
  • 原文地址:https://www.cnblogs.com/wlxslsb/p/10790728.html
Copyright © 2011-2022 走看看