Can't download dependency's source code - why?

Hi all,

I have a maven (multi module project) that (i.e. one of the modules) depends on a library. When I jump to one of the library's files, I can't download the sources. Why?

Here is the dependency from my module's POM::

 
<super-long-artifact-name.version>1.0.3-SNAPSHOT</super-long-artifact-name.version>

 
<dependency>
    <groupId>com.example.foo.bar.baz</groupId>
    <artifactId>super-long-artifact-name</artifactId>
    <version>${super-long-artifact-name.version}</version>
</dependency>


My colleague uploaded a new SNAPSHOT verison to SVN earliler today, and our CI server successfully compiled it and installed (deployed) it in our corporate repository, and the XML file in our repo reflects that:


<metadata>
<groupId>com.example.foo.bar.baz</groupId>
<artifactId>
super-long-artifact-name
</artifactId>
<versioning>
<latest>1.0.3-SNAPSHOT</latest>
<release/>
<versions>
<version>1.0.3-SNAPSHOT</version>
</versions>
<lastUpdated>20151112102146</lastUpdated>
</versioning>
</metadata>

The last modified timestamp on the server for the file is "Thu Nov 12 10:21:46 GMT 2015".

Our repo is Sonatype Nexus™ 2.11.3-01.

Locally, I have the following in my maven-metadata-local.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>com.example.foo.bar.baz</groupId>
  <artifactId>super-long-artifact-name</artifactId>
  <versioning>
    <versions>
      <version>1.0.3-SNAPSHOT</version>
    </versions>
    <lastUpdated>20151110141752</lastUpdated>
  </versioning>
</metadata>

My local 1.0.3-SNAPSHOT folder contains the following files:
super-long-artifact-name-1.0.3-20151008.140309-65.jar
super-long-artifact-name-1.0.3-20151008.140309-65.jar.sha1
super-long-artifact-name-1.0.3-20151008.140309-65.pom
super-long-artifact-name-1.0.3-20151008.140309-65.pom.sha1
super-long-artifact-name-1.0.3-20151020.141613-66.jar
super-long-artifact-name-1.0.3-20151020.141613-66.jar.sha1
super-long-artifact-name-1.0.3-20151020.141613-66.pom
super-long-artifact-name-1.0.3-20151020.141613-66.pom.sha1
super-long-artifact-name-1.0.3-20151023.111740-68.jar
super-long-artifact-name-1.0.3-20151023.111740-68.jar.sha1
super-long-artifact-name-1.0.3-20151023.111740-68.pom
super-long-artifact-name-1.0.3-20151023.111740-68.pom.sha1
super-long-artifact-name-1.0.3-20151029.145733-70.jar
super-long-artifact-name-1.0.3-20151029.145733-70.jar.sha1
super-long-artifact-name-1.0.3-20151029.145733-70.pom
super-long-artifact-name-1.0.3-20151029.145733-70.pom.sha1
super-long-artifact-name-1.0.3-20151104.073656-71.jar
super-long-artifact-name-1.0.3-20151104.073656-71.jar.sha1
super-long-artifact-name-1.0.3-20151104.073656-71.pom
super-long-artifact-name-1.0.3-20151104.073656-71.pom.sha1
super-long-artifact-name-1.0.3-20151105.075019-72.jar
super-long-artifact-name-1.0.3-20151105.075019-72.jar.sha1
super-long-artifact-name-1.0.3-20151105.075019-72.pom
super-long-artifact-name-1.0.3-20151105.075019-72.pom.sha1
super-long-artifact-name-1.0.3-20151110.145421-73.jar
super-long-artifact-name-1.0.3-20151110.145421-73.jar.sha1
super-long-artifact-name-1.0.3-20151110.145421-73.pom
super-long-artifact-name-1.0.3-20151110.145421-73.pom.sha1
super-long-artifact-name-1.0.3-20151112.102146-74.jar
super-long-artifact-name-1.0.3-20151112.102146-74.jar.sha1
super-long-artifact-name-1.0.3-20151112.102146-74.pom
super-long-artifact-name-1.0.3-20151112.102146-74.pom.sha1
super-long-artifact-name-1.0.3-SNAPSHOT.jar
super-long-artifact-name-1.0.3-SNAPSHOT.pom
maven-metadata-local.xml
maven-metadata-nexus.xml
maven-metadata-nexus.xml.sha1
resolver-status.properties
_maven.repositories

When I try to jump into the source of the library file I want to debug form the main project, I get the following bar displayed:
IntelliJ error bar.png

When I try to download sources, I get the following error message:

Sources not found for:
com.example.foo.bar.baz:super-long-artifact-name:1.0.3-20151112.102146-74
      
IntelliJ error.png

Why? What's going wrong?

My IntelliJ maven settings:
mvn main settings.PNG

mvn importing settings.PNG

Any ideas?

Brgrds,

Christian

15 comments

It looks like sources jar for this library is not present in the repository.

0

Hi to all,

I have the same problem. I would like to point out that the sources jar are presents in the repository, and that only Intellij Maven server is not able to download the sources jar, the Maven client download them properly.

Marino

0

Hello Marino,

Do you get the same error message? Could you please attach idea.log ("Help | Show Log in") after restarting IDEA and reproducing the issue?

 

0

Hi Yaroslav,

yes, I get the same message, below the idea.log:

2016-12-16 12:18:53,385 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2016-12-16 12:18:53,434 [     49]   INFO -        #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-163.9166.29, 09 Dec 2016 13:53)
2016-12-16 12:18:53,434 [     49]   INFO -        #com.intellij.idea.Main - OS: Windows 8.1 (6.3, amd64)
2016-12-16 12:18:53,434 [     49]   INFO -        #com.intellij.idea.Main - JRE: 1.8.0_60-b27 (Oracle Corporation)
2016-12-16 12:18:53,434 [     49]   INFO -        #com.intellij.idea.Main - JVM: 25.60-b23 (Java HotSpot(TM) 64-Bit Server VM)
2016-12-16 12:18:53,437 [     52]   INFO -        #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\Users\marino.borra\.IntelliJIdea2016.3\idea64.exe.vmoptions -Xbootclasspath/a:C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\lib\boot.jar -Didea.jre.check=true -Didea.paths.selector=IntelliJIdea2016.3 -XX:ErrorFile=C:\Users\marino.borra\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\marino.borra\java_error_in_idea.hprof
2016-12-16 12:18:53,437 [     52]   INFO -        #com.intellij.idea.Main - ext: C:\Program Files\Java\jdk1.8.0_60\jre\lib\ext: [access-bridge-64.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar]
2016-12-16 12:18:53,438 [     53]   INFO -        #com.intellij.idea.Main - JNU charset: Cp1252
2016-12-16 12:18:53,522 [    137]   INFO -        #com.intellij.idea.Main - JNA library (64-bit) loaded in 84 ms
2016-12-16 12:18:53,525 [    140]   INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2016-12-16 12:18:53,526 [    141]   INFO -        #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing.
2016-12-16 12:18:53,536 [    151]   INFO -     #com.intellij.util.ui.JBUI - UI scale factor: 1.0
2016-12-16 12:18:54,997 [   1612]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor plugin-intelliLang.xml
2016-12-16 12:18:55,110 [   1725]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor python-terminal-plugin.xml
2016-12-16 12:18:55,893 [   2508]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor plugin-intelliLang.xml
2016-12-16 12:18:56,641 [   3256]   INFO - llij.ide.plugins.PluginManager - 145 plugins initialized in 1787 ms
2016-12-16 12:18:56,665 [   3280]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Android Support (10.2.2), Ant Support (1.0), Application Servers View (0.2.0), AspectJ Support (1.2), Bytecode Viewer (0.1), CFML Support (3.53), CSS Support (163.9166.29), CVS Integration (11), ClearCase Integration (2.0), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (2.0), Copyright (8.1), Coverage (163.9166.29), Cucumber for Groovy (999.999), Cucumber for Java (999.999), DSM Analysis (1.0.0), Database Tools and SQL (1.0), Eclipse Integration (3.0), EditorConfig (163.9166.29), Emma (163.9166.29), Flash/Flex Support (163.9166.29), FreeMarker support (1.0), GWT Support (1.0), Geronimo Integration (1.0), Gherkin (999.999), Git Integration (8.1), GitHub (163.9166.29), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Gradle (163.9166.29), Grails (9.0), Groovy (9.0), Guice (8.0), HAML (163.9166.29), HTML Tools (2.0), Heroku integration (1.0), Hibernate Support (1.0), I18n for Java (163.9166.29), IDEA CORE (163.9166.29), IntelliLang (8.0), J2ME (1.0), JBA Cloud Config (163.9166.29), JBoss Arquillian Support (1.0), JBoss Drools Support (1.0), JBoss Integration (1.0), JBoss Seam Pageflow Support (1.0), JBoss Seam Pages Support (1.0), JBoss Seam Support (1.0), JBoss Support (1.0), JBoss jBPM (2.0.0), JSR45 Integration (1.0), JUnit (1.0), Java Bytecode Decompiler (163.9166.29), Java EE: Batch Applications (1.0), Java EE: Bean Validation Support (1.1), Java EE: Contexts and Dependency Injection (1.1), Java EE: EJB, JPA, Servlets (1.0), Java EE: JMS, JSON Processing, Concurrency, Transaction  (1.0), Java EE: Java Server Faces (2.2.X.), Java EE: RESTful Web Services (JAX-RS) (1.0), Java EE: Web Services (JAX-WS) (1.9), Java EE: WebSockets (1.0), Java Server Pages (JSP) Integration (1.0), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Jetty Integration (1.0), Kotlin (1.0.5-release-IJ2016.3-1), LESS support (163.9166.29), Markdown support (VERSION), Maven Integration (163.9166.29), Maven Integration Extension (163.9166.29), OpenShift integration (1.0), Osmorc (1.4.9), Perforce Integration (2.0), Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support (163.9166.29), QuirksMode (163.9166.29), REST Client (163.9166.29), Refactor-X (2.01), Remote Hosts Access (0.1), Resin Integration (8.1), SASS support (163.9166.29), SSH Remote Run (0.1), Settings Repository (163.9166.29), Spring AOP/@AspectJ (1.0), Spring Batch (1.0), Spring Boot (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring MVC (1.0), Spring OSGi (1.0), Spring Security (1.0), Spring Support (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Spring WebSocket (1.0), Spy-js (163.9166.29), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Subversion Integration (1.1), TFS Integration (999.999), Tapestry support (1.0), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), Thymeleaf (1.0), Time Tracking (1.0), Tomcat and TomEE Integration (1.0), UI Designer (163.9166.29), UML Support (1.0), Vaadin Support (1.0), Velocity support (1.0), W3C Validators (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (163.9166.29), ZKM-Unscramble (1.0), dmServer Support (0.9.5), hg4idea (10.0)
2016-12-16 12:18:56,665 [   3280]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: AngularJS (163.9166.8), BashSupport (1.5.8.163), Batch Scripts Support (1.0.7), CMD Support (1.0.5), Docker integration (2.4.1), Gauge (0.2.5), Graph Database support (2.2.0), IDETalk (145.258.11), JVM Debugger Memory View (0.93.162), Jenkins Control Plugin (0.9.7), Mongo Plugin (0.10.2016), NodeJS (163.9166.8), Python (2016.3.163.125), Scala (2016.3.5), Slack Storm (1.8), Vagrant (0.6.144.1701), VisualVM Launcher (1.8.138.2210)
2016-12-16 12:18:58,657 [   5272]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2016-12-16 12:18:58,846 [   5461]   INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\bin\fsnotifier64.exe
2016-12-16 12:18:58,857 [   5472]   INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2016-12-16 12:18:58,913 [   5528]   INFO - pi.util.registry.RegistryState - Registry values changed by user:
2016-12-16 12:18:58,914 [   5529]   INFO - pi.util.registry.RegistryState -   SBT.system.in.process = true
2016-12-16 12:19:00,188 [   6803]   INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories:  
2016-12-16 12:19:00,574 [   7189]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2016-12-16 12:19:00,593 [   7208]   INFO - gs.impl.UpdateCheckerComponent - channel: release
2016-12-16 12:19:00,800 [   7415]   INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:151
2016-12-16 12:19:00,807 [   7422]   INFO - il.indexing.FileBasedIndexImpl - Index scheduled:7
2016-12-16 12:19:00,871 [   7486]   INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:57
2016-12-16 12:19:00,872 [   7487]   INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2016-12-16 12:19:00,999 [   7614]   INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2016-12-16 12:19:01,330 [   7945]   INFO - oogleanalytics.GoogleAnalytics - Initializing Google Analytics with config=GoogleAnalyticsConfig [threadNameFormat=googleanalytics-thread-{0}, enabled=true, maxThreads=1, useHttps=true, validate=true, httpUrl=http://www.google-analytics.com/collect, httpsUrl=https://ssl.google-analytics.com/collect, userAgent=java/1.8.0_60-b27/Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/Windows 8.1/6.3/amd64, proxyPort=80, deriveSystemParameters=true, gatherStats=false] and defaultRequest=Request [parms={TRACKING_ID=UA-67609275-4, HIT_TYPE=pageview, DOCUMENT_ENCODING=Cp1252, USER_LANGUAGE=it-IT, PROTOCOL_VERSION=1, CLIENT_ID=e8aa169e-8798-4297-b2cc-105e9ff1a700}, customDimensions={}, customMetrics={}]
2016-12-16 12:19:02,249 [   8864]   INFO - plication.impl.ApplicationImpl - 120 application components initialized in 7400ms
2016-12-16 12:19:02,275 [   8890]   INFO - .intellij.idea.IdeaApplication - App initialization took 11015 ms
2016-12-16 12:19:02,718 [   9333]   WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2016-12-16 12:19:04,772 [  11387]   INFO - ellij.project.impl.ProjectImpl - 27 project components initialized in 3613 ms
2016-12-16 12:19:04,773 [  11388]   INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2016-12-16 12:19:05,678 [  12293]   INFO - pl$FileIndexDataInitialization - Initialization done:4870
2016-12-16 12:19:06,281 [  12896]   INFO - exImpl$StubIndexInitialization - Initialization done:603
2016-12-16 12:19:06,361 [  12976]   INFO - CompilerWorkspaceConfiguration - Available processors: 4
2016-12-16 12:19:08,795 [  15410]   INFO - ellij.project.impl.ProjectImpl - 237 project components initialized in 5338 ms
2016-12-16 12:19:09,233 [  15848]   INFO - le.impl.ModuleManagerComponent - 3 module(s) loaded in 437 ms
2016-12-16 12:19:10,637 [  17252]   INFO - m.thoughtworks.gauge.GaugeUtil - PATH => C:\Program Files\CollabNet\Subversion Client;C:\Program Files\Haskell\bin;C:\Program Files\Haskell Platform\7.10.3\lib\extralibs\bin;C:\Program Files\Haskell Platform\7.10.3\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\WinSCP\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\;C:\Program Files (x86)\Skype\Phone\;C:\opt\Go\bin;C:\Program Files\Haskell Platform\7.10.3\mingw\bin;C:\Users\marino.borra\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft Emulator Manager\1.0\;C:\Program Files\Git\cmd;C:\Program Files\Gauge\bin;C:\HashiCorp\Vagrant\bin;C:\Users\marino.borra\AppData\Local\Programs\Python\Python35\Scripts\;C:\Users\marino.borra\AppData\Local\Programs\Python\Python35\;C:\Users\marino.borra\AppData\Roaming\cabal\bin;C:\Program Files\CollabNet\Subversion Client;C:\Program Files\Haskell\bin;C:\Program Files\Haskell Platform\7.10.3\lib\extralibs\bin;C:\Program Files\Haskell Platform\7.10.3\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\WinSCP\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\;C:\Program Files (x86)\Skype\Phone\;C:\opt\Go\bin;C:\Program Files\Haskell Platform\7.10.3\mingw\bin;C:\Users\marino.borra\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft Emulator Manager\1.0\;C:\Program Files\Git\cmd;C:\Program Files\Gauge\bin;C:\HashiCorp\Vagrant\bin;C:\opt\apache-maven-3.3.3\bin;C:\Program Files\Docker Toolbox;C:\opt\ruby-2.2.3-x64-mingw32\bin;C:\Users\marino.borra\AppData\Local\atom\bin;C:\opt\cygwin64\bin;C:\Program Files (x86)\Nmap;C:\opt\sbt-0.13.12\bin;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Program Files\CollabNet\Subversion Client;C:\Program Files\Java\jdk1.8.0_60\bin
2016-12-16 12:19:10,638 [  17253]   INFO - m.thoughtworks.gauge.GaugeUtil - GAUGE_ROOT => C:\Program Files\Gauge
2016-12-16 12:19:10,638 [  17253]   INFO - m.thoughtworks.gauge.GaugeUtil - executable path: C:\Program Files\Gauge\bin\gauge.exe
2016-12-16 12:19:11,105 [  17720]   INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@d81e0d7
2016-12-16 12:19:11,790 [  18405]   INFO - unicator.p2p.UserMonitorThread - Force finding users
2016-12-16 12:19:11,798 [  18413]   INFO - unicator.p2p.UserMonitorThread - Start User Monitor Thread
2016-12-16 12:19:11,826 [  18441]   INFO - icator.p2p.MulticastPingThread - /192.168.56.1 IDEtalk Multicast Thread: Start thread.
2016-12-16 12:19:11,826 [  18441]   INFO - icator.p2p.MulticastPingThread - /10.211.55.1 IDEtalk Multicast Thread: Start thread.
2016-12-16 12:19:11,826 [  18441]   INFO - icator.p2p.MulticastPingThread - /10.21.8.55 IDEtalk Multicast Thread: Start thread.
2016-12-16 12:19:11,826 [  18441]   INFO - icator.p2p.MulticastPingThread - /192.168.99.1 IDEtalk Multicast Thread: Start thread.
2016-12-16 12:19:11,826 [  18441]   INFO - icator.p2p.MulticastPingThread - /169.254.58.232 IDEtalk Multicast Thread: Start thread.
2016-12-16 12:19:11,826 [  18441]   INFO - icator.p2p.MulticastPingThread - /192.168.233.1 IDEtalk Multicast Thread: Start thread.
2016-12-16 12:19:11,826 [  18441]   INFO - icator.p2p.MulticastPingThread - /192.168.52.1 IDEtalk Multicast Thread: Start thread.
2016-12-16 12:19:15,029 [  21644]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 318ms; general responsiveness: ok; EDT responsiveness: ok
2016-12-16 12:19:16,146 [  22761]   INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@797b6418
2016-12-16 12:19:17,700 [  24315]   INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@30a2618d
2016-12-16 12:19:22,180 [  28795]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 7149ms; general responsiveness: ok; EDT responsiveness: 0/7 sluggish, 3/7 very slow
2016-12-16 12:19:26,386 [  33001]   WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: CommissionModel.java
2016-12-16 12:19:26,386 [  33001]   WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: CAFileCounterService.java
2016-12-16 12:19:26,386 [  33001]   WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: EctUtils.java
2016-12-16 12:19:26,386 [  33001]   WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: rroAttachmentsSharing.jsp
2016-12-16 12:19:26,549 [  33164]   INFO - tartup.impl.StartupManagerImpl - C:/Users/marino.borra/IdeaProjects.2016/xxxx-yyyy/xxx-ccc/branches/v12.5.0/.idea case-sensitivity: expected=false actual=false
2016-12-16 12:19:27,387 [  34002]   WARN - ols.jenkins.logic.LoginService - Jenkins server is not setup, authentication will not happen
2016-12-16 12:19:28,554 [  35169]   INFO - ution.rmi.RemoteProcessSupport - "C:\Program Files\Java\jdk1.8.0_102\bin\java" -Djava.awt.headless=true -Didea.version==2016.3.1 -Xmx768m -Didea.maven.embedder.version=3.3.9 -Dfile.encoding=windows-1252 -classpath "C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/resources_en.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\lib\log4j.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\lib\oromatcher.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\lib\resources_en.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\lib\util.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\lib\annotations.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\lib\trove4j.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\lib\snappy-in-java-0.5.1.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\lib\jdom.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\lib\jna.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\lib\jna-platform.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\plugins\maven\lib\lucene-core-2.4.1.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\plugins\maven\lib\maven-server-api.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\plugins\maven\lib\maven3-server-common.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\plugins\maven\lib\maven3-server-lib\archetype-catalog-2.2.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\plugins\maven\lib\maven3-server-lib\archetype-common-2.2.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\plugins\maven\lib\maven3-server-lib\maven-dependency-tree-1.2.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\plugins\maven\lib\maven3-server-lib\nexus-indexer-3.0.4.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\plugins\maven\lib\maven3-server-lib\nexus-indexer-artifact-1.0.1.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3\plugins\maven\lib\maven3-server-impl.jar;C:\opt\apache-maven-3.3.9\lib\aether-api-1.0.2.v20150114.jar;C:\opt\apache-maven-3.3.9\lib\aether-connector-basic-1.0.2.v20150114.jar;C:\opt\apache-maven-3.3.9\lib\aether-impl-1.0.2.v20150114.jar;C:\opt\apache-maven-3.3.9\lib\aether-spi-1.0.2.v20150114.jar;C:\opt\apache-maven-3.3.9\lib\aether-transport-wagon-1.0.2.v20150114.jar;C:\opt\apache-maven-3.3.9\lib\aether-util-1.0.2.v20150114.jar;C:\opt\apache-maven-3.3.9\lib\aopalliance-1.0.jar;C:\opt\apache-maven-3.3.9\lib\cdi-api-1.0.jar;C:\opt\apache-maven-3.3.9\lib\commons-cli-1.2.jar;C:\opt\apache-maven-3.3.9\lib\commons-io-2.2.jar;C:\opt\apache-maven-3.3.9\lib\commons-lang-2.6.jar;C:\opt\apache-maven-3.3.9\lib\commons-lang3-3.4.jar;C:\opt\apache-maven-3.3.9\lib\guava-18.0.jar;C:\opt\apache-maven-3.3.9\lib\guice-4.0-no_aop.jar;C:\opt\apache-maven-3.3.9\lib\javax.inject-1.jar;C:\opt\apache-maven-3.3.9\lib\jsoup-1.7.2.jar;C:\opt\apache-maven-3.3.9\lib\jsr250-api-1.0.jar;C:\opt\apache-maven-3.3.9\lib\maven-aether-provider-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\maven-artifact-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\maven-builder-support-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\maven-compat-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\maven-core-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\maven-embedder-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\maven-model-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\maven-model-builder-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\maven-plugin-api-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\maven-repository-metadata-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\maven-settings-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\maven-settings-builder-3.3.9.jar;C:\opt\apache-maven-3.3.9\lib\org.eclipse.sisu.inject-0.3.2.jar;C:\opt\apache-maven-3.3.9\lib\org.eclipse.sisu.plexus-0.3.2.jar;C:\opt\apache-maven-3.3.9\lib\plexus-cipher-1.7.jar;C:\opt\apache-maven-3.3.9\lib\plexus-component-annotations-1.6.jar;C:\opt\apache-maven-3.3.9\lib\plexus-interpolation-1.21.jar;C:\opt\apache-maven-3.3.9\lib\plexus-sec-dispatcher-1.3.jar;C:\opt\apache-maven-3.3.9\lib\plexus-utils-3.0.22.jar;C:\opt\apache-maven-3.3.9\lib\slf4j-api-1.7.5.jar;C:\opt\apache-maven-3.3.9\lib\slf4j-simple-1.7.5.jar;C:\opt\apache-maven-3.3.9\lib\wagon-file-2.10.jar;C:\opt\apache-maven-3.3.9\lib\wagon-http-2.10-shaded.jar;C:\opt\apache-maven-3.3.9\lib\wagon-http-shared-2.10.jar;C:\opt\apache-maven-3.3.9\lib\wagon-provider-api-2.10.jar;C:\opt\apache-maven-3.3.9\boot\plexus-classworlds-2.5.2.jar" org.jetbrains.idea.maven.server.RemoteMavenServer
2016-12-16 12:19:29,050 [  35665]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 25796 ms
2016-12-16 12:19:30,114 [  36729]   INFO - unicator.p2p.UserMonitorThread - Force finding users
2016-12-16 12:19:30,864 [  37479]   INFO - ution.rmi.RemoteProcessSupport - Port/ID: 58493/Maven3ServerImple3fef00a
2016-12-16 12:19:34,016 [  40631]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 27ms; general responsiveness: ok; EDT responsiveness: ok
2016-12-16 12:19:34,126 [  40741]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 109ms; general responsiveness: ok; EDT responsiveness: ok
2016-12-16 12:19:36,563 [  43178]   INFO -      #org.jetbrains.idea.maven - org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact com.xx.yyyy.zzzz:common-host-ftp:jar:sources:12.5.0-20161215.221529-385
java.lang.RuntimeException: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact com.xx.yyyy.zzzz:common-host-ftp:jar:sources:12.5.0-20161215.221529-385
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
    at org.jetbrains.idea.maven.server.Maven3ServerEmbedderImpl.resolve(Maven3ServerEmbedderImpl.java:1212)
    at org.jetbrains.idea.maven.server.Maven3ServerEmbedderImpl.doResolve(Maven3ServerEmbedderImpl.java:1156)
    at org.jetbrains.idea.maven.server.Maven3ServerEmbedderImpl.doResolve(Maven3ServerEmbedderImpl.java:1150)
    at org.jetbrains.idea.maven.server.Maven3ServerEmbedderImpl.resolve(Maven3ServerEmbedderImpl.java:1019)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
    at sun.rmi.transport.Transport$1.run(Transport.java:200)
    at sun.rmi.transport.Transport$1.run(Transport.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.xx.yyyy.zzzz:common-host-ftp:jar:sources:12.5.0-20161215.221529-385
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:434)
    ... 24 more
2016-12-16 12:19:36,791 [  43406]   INFO - pl.ProjectRootManagerComponent - project roots have changed
2016-12-16 12:19:37,082 [  43697]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 18ms; general responsiveness: ok; EDT responsiveness: ok
2016-12-16 12:19:37,245 [  43860]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 163ms; general responsiveness: ok; EDT responsiveness: ok
2016-12-16 12:19:45,092 [  51707]   INFO - ution.rmi.RemoteProcessSupport - Terminating: 58493/Maven3ServerImple3fef00a
2016-12-16 12:19:45,112 [  51727]   INFO - org.jetbrains.io.BuiltInServer - web server stopped
2016-12-16 12:19:45,144 [  51759]   INFO - Types.impl.FileTypeManagerImpl - FileTypeManager: 0 auto-detected files
Elapsed time on auto-detect: 0 ms
2016-12-16 12:19:47,299 [  53914]   INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN
2016-12-16 12:19:47,300 [  53915]   INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN
2016-12-16 12:19:47,302 [  53917]   INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN
2016-12-16 12:19:47,740 [  54355]   INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN
2016-12-16 12:19:47,795 [  54410]   INFO - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 0
2016-12-16 12:19:47,796 [  54411]   INFO - newvfs.persistent.PersistentFS - VFS dispose started
2016-12-16 12:19:47,979 [  54594]   INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2016-12-16 12:19:48,013 [  54628]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2016-12-16 12:19:48,024 [  54639]   INFO - org.jetbrains.io.BuiltInServer - web server stopped

 

And the repository artifacts list:

common-host-ftp-12.5.0-20161213.221537-383-sources.jar        13-Dec-2016 23:15  66.77 KB
common-host-ftp-12.5.0-20161213.221537-383-sources.jar.md5    13-Dec-2016 23:15  32 bytes
common-host-ftp-12.5.0-20161213.221537-383-sources.jar.sha1   13-Dec-2016 23:15  40 bytes
common-host-ftp-12.5.0-20161213.221537-383.jar                13-Dec-2016 23:15  146.20 KB
common-host-ftp-12.5.0-20161213.221537-383.jar.md5            13-Dec-2016 23:15  32 bytes
common-host-ftp-12.5.0-20161213.221537-383.jar.sha1           13-Dec-2016 23:15  40 bytes
common-host-ftp-12.5.0-20161213.221537-383.pom                13-Dec-2016 23:15  1.34 KB
common-host-ftp-12.5.0-20161213.221537-383.pom.md5            13-Dec-2016 23:15  32 bytes
common-host-ftp-12.5.0-20161213.221537-383.pom.sha1           13-Dec-2016 23:15  40 bytes
common-host-ftp-12.5.0-20161214.221619-384-sources.jar        14-Dec-2016 23:16  66.77 KB
common-host-ftp-12.5.0-20161214.221619-384-sources.jar.md5    14-Dec-2016 23:16  32 bytes
common-host-ftp-12.5.0-20161214.221619-384-sources.jar.sha1   14-Dec-2016 23:16  40 bytes
common-host-ftp-12.5.0-20161214.221619-384.jar                14-Dec-2016 23:16  146.20 KB
common-host-ftp-12.5.0-20161214.221619-384.jar.md5            14-Dec-2016 23:16  32 bytes
common-host-ftp-12.5.0-20161214.221619-384.jar.sha1           14-Dec-2016 23:16  40 bytes
common-host-ftp-12.5.0-20161214.221619-384.pom                14-Dec-2016 23:16  1.34 KB
common-host-ftp-12.5.0-20161214.221619-384.pom.md5            14-Dec-2016 23:16  32 bytes
common-host-ftp-12.5.0-20161214.221619-384.pom.sha1           14-Dec-2016 23:16  40 bytes
common-host-ftp-12.5.0-20161215.221529-385-sources.jar        15-Dec-2016 23:15  66.77 KB
common-host-ftp-12.5.0-20161215.221529-385-sources.jar.md5    15-Dec-2016 23:15  32 bytes
common-host-ftp-12.5.0-20161215.221529-385-sources.jar.sha1   15-Dec-2016 23:15  40 bytes
common-host-ftp-12.5.0-20161215.221529-385.jar                15-Dec-2016 23:15  146.20 KB
common-host-ftp-12.5.0-20161215.221529-385.jar.md5            15-Dec-2016 23:15  32 bytes
common-host-ftp-12.5.0-20161215.221529-385.jar.sha1           15-Dec-2016 23:15  40 bytes
common-host-ftp-12.5.0-20161215.221529-385.pom                15-Dec-2016 23:15  1.34 KB
common-host-ftp-12.5.0-20161215.221529-385.pom.md5            15-Dec-2016 23:15  32 bytes
common-host-ftp-12.5.0-20161215.221529-385.pom.sha1           15-Dec-2016 23:15  40 bytes

Thanks,

Marino

0

Could you please also attach screenshot from "Settings | Build... | Build Tools | Maven"?

0

Marino,

 

Do you face the same issue with bundled Maven?

0

HI, I also tried with bundled Maven, but the issue is the same.

0

Marino,

 

I reported an issue to YouTrack: https://youtrack.jetbrains.com/issue/IDEA-165800

Please start following it to receive automatic notifications from YouTrack when the issue is updated.
See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications   if you are not familiar with YouTrack.

0

Hi guys, 

I have same problem with Intellij IDEA 2017.1.2,

Tried every suggestion from the internet, nothing helped.  

2

Same problem here. 

IntelliJ IDEA 2017.2 Build #IU-172.3317.76, built on July 15, 2017
JRE: 1.8.0_152-release-915-b5 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.5

0

Also same problem here. No problem to download the sources with mvn command line from our Nexus server. Log:

2017-07-27 10:26:54,734 [262514358] INFO - #org.jetbrains.idea.maven - org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact ...
java.lang.RuntimeException: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact ...
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:453)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:255)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:232)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:303)
at org.jetbrains.idea.maven.server.Maven3ServerEmbedderImpl.resolve(Maven3ServerEmbedderImpl.java:1225)
at org.jetbrains.idea.maven.server.Maven3ServerEmbedderImpl.doResolve(Maven3ServerEmbedderImpl.java:1167)
at org.jetbrains.idea.maven.server.Maven3ServerEmbedderImpl.doResolve(Maven3ServerEmbedderImpl.java:1161)
at org.jetbrains.idea.maven.server.Maven3ServerEmbedderImpl.resolve(Maven3ServerEmbedderImpl.java:1030)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact ...
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:443)
... 23 more

 

IntelliJ IDEA 2017.2
Build #IU-172.3317.76, built on July 15, 2017
JRE: 1.8.0_152-release-915-b5 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

0

Hi guys, 

I met the same issue with Gradle instead of Maven, and I got it resolved by following this answer https://stackoverflow.com/questions/28404149/how-to-download-javadocs-and-sources-for-jar-using-gradle-2-0 

Hope it is helpful if it does.

 

1

Please sign in to leave a comment.