zoukankan      html  css  js  c++  java
  • maven plugins

    <build>
    <finalName>lessons</finalName>
    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.2</version>
    <configuration>
    <source>${java.version}</source><!-- 源代码开发使用版本 -->
    <target>${java.version}</target><!-- 源代码编译所使用的版本 -->
    <encoding>${java.encoding}</encoding>
    <useIncrementalCompilation>false</useIncrementalCompilation>
    </configuration>
    </plugin>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-resources-plugin</artifactId>
    <version>2.6</version>
    <configuration>
    <encoding>${java.resource.encoding}</encoding>
    <resources>
    <resource>
    <directory>${basedir}/src/main/java</directory>
    <includes>
    <include>**/*.xml</include>
    <include>**/*.xsd</include>
    </includes>
    </resource>
    <resource>
    <directory>${basedir}/src/main/resources</directory>
    <filtering>true</filtering>
    <includes>
    <include>**/**</include>
    </includes>
    </resource>
    </resources>
    </configuration>
    </plugin>
    <plugin>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>2.19.1</version>
    <configuration>
    <argLine>-Dfile.encoding=UTF-8 -Dproject.name=beehive-detail</argLine>
    <includes>
    <include>**/*Tester.java</include>
    <include>**/*Test.java</include>
    </includes>
    <argLine>-Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m</argLine>
    </configuration>
    </plugin>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-source-plugin</artifactId>
    <version>2.4</version>
    <executions>
    <execution>
    <id>attach-sources</id>
    <goals>
    <goal>jar</goal>
    </goals>
    </execution>
    </executions>
    </plugin>

    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-war-plugin</artifactId>
    <version>2.3</version>
    </plugin>


    </plugins>
    </build>

  • 相关阅读:
    A
    快速幂
    思维+LCA
    补题
    Manacher-马拉车算法
    AC自动机
    欢迎来怼-Alpha周(2017年10月19)贡献分配规则和分配结果
    欢迎来怼--第二十一次Scrum会议
    作业要求 20171026 每周例行报告
    Alpha发布-----欢迎来怼团队
  • 原文地址:https://www.cnblogs.com/sidesky/p/10563473.html
Copyright © 2011-2022 走看看