Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
SOWI Administratoren
chocolatey-packages
Commits
7de53f3e
Commit
7de53f3e
authored
Oct 04, 2012
by
Elliando Dias
Browse files
Merge pull request #4 from Iristyle/patch-1
Bad Download Url for Maven
parents
01951a18
e5e4b5d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Maven/tools/chocolateyInstall.ps1
View file @
7de53f3e
...
@@ -21,7 +21,8 @@ $m2_bin = Join-Path $m2_home 'bin'
...
@@ -21,7 +21,8 @@ $m2_bin = Join-Path $m2_home 'bin'
$m2_repo
=
Join-Path
$
env
:
USERPROFILE
'.m2'
$m2_repo
=
Join-Path
$
env
:
USERPROFILE
'.m2'
#$url = "http://apache.mirror.pop-sc.rnp.br/apache/maven/binaries/$name-bin.zip"
#$url = "http://apache.mirror.pop-sc.rnp.br/apache/maven/binaries/$name-bin.zip"
$url
=
"http://ftp.unicamp.br/pub/apache/maven/binaries/
$name
-bin.zip"
#$url = "http://ftp.unicamp.br/pub/apache/maven/binaries/$name-bin.zip"
$url
=
"http://www.bizdirusa.com/mirrors/apache/maven/maven-3/
$version
/binaries/
$name
-bin.zip"
[
Environment
]::
SetEnvironmentVariable
(
'M2_HOME'
,
$m2_home
,
"User"
)
[
Environment
]::
SetEnvironmentVariable
(
'M2_HOME'
,
$m2_home
,
"User"
)
[
Environment
]::
SetEnvironmentVariable
(
'MAVEN_OPTS'
,
'-Xms256m'
,
"User"
)
[
Environment
]::
SetEnvironmentVariable
(
'MAVEN_OPTS'
,
'-Xms256m'
,
"User"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment