0


maven setting 配置

<?xml version="1.0" encoding="UTF-8"?>

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 " target="_blank">http://maven.apache.org/xsd/settings-1.0.0.xsd">

<localRepository>/Users/xxx/.m2/repository</localRepository>

<pluginGroups></pluginGroups>

<proxies></proxies>

<profiles> <profile>

<id>nexus</id>

<repositories> <repository>

<id>huaweicloud</id>

<url>https://mirrors.huaweicloud.com/repository/maven/huaweicloudsdk/

</repository> <repository>

<id>maven-public</id>

<url>http://maven.aliyun.com/nexus/content/groups/public/

<releases>

<enabled>true</enabled>

</releases> <snapshots>

<enabled>true</enabled>

</snapshots> </repository> </repositories> </profile> <profile>

<id>jdk-1.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>

</properties> </profile> </profiles> <activeProfiles>

<activeProfile>nexus</activeProfile>

</activeProfiles> </settings>
标签: maven java jar

本文转载自: https://blog.csdn.net/chenshankongW/article/details/129727835
版权归原作者 chenshankongW 所有, 如有侵权,请联系我们删除。

“maven setting 配置”的评论:

还没有评论