Deploy with Maven Inside Eclipse - eclipse

I am attempting to deploy with maven inside eclipse Version: 2021-06 (4.20.0)
Build id: 20210612-2011 after upgrading Eclipse when CodeMix ruined my previous eclipse install (whihc worked). I can successfully deploy from the command line and I have set Eclipse to read my settings file:
[DEBUG] Reading global settings from C:\Users\neilb\.m2\settings.xml
[DEBUG] Reading user settings from C:\Users\neilb\.m2\settings.xml
The pom is pointing to the correct repos and the details in the settings are correct and we know this because it deploys in the console. However when I try to deploy inside Eclipse I get a 401:
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy' with basic configurator -->
[DEBUG] (f) artifact = com.ziath.datapaq:scanner:jar:1.5.29
[DEBUG] (f) attachedArtifacts = []
[DEBUG] (s) localRepository = id: local
url: file:///C:/Users/neilb/.m2/repository/
layout: default
snapshots: [enabled => true, update => always]
releases: [enabled => true, update => always]
blocked: false
[DEBUG] (f) offline = false
[DEBUG] (f) packaging = jar
[DEBUG] (f) pomFile = C:\Users\neilb\Documents\GitHub\scanner\pom.xml
[DEBUG] (f) project = MavenProject: com.ziath.datapaq:scanner:1.5.29 # C:\Users\neilb\Documents\GitHub\scanner\pom.xml
[DEBUG] (f) retryFailedDeploymentCount = 1
[DEBUG] (f) skip = false
[DEBUG] (f) updateReleaseInfo = false
[DEBUG] -- end configuration --
[DEBUG] Using connector AetherRepositoryConnector with priority 100.0 for http://10.9.8.246:8081/repository/lib-releases/ with username=admin, password=***
[INFO] Uploading to : http://10.9.8.246:8081/repository/lib-releases/com/ziath/datapaq/scanner/1.5.29/scanner-1.5.29.pom
[INFO] Uploading to : http://10.9.8.246:8081/repository/lib-releases/com/ziath/datapaq/scanner/1.5.29/scanner-1.5.29.jar
[INFO] Uploaded to : http://10.9.8.246:8081/repository/lib-releases/com/ziath/datapaq/scanner/1.5.29/scanner-1.5.29.pom (10 kB at 92 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
The exception is as follows:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project scanner: Failed to deploy artifacts: Could not transfer artifact com.ziath.datapaq:scanner:jar:1.5.29 from/to releases (http://10.9.8.246:8081/repository/lib-releases/): Access denied to http://10.9.8.246:8081/repository/lib-releases/com/ziath/datapaq/scanner/1.5.29/scanner-1.5.29.jar. Error code 401, Unauthorized -> [Help 1]
Has anyone any idea as to what needs to be changed in order to get deployment from Eclipse version 2021-06 to work?
Cheers,
Neil

This is a known bug:
https://github.com/eclipse-m2e/m2e-core/issues/250
There are workarounds listed there; so to the person who downgraded the question - ya boo sucks!

Related

Sonar scanner github action fails intermittently with “Fail to parse entry in bootstrap index”. Passes on re-run of the job

Which versions am I using
I'm using Sonarqube CE 8.9 hosted in Google cloud VM accessible via an internal domain URL.
Github action runs sonar scanner as part of PR builds on a web app project: SonarSource/sonarqube-scan-action#v1.1.0
what problem am I facing?
Sonar scanner github action intermittently fails with Fail to parse entry in bootstrap index: <!DOCTYPE html>.
If the job is run again, it successfully completes. So I'm not sure what is going wrong.
This is the log from sonar scanner run with verbose=true
INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
06:39:11.701 INFO: SonarScanner 4.7.0.2747
06:39:11.702 INFO: Java 11.0.17 Alpine (64-bit)
06:39:11.703 INFO: Linux 5.15.0-1022-azure amd64
06:39:11.837 DEBUG: keyStore is :
06:39:11.838 DEBUG: keyStore type is : pkcs12
06:39:11.838 DEBUG: keyStore provider is :
06:39:11.839 DEBUG: init keystore
06:39:11.839 DEBUG: init keymanager of type SunX509
06:39:11.981 DEBUG: Create: /opt/sonar-scanner/.sonar/cache
06:39:11.982 INFO: User cache: /opt/sonar-scanner/.sonar/cache
06:39:11.982 DEBUG: Create: /opt/sonar-scanner/.sonar/cache/_tmp
06:39:11.984 DEBUG: Extract sonar-scanner-api-batch in temp...
06:39:11.987 DEBUG: Get bootstrap index...
06:39:11.987 DEBUG: Download: ***/batch/index
06:39:12.678 DEBUG: Get bootstrap completed
06:39:12.681 INFO: ------------------------------------------------------------------------
06:39:12.681 INFO: EXECUTION FAILURE
06:39:12.681 INFO: ------------------------------------------------------------------------
06:39:12.681 INFO: Total time: 1.015s
06:39:12.697 INFO: Final Memory: 4M/17M
06:39:12.698 INFO: ------------------------------------------------------------------------
06:39:12.699 ERROR: Error during SonarScanner execution
org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis
at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74)
at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70)
at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185)
at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123)
at org.sonarsource.scanner.cli.Main.execute(Main.java:73)
at org.sonarsource.scanner.cli.Main.main(Main.java:61)
Caused by: java.lang.IllegalStateException: Fail to parse entry in bootstrap index: <!DOCTYPE html>
at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.parse(BootstrapIndexDownloader.java:59)
at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:44)
at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:58)
at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:53)
at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:76)
... 7 more
06:39:12.706 ERROR:
06:39:12.706 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
what have I tried to debug this issue?
I checked whether there is any issue with the sonar URL but it is fine because the scanner works fine otherwise. Apart from this I'm not sure what else I can check.
Also is there a difference between running the sonar scanner with -X and running it with -Dsonar.verbose=true ?

Chocolatey returns errors when installing openvpn

As the title describes, choco install openvpn returns the below error;
ERROR: Unable to import PGP key 'C:\ProgramData\chocolatey\lib\openvpn\tools\openvpn_public_key.asc' in the temporary keyring (C:\ProgramData\chocolatey\lib\openvpn\tools\e090a0df-7709-xxxx-xxxx-xxxxxxxxxxxx\pubring.gpg).
The install of openvpn was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\openvpn\tools\chocolateyInstall.ps1'.
See log for details.
Failures
- openvpn (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\openvpn\tools\chocolateyInstall.ps1'.
See log for details.
I am using a Windows 10, v1803 machine.
Below is the part of the log that shows the complete traced error;
[DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\openvpn.2.4.7\.arguments".
[DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\openvpn.2.4.7\.extra".
[DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\openvpn.2.4.7\.version".
[DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\openvpn.2.4.7\.sxs".
[DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\openvpn.2.4.7\.pin".
[DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\openvpn".
[DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
[ERROR] - The install of openvpn was NOT successful.
[ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\openvpn\tools\chocolateyInstall.ps1'.
See log for details.
[DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\openvpn'
to 'C:\ProgramData\chocolatey\lib-bad\openvpn'
[DEBUG] - Attempting to delete file "C:\Users\XXX\AppData\Local\NuGet\Cache\openvpn.2.4.7.nupkg".
[WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
[INFO ] -
[ERROR] - Failures
[ERROR] - - openvpn (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\openvpn\tools\chocolateyInstall.ps1'.
See log for details.
[DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
[DEBUG] - Exiting with -1
I found out the solution which is disabling the git PATH used where as it puts the version of gpg.exe shipped with git ahead of the one from openvpn package on my environment variables.
This could be done in two ways;
The first is editing the environment PATH variables and moving git PATH below the C:\Program Files (x86)\GNU\GnuPG\pub PATH, see the picture below.
The second is removing/deleting the git PATH variables then start a new powershell session, run choco install openvpn then returning the git PATH back to the env variables.
In my case, the fist option worked just fine.

Prediction.io - pio train fails

I'm using the Elasticsearch + Hbase version of Prediction.IO from the sphereio/docker-predictionio docker image and the universal recommendation template template-scala-parallel-universal-recommendation.
pio-start-all and pio status work fine and the eventserver is prefectly functional. I have created an app and imported a few hundred events to start with.
However, after doing pio build on the template, pio train fails giving a couple of javax.naming.NameNotFoundException warnings. Even pio.log does not contain anything else.
Here's my engine.json:
{
"comment": " This config file uses default settings for all but the required values see README.md for docs",
"id": "default",
"description": "Default settings",
"engineFactory": "com.test.RecommendationEngine",
"datasource": {
"params": {
"name": "sample-handmade-data.txt",
"appName": "testapp",
"eventNames": ["START"]
}
},
"sparkConf": {
"spark.serializer": "org.apache.spark.serializer.KryoSerializer",
"spark.kryo.registrator": "org.apache.mahout.sparkbindings.io.MahoutKryoRegistrator",
"spark.kryo.referenceTracking": "false",
"spark.kryoserializer.buffer": "300m",
"spark.executor.memory": "4g",
"es.index.auto.create": "true"
},
"algorithms": [{
"comment": "simplest setup where all values are default, popularity based backfill, must add eventsNames",
"name": "ur",
"params": {
"appName": "testapp",
"indexName": "urindex",
"typeName": "items",
"comment": "must have data for the first event or the model will not build, other events are optional",
"eventNames": ["START"]
}
}]
}
And the pio train output:
[INFO] [Console$] Using existing engine manifest JSON at /PredictionIO-0.9.6/engines/universal-recommendation/manifest.json
[INFO] [Runner$] Submission command: /PredictionIO-0.9.6/vendors/spark-1.5.1-bin-hadoop2.6/bin/spark-submit --class io.prediction.workflow.CreateWorkflow --jars file:/PredictionIO-0.9.6/engines/universal-recommendation/target/scala-2.10/template-scala-parallel-universal-recommendation-assembly-0.2.3-deps.jar,file:/PredictionIO-0.9.6/engines/universal-recommendation/target/scala-2.10/template-scala-parallel-universal-recommendation_2.10-0.2.3.jar --files file:/PredictionIO-0.9.6/conf/log4j.properties,file:/PredictionIO-0.9.6/vendors/hbase-1.0.0/conf/hbase-site.xml --driver-class-path /PredictionIO-0.9.6/conf:/PredictionIO-0.9.6/vendors/hbase-1.0.0/conf file:/PredictionIO-0.9.6/lib/pio-assembly-0.9.6.jar --engine-id FYOHZGlAmUH2xAYWNmQFIf9Jls201WVr --engine-version a892fe59be15dcf27a17f07fb76135a967309fda --engine-variant file:/PredictionIO-0.9.6/engines/universal-recommendation/engine.json --verbosity 0 --json-extractor Both --env PIO_STORAGE_SOURCES_HBASE_TYPE=hbase,PIO_ENV_LOADED=1,PIO_STORAGE_REPOSITORIES_METADATA_NAME=pio_meta,PIO_VERSION=0.9.6,PIO_FS_BASEDIR=/root/.pio_store,PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=localhost,PIO_STORAGE_SOURCES_HBASE_HOME=/PredictionIO-0.9.6/vendors/hbase-1.0.0,PIO_HOME=/PredictionIO-0.9.6,PIO_FS_ENGINESDIR=/root/.pio_store/engines,PIO_STORAGE_SOURCES_LOCALFS_PATH=/root/.pio_store/models,PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE=elasticsearch,PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=ELASTICSEARCH,PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=LOCALFS,PIO_STORAGE_REPOSITORIES_EVENTDATA_NAME=pio_event,PIO_STORAGE_SOURCES_ELASTICSEARCH_CLUSTERNAME=predictionio,PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=/PredictionIO-0.9.6/vendors/elasticsearch-1.4.4,PIO_FS_TMPDIR=/root/.pio_store/tmp,PIO_STORAGE_REPOSITORIES_MODELDATA_NAME=pio_model,PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=HBASE,PIO_CONF_DIR=/PredictionIO-0.9.6/conf,PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9300,PIO_STORAGE_SOURCES_LOCALFS_TYPE=localfs
[INFO] [Engine] Extracting datasource params...
[INFO] [WorkflowUtils$] No 'name' is found. Default empty String will be used.
[INFO] [Engine] Datasource params: (,DataSourceParams(testapp,List(START)))
[INFO] [Engine] Extracting preparator params...
[INFO] [Engine] Preparator params: (,Empty)
[INFO] [Engine] Extracting serving params...
[INFO] [Engine] Serving params: (,Empty)
[INFO] [Remoting] Starting remoting
[INFO] [Remoting] Remoting started; listening on addresses :[akka.tcp://sparkDriver#172.17.0.2:42582]
[WARN] [MetricsSystem] Using default name DAGScheduler for source because spark.app.id is not set.
[INFO] [Engine$] EngineWorkflow.train
[INFO] [Engine$] DataSource: com.test.DataSource#75bd28d
[INFO] [Engine$] Preparator: com.test.Preparator#13278a41
[INFO] [Engine$] AlgorithmList: List(com.test.URAlgorithm#2365ea38)
[INFO] [Engine$] Data sanity check is on.
[WARN] [TableInputFormatBase] Cannot resolve the host name for 9a94fb2890b3/172.17.0.2 because of javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '2.0.17.172.in-addr.arpa'
[INFO] [Engine$] com.test.TrainingData does not support data sanity check. Skipping check.
[WARN] [TableInputFormatBase] Cannot resolve the host name for 9a94fb2890b3/172.17.0.2 because of javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '2.0.17.172.in-addr.arpa'
There is one way to short out this problem. Please use google d.n.s while starting your docker container.
--dns=8.8.8.8

Changing the Default Play Framework HTTP Port (without Using System Property)

There's an oft-asked question about changing the HTTP port to which a Play application will bind. James Ward's answer is generally accepted as the most complete, but it involves overriding the default by setting a http.port system property. However, is it possible to change this default without having to manually add it to the run command at development time, tweak the environment, or package an override in a runtime configuration?
This can be accomplished by setting the playDefaultPort key, as follows:
import PlayKeys._
playDefaultPort := 9123
Afterwards, you'll be able to run and testProd without needing to remember the desired port.
This works in both development:
$ sbt run
[info] Loading project definition from /Users/michaelahlers/Projects/MyApp/project
[info] Set current project to MyApp (in build file:/Users/michaelahlers/Projects/MyApp/)
--- (Running the application, auto-reloading is enabled) ---
[info] p.c.s.NettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9123
(Server started, use Ctrl+D to stop and go back to the console...)
And production modes:
$ sbt testProd
[info] Loading project definition from /Users/michaelahlers/Projects/MyApp/project
[info] Set current project to MyApp (in build file:/Users/michaelahlers/Projects/MyApp/)
[info] Packaging /Users/michaelahlers/Projects/MyApp/target/scala-2.11/MyApp_2.11-1.0.0-SNAPSHOT-web-assets.jar ...
[info] Done packaging.
(Starting server. Type Ctrl+D to exit logs, the server will remain in background)
2016-04-08 13:09:45,594 [info] a.e.s.Slf4jLogger - Slf4jLogger started
2016-04-08 13:09:45,655 [info] play.api.Play - Application started (Prod)
2016-04-08 13:09:45,767 [info] p.c.s.NettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9123

SBT - "No Scala version specified or detected" using mirrored repository behind firewall

I am trying to get SBT working on Windows behind a corporate firewall but have run into a road block.
I have a very barebones SBT setup right now:
c:\dev\workspace\manualsbt>dir
Volume in drive C is OSDisk
Volume Serial Number is XXXX-YYYY
Directory of c:\dev\workspace\manualsbt
11/23/2015 02:26 PM <DIR> .
11/23/2015 02:26 PM <DIR> ..
11/23/2015 02:27 PM 143 build.sbt
11/23/2015 02:25 PM <DIR> src
1 File(s) 143 bytes
3 Dir(s) 90,971,619,328 bytes free
The build.sbt file is also simple:
name := "manualsbt" # project name
version := "0.0.0" #project version
scalaVersion := "2.10.4" #the current scala version of the project
I set up my repositories file to go against my company's internal mirror:
[repositories]
local
xxxivy: https://repo.xxxxxxxx.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/
nexus: https://repo.xxxxxxxx.net/maven/content/groups/xxxx-public/
However, when I run 'sbt', I get an error:
Getting org.fusesource.jansi jansi 1.11 ...
downloading https://repo.xxxxxxxx.net/maven/content/groups/xxxx-public/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar ...
[SUCCESSFUL ] org.fusesource.jansi#jansi;1.11!jansi.jar (908ms)
:: retrieving :: org.scala-sbt#boot-jansi
confs: [default]
1 artifacts copied, 0 already retrieved (111kB/37ms)
Getting org.scala-sbt sbt 0.13.5 ...
downloading https://repo.xxxxxxxx.net/maven/content/repositories/xxxx-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar ...
[SUCCESSFUL ] org.scala-sbt#sbt;0.13.5!sbt.jar (418ms)
:: retrieving :: org.scala-sbt#boot-app
confs: [default]
1 artifacts copied, 0 already retrieved (20kB/20ms)
Error during sbt execution: No Scala version specified or detected
I tried the solutions at "Error during sbt execution: No Scala version specified or detected" with SBT from Homebrew and several other pages but have not had any luck.
I have had this issue with both SBT 0.13.5 and 0.13.9. Please let me know whether I am missing anything.
Edit: This is what .sbt\boot\update.log looks like:
setting 'ivy.default.settings.dir' to 'jar:file:/C:/Program%20Files%20(x86)/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings'
setting 'ivy.basedir' to 'C:\dev\workspace\manualsbt\.'
setting 'ivy.default.conf.dir' to 'jar:file:/C:/Program%20Files%20(x86)/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings'
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.SshResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.VsftpResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.version.PatternVersionMatcher in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.trigger.LogTrigger in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.ant.AntBuildTrigger in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.IvyRepResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.signer.bouncycastle.OpenPGPSignatureGenerator in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.conflict.RegexpConflictManager in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.SFTPResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.osgi.updatesite.UpdateSiteResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.ant.AntCallTrigger in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.MirroredURLResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.packager.PackagerResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.DualResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.VfsResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.JarResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.osgi.obr.OBRResolver in [] nor Ivy classloader
impossible to define glob matcher: org.apache.ivy.plugins.matcher.GlobPatternMatcher was not found.
setting 'jline.esc.timeout' to '0'
setting 'java.runtime.name' to 'Java(TM) SE Runtime Environment'
setting 'sun.boot.library.path' to 'C:\YYYY\JDK64\1.7.0.67\jre\bin'
setting 'java.vm.version' to '24.65-b04'
setting 'java.vm.vendor' to 'Oracle Corporation'
setting 'java.vendor.url' to 'http://java.oracle.com/'
setting 'path.separator' to ';'
setting 'java.vm.name' to 'Java HotSpot(TM) 64-Bit Server VM'
setting 'file.encoding.pkg' to 'sun.io'
setting 'user.country' to 'US'
setting 'user.script' to ''
setting 'sun.java.launcher' to 'SUN_STANDARD'
setting 'sun.os.patch.level' to 'Service Pack 1'
setting 'java.vm.specification.name' to 'Java Virtual Machine Specification'
setting 'user.dir' to 'C:\dev\workspace\manualsbt'
setting 'java.runtime.version' to '1.7.0_67-b01'
setting 'java.awt.graphicsenv' to 'sun.awt.Win32GraphicsEnvironment'
setting 'java.endorsed.dirs' to 'C:\YYYY\JDK64\1.7.0.67\jre\lib\endorsed'
setting 'os.arch' to 'amd64'
setting 'http.proxyUser' to 'me'
setting 'http.proxySet' to 'true'
setting 'java.io.tmpdir' to 'C:\Users\me\AppData\Local\Temp\'
setting 'line.separator' to '
'
setting 'java.vm.specification.vendor' to 'Oracle Corporation'
setting 'user.variant' to ''
setting 'os.name' to 'Windows 7'
setting 'sun.jnu.encoding' to 'Cp1252'
setting 'http.proxyPort' to '8080'
setting 'java.library.path' to 'C:\YYYY\JDK64\1.7.0.67\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\YYYY\JDK64\1.7.0.67\bin.....'
setting 'java.specification.name' to 'Java Platform API Specification'
setting 'java.class.version' to '51.0'
setting 'sun.management.compiler' to 'HotSpot 64-Bit Tiered Compilers'
setting 'http.proxyPassword' to '**********'
setting 'os.version' to '6.1'
setting 'user.home' to 'C:\Users\me'
setting 'user.timezone' to 'America/New_York'
setting 'java.awt.printerjob' to 'sun.awt.windows.WPrinterJob'
setting 'file.encoding' to 'Cp1252'
setting 'java.specification.version' to '1.7'
setting 'java.class.path' to 'C:\Program Files (x86)\sbt\bin\sbt-launch.jar'
setting 'user.name' to 'me'
setting 'jline.shutdownhook' to 'false'
setting 'java.vm.specification.version' to '1.7'
setting 'sun.java.command' to 'xsbt.boot.Boot'
setting 'java.home' to 'C:\YYYY\JDK64\1.7.0.67\jre'
setting 'sun.arch.data.model' to '64'
setting 'user.language' to 'en'
setting 'java.specification.vendor' to 'Oracle Corporation'
setting 'awt.toolkit' to 'sun.awt.windows.WToolkit'
setting 'java.vm.info' to 'mixed mode'
setting 'java.version' to '1.7.0_67'
setting 'java.ext.dirs' to 'C:\YYYY\JDK64\1.7.0.67\jre\lib\ext;C:\Windows\Sun\Java\lib\ext'
setting 'http.proxyHost' to 'foobar.XXXXXXXX.net'
setting 'sun.boot.class.path' to 'C:\YYYY\JDK64\1.7.0.67\jre\lib\resources.jar;C:\YYYY\JDK64\1.7.0.67\jre\lib\rt.jar;C:\YYYY\JDK64\1.7.0.67\jre\lib\sunrsasign.jar;C:\YYYY\JDK64\1.7.0.67\jre\lib\jsse.jar;C:\YYYY\JDK64\1.7.0.67\jre\lib\jce.jar;C:\YYYY\JDK64\1.7.0.67\jre\lib\charsets.jar;C:\YYYY\JDK64\1.7.0.67\jre\lib\jfr.jar;C:\YYYY\JDK64\1.7.0.67\jre\classes'
setting 'java.vendor' to 'Oracle Corporation'
setting 'file.separator' to '\'
setting 'java.vendor.url.bug' to 'http://bugreport.sun.com/bugreport/'
setting 'sun.io.unicode.encoding' to 'UnicodeLittle'
setting 'sun.cpu.endian' to 'little'
setting 'sun.desktop' to 'windows'
setting 'sun.cpu.isalist' to 'amd64'
setting 'ivy.default.ivy.user.dir' to 'C:\Users\me\.ivy2'
setting 'ivy.home' to 'C:\Users\me\.ivy2'
setting 'ivy.cache.dir' to 'C:\Users\me\.ivy2\cache'
no default cache defined: set to C:\Users\me\.ivy2\cache
setting 'ivy.checksums' to 'sha1,md5'
setting 'ivy.basedir' to 'C:\Users\me\.sbt\boot'
setting 'basedir' to 'C:\Users\me\.sbt\boot'
:: resolving dependencies :: org.scala-sbt#boot-app;1.0
confs: [default]
validate = true
refresh = false
resolving dependencies for configuration 'default'
== resolving dependencies for org.scala-sbt#boot-app;1.0 [default]
loadData of org.scala-sbt#boot-app;1.0 of rootConf=default
== resolving dependencies org.scala-sbt#boot-app;1.0->org.scala-sbt#sbt;0.13.5 [default->default(compile)]
loadData of org.scala-sbt#sbt;0.13.5 of rootConf=default
using redefined-public to resolve org.scala-sbt#sbt;0.13.5
redefined-public: Checking cache for: dependency: org.scala-sbt#sbt;0.13.5 {default=[default(compile)]}
redefined-public: no namespace defined: using system
no ivy file in cache for org.scala-sbt#sbt;0.13.5: tried C:\Users\me\.ivy2\cache\org.scala-sbt\sbt\ivy-0.13.5.xml
redefined-public: no latest strategy defined: using default
local: no namespace defined: using system
no ivy file in cache for org.scala-sbt#sbt;0.13.5: tried C:\Users\me\.ivy2\cache\org.scala-sbt\sbt\ivy-0.13.5.xml
trying C:\Users\me\.ivy2\local\org.scala-sbt\sbt\0.13.5\ivys\ivy.xml
tried C:\Users\me\.ivy2\local\org.scala-sbt\sbt\0.13.5\ivys\ivy.xml
local: resource not reachable for org.scala-sbt#sbt;0.13.5: res=C:\Users\me\.ivy2\local\org.scala-sbt\sbt\0.13.5\ivys\ivy.xml
trying C:\Users\me\.ivy2\local\org.scala-sbt\sbt\0.13.5\jars\sbt.jar
tried C:\Users\me\.ivy2\local\org.scala-sbt\sbt\0.13.5\jars\sbt.jar
local: resource not reachable for org.scala-sbt#sbt;0.13.5: res=C:\Users\me\.ivy2\local\org.scala-sbt\sbt\0.13.5\jars\sbt.jar
local: no ivy file nor artifact found for org.scala-sbt#sbt;0.13.5
XXXivy: no namespace defined: using system
no ivy file in cache for org.scala-sbt#sbt;0.13.5: tried C:\Users\me\.ivy2\cache\org.scala-sbt\sbt\ivy-0.13.5.xml
trying https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.pom
tried https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.pom
HTTP response status: 404 url=https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.pom
CLIENT ERROR: Not Found url=https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.pom
XXXivy: resource not reachable for org/scala-sbt#sbt;0.13.5: res=https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.pom
trying https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar
tried https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar
XXXivy: no ivy file found for org.scala-sbt#sbt;0.13.5: using default data
checking org.scala-sbt#sbt;0.13.5[default] from XXXivy against [none]
module revision kept as first found: org.scala-sbt#sbt;0.13.5[default] from XXXivy
nexus: no namespace defined: using system
Entry is found in the ModuleDescriptorCache : C:\Users\me\.ivy2\cache\org.scala-sbt\sbt\ivy-0.13.5.xml
resolver not found: null => trying to use the one configured for org.scala-sbt#sbt;0.13.5
configured resolver found for org.scala-sbt#sbt;0.13.5: redefined-public: saving this data
found ivy file in cache for org.scala-sbt#sbt;0.13.5 (resolved by redefined-public): C:\Users\me\.ivy2\cache\org.scala-sbt\sbt\ivy-0.13.5.xml
nexus: found revision in cache: org.scala-sbt#sbt;0.13.5 (resolved by redefined-public): but it's a default one, maybe we can find a better one
trying https://repo.XXXXXXXX.net/maven/content/groups/XXXX-public/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.pom
tried https://repo.XXXXXXXX.net/maven/content/groups/XXXX-public/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.pom
HTTP response status: 404 url=https://repo.XXXXXXXX.net/maven/content/groups/XXXX-public/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.pom
CLIENT ERROR: Not Found url=https://repo.XXXXXXXX.net/maven/content/groups/XXXX-public/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.pom
nexus: resource not reachable for org/scala-sbt#sbt;0.13.5: res=https://repo.XXXXXXXX.net/maven/content/groups/XXXX-public/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.pom
trying https://repo.XXXXXXXX.net/maven/content/groups/XXXX-public/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar
tried https://repo.XXXXXXXX.net/maven/content/groups/XXXX-public/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar
nexus: no ivy file found for org.scala-sbt#sbt;0.13.5: using default data
checking org.scala-sbt#sbt;0.13.5[default] from nexus against org.scala-sbt#sbt;0.13.5[default] from XXXivy
nexus: no latest strategy defined: using default
module revision discarded as older: org.scala-sbt#sbt;0.13.5[default] from nexus
found org.scala-sbt#sbt;0.13.5 in XXXivy
Nbr of module to sort : 1
Sort dependencies of : org.scala-sbt#sbt;0.13.5 / Number of dependencies = 0
Sort done for : org.scala-sbt#sbt;0.13.5
storing dependency org.scala-sbt#sbt;0.13.5 in props
resolved ivy file produced in cache
:: downloading artifacts ::
trying https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar
tried https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar
downloading https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar ...
XXXivy: downloading https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar
to C:\Users\me\.ivy2\cache\org.scala-sbt\sbt\jars\sbt-0.13.5.jar.part
HTTP response status: 404 url=https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar.sha1
CLIENT ERROR: Not Found url=https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar.sha1
HTTP response status: 404 url=https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar.md5
CLIENT ERROR: Not Found url=https://repo.XXXXXXXX.net/maven/content/repositories/XXXX-IVY-HOSTED-OS/org/scala-sbt/sbt/0.13.5/sbt-0.13.5.jar.md5
[SUCCESSFUL ] org.scala-sbt#sbt;0.13.5!sbt.jar (418ms)
:: resolution report :: resolve 1119ms :: artifacts dl 420ms
Nbr of module to sort : 1
Sort dependencies of : org.scala-sbt#sbt;0.13.5 / Number of dependencies = 0
Sort done for : org.scala-sbt#sbt;0.13.5
report for org.scala-sbt#boot-app;1.0 default produced in C:\Users\me\.sbt\boot\resolution-cache\org.scala-sbt-boot-app-default.xml
resolve done (1119ms resolve - 420ms download)
:: retrieving :: org.scala-sbt#boot-app
checkUpToDate=true
post 1.3 ivy file: using exact as default matcher
no explicit confs given for retrieve, using ivy file: file:/C:/Users/me/.sbt/boot/resolution-cache/resolved-org.scala-sbt-boot-app-1.0.xml
confs: [default]
retrieving C:\Users\me\.ivy2\cache\org.scala-sbt\sbt\jars\sbt-0.13.5.jar
to C:\Users\me\.sbt\boot\other\org.scala-sbt\sbt\0.13.5\sbt-0.13.5.jar
1 artifacts copied, 0 already retrieved (20kB/20ms)
retrieve done (20ms)
I found the solution to my problem. My repositories file did not correctly point to an Ivy repository. Once I fixed it, everything worked like a charm.
This is what my repositories file looks like now:
[repositories]
local
ivy: https://repo.xxxxxxxx.net/maven/content/repositories/groups/xxxx-ivy-public/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]IVY-HOSTED-OS/
nexus: https://repo.xxxxxxxx.net/maven/content/groups/xxxx-public/