zoukankan      html  css  js  c++  java
  • maven 记录

    clean compile

    //推荐使用UTF-8编译

      <build>
          <plugins>
              <plugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-compiler-plugin</artifactId>
                  <version>3.1</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                </configuration>
              </plugin>

     

    clean install

     

    clean package

    //如果需要把依赖的lib都copy到一个位置

    <!-- 把依赖的jar包拷到lib目录下 -->
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
            <execution>
                <id>copy-dependencies</id>
                <phase>package</phase>
                <goals>
                    <goal>copy-dependencies</goal>
                </goals>
                <configuration>
                    <outputDirectory>${project.build.directory}/lib</outputDirectory>
                    <overWriteReleases>false</overWriteReleases>
                    <overWriteSnapshots>false</overWriteSnapshots>
                    <overWriteIfNewer>true</overWriteIfNewer>
                </configuration>
            </execution>
        </executions>
    </plugin>

     

    如果修改一个项目(eframe)中的代码,修改完后需要 运行 clean install (如果有搭建私有仓库 运行 clean deploy)

  • 相关阅读:
    7.19 repeater的用法:
    7.18 内置对象
    7.17 三级联动 控件及JS简单使用
    7.15 简单控件 以及 复合控件
    7.14 Repeater
    7.14 ASP.NET介绍 基础
    phpcms图文总结(转载)
    phpcms图文总结(转)
    商业php软件的应用
    php前段时间复习
  • 原文地址:https://www.cnblogs.com/DKSoft/p/3403843.html
Copyright © 2011-2022 走看看