Skip to content

Instantly share code, notes, and snippets.

@seriwb
Last active August 29, 2015 13:56
Show Gist options
  • Save seriwb/9138735 to your computer and use it in GitHub Desktop.
Save seriwb/9138735 to your computer and use it in GitHub Desktop.
Mavenのsettings.xmlのテンプレート。不要ところは閉じタグ(例えば<proxies/>)にしてしまってOK。
<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">
<localRepository>E:/home/.m2/repository</localRepository>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers/>
<mirrors/>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>"replace proxy hostname"</host>
<port>"replace proxy portnumber"</port>
<username>"replace username"</username>
<password>"replace password"</password>
<nonProxyHosts></nonProxyHosts>
</proxy>
</proxies>
<profiles/>
<activeProfiles/>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment