Fight the Future

Java言語とJVM、そしてJavaエコシステム全般にまつわること

Maven2,3でのプロキシ設定

C:\Documents and Settings\ユーザ名\.m2

<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 
	http://maven.apache.org/xsd/settings-1.0.0.xsd"> 
	<proxies> 
	<proxy> 
		<active>true</active> 
		<protocol>http</protocol> 
		<host>xxx.xx.xx</host> 
		<port>8080</port> 
	</proxy> 
	</proxies> 
		<profiles> 
			<profile> 
			<id>xxx</id> 
			<properties> 
			<downloadSources>true</downloadSources> 
			</properties> 
		</profile> 
	</profiles> 
	<activeProfiles> 
		<activeProfile>xxx</activeProfile> 
	</activeProfiles> 
</settings>