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)

  • 相关阅读:
    盒子模型之边框border
    CSS优先级特性之权重叠加
    CSS三大特性:层叠性、继承性、优先级
    行高
    单行文本垂直居中
    !important
    【DP专题】——[USACO13OPEN]照片Photo
    1:n Oberserver模式
    025_递归算法详解
    字符串移动问题
  • 原文地址:https://www.cnblogs.com/DKSoft/p/3403843.html
Copyright © 2011-2022 走看看