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>
         
  • 相关阅读:
    C# linq根据属性分组,并累加计算
    AR模板分组显示(C#打印)
    显示单据信息(类似打印)
    C#同步方法中调用异步方法
    win10 Git安装或者使用出现128问题
    简单的分页查询实现
    数据库批量插入【数据库】
    VideoView
    音乐播放
    画画板案例
  • 原文地址:https://www.cnblogs.com/whm-blog/p/7154191.html
Copyright © 2011-2022 走看看