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>
         
  • 相关阅读:
    oracle-PL/SQL1
    ROS之Gazebo
    ROS之urdf 2
    ROS之urdf 1
    ROS 面部识别
    ROS x Arduino
    STM32F0的低功耗模式
    项目进度
    C++函数返回为引用
    STM32F0的多路ADC 无DMA
  • 原文地址:https://www.cnblogs.com/whm-blog/p/7154191.html
Copyright © 2011-2022 走看看