zoukankan      html  css  js  c++  java
  • maven 中 指定jdk 和 编译编码,仓库位置

    <!-- 配置编译选项 -->
         <profile>
                <id>jdk1.8</id>    
                <activation>   
                    <activeByDefault>true</activeByDefault>    
                    <jdk>1.8</jdk>   
                </activation>    
                <properties>   
                    <maven.compiler.source>1.8</maven.compiler.source>    
                    <maven.compiler.target>1.8</maven.compiler.target>    
                    <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>   
                    <encoding>UTF-8</encoding>  
                </properties>   
                
                <repositories>
                    <repository>
                      <id>local-server</id>
                      <name>local repository</name>
                      <url>http://st39:8081/nexus/content/groups/public/</url>
                      <layout>default</layout>
                      <snapshotPolicy>always</snapshotPolicy>
                      <releases>  
                        <enabled>true</enabled>  
                      </releases>  
                      <snapshots>  
                        <enabled>true</enabled>  
                      </snapshots> 
                    </repository>
                    
                    <repository>
                      <id>wso2</id>
                      <name>local repository</name>
                      <url>http://dist.wso2.org/maven2/</url>
                      <layout>default</layout>
                      <snapshotPolicy>always</snapshotPolicy>
                      <releases>  
                        <enabled>true</enabled>  
                      </releases>  
                      <snapshots>  
                        <enabled>true</enabled>  
                      </snapshots> 
                    </repository>
                    
                    <repository>
                      <id>central</id>
                      <name>central</name>
                      <url>http://central.maven.org/maven2/</url>
                      <layout>default</layout>
                      <snapshotPolicy>always</snapshotPolicy>
                      <releases>  
                        <enabled>true</enabled>  
                      </releases>  
                      <snapshots>  
                        <enabled>true</enabled>  
                      </snapshots> 
                    </repository>
                    
                    
                </repositories>
         </profile>
         
  • 相关阅读:
    Thymeleaf模板引擎语法
    kali更新软件源
    解决kali安装成功后没有声音的问题
    SSO的误区及建议
    关于 target="_blank"漏洞的分析
    好久没来了,平时一些笔记都记在印象笔记,长传一波
    BIOS基础
    CSRF的本质及防御
    linux下stricky
    CSRF与xss的区别
  • 原文地址:https://www.cnblogs.com/whm-blog/p/7154191.html
Copyright © 2011-2022 走看看