You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jan Thomae (JIRA)" <ji...@codehaus.org> on 2006/12/04 21:59:41 UTC
[jira] Created: (MIDEA-79) Sources for SNAPSHOT-dependencies are
not downloaded correctly.
Sources for SNAPSHOT-dependencies are not downloaded correctly.
---------------------------------------------------------------
Key: MIDEA-79
URL: http://jira.codehaus.org/browse/MIDEA-79
Project: Maven 2.x Idea Plugin
Issue Type: Bug
Affects Versions: 2.1
Reporter: Jan Thomae
When downloading sources for SNAPSHOT dependencies, the plugin uses the wrong path. Instead of downloading
http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-20061202.231038-59-sources.jar
it tries to download
http://repository.insomnia-hq.de/de/insomniahq/icc/icc-1.0-20061202.231038-59/icc-1.0-20061202.231038-59-sources.jar
Also sometimes it tries to download
http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-SNAPSHOT-sources.jar
instead of replacing the SNAPSHOT with the actual snapshot version.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-79) Sources for SNAPSHOT-dependencies are
not downloaded correctly.
Posted by "Alexey Epishkin (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94939 ]
Alexey Epishkin commented on MIDEA-79:
--------------------------------------
please fix that issue!
> Sources for SNAPSHOT-dependencies are not downloaded correctly.
> ---------------------------------------------------------------
>
> Key: MIDEA-79
> URL: http://jira.codehaus.org/browse/MIDEA-79
> Project: Maven 2.x Idea Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Jan Thomae
> Assignee: Stephane Nicoll
>
> When downloading sources for SNAPSHOT dependencies, the plugin uses the wrong path. Instead of downloading
> http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-20061202.231038-59-sources.jar
> it tries to download
> http://repository.insomnia-hq.de/de/insomniahq/icc/icc-1.0-20061202.231038-59/icc-1.0-20061202.231038-59-sources.jar
> Also sometimes it tries to download
> http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-SNAPSHOT-sources.jar
> instead of replacing the SNAPSHOT with the actual snapshot version.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MIDEA-79) Sources for SNAPSHOT-dependencies are
not downloaded correctly.
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-79?page=all ]
Stephane Nicoll updated MIDEA-79:
---------------------------------
Affects Version/s: (was: 2.1)
2.0
> Sources for SNAPSHOT-dependencies are not downloaded correctly.
> ---------------------------------------------------------------
>
> Key: MIDEA-79
> URL: http://jira.codehaus.org/browse/MIDEA-79
> Project: Maven 2.x Idea Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Jan Thomae
> Assigned To: Stephane Nicoll
>
> When downloading sources for SNAPSHOT dependencies, the plugin uses the wrong path. Instead of downloading
> http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-20061202.231038-59-sources.jar
> it tries to download
> http://repository.insomnia-hq.de/de/insomniahq/icc/icc-1.0-20061202.231038-59/icc-1.0-20061202.231038-59-sources.jar
> Also sometimes it tries to download
> http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-SNAPSHOT-sources.jar
> instead of replacing the SNAPSHOT with the actual snapshot version.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-79) Sources for SNAPSHOT-dependencies are
not downloaded correctly.
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-79?page=comments#action_84283 ]
Stephane Nicoll commented on MIDEA-79:
--------------------------------------
resolveClassifiedArtifact method in IdeaModuleMojo seems to reinvent the wheel. I think that we have a download manager utility in the shared components. will see if we can use that instead.
Thanks for the report
> Sources for SNAPSHOT-dependencies are not downloaded correctly.
> ---------------------------------------------------------------
>
> Key: MIDEA-79
> URL: http://jira.codehaus.org/browse/MIDEA-79
> Project: Maven 2.x Idea Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Jan Thomae
> Assigned To: Stephane Nicoll
>
> When downloading sources for SNAPSHOT dependencies, the plugin uses the wrong path. Instead of downloading
> http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-20061202.231038-59-sources.jar
> it tries to download
> http://repository.insomnia-hq.de/de/insomniahq/icc/icc-1.0-20061202.231038-59/icc-1.0-20061202.231038-59-sources.jar
> Also sometimes it tries to download
> http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-SNAPSHOT-sources.jar
> instead of replacing the SNAPSHOT with the actual snapshot version.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-79) Sources for SNAPSHOT-dependencies are
not downloaded correctly.
Posted by "Andy DePue (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89550 ]
Andy DePue commented on MIDEA-79:
---------------------------------
I believe this is what I'm seeing as well. I've noticed that if a .pom declares a dependency to an inhouse project, then the sources and javadocs are not linked in the IDEA project. However, sources and javadocs are linked to projects from the maven central repository. It could be the reason for this is because the inhouse modules are all SNAPSHOT.
I have a large project with many modules - so many modules, in fact, that it doesn't make sense to put them all in one IDEA project. What I've done is declare the core modules in my main parent .pom, so all those modules get included in the main IDEA project. I should note that all the modules in this main IDEA project do indeed link to each other properly. So, the sources are available, but only because the modules link to each other within the same project. The remaining modules (not included in the main IDEA project) declare the parent .pom as their parent, but the parent .pom does not declare them in its <modules> section. Each of these modules is built independently from the main .pom. What I'd like to do is run mvn idea:idea on these independent modules so that each one has its own project all to itself - which works, for the most part, except that any dependencies to other modules in our organization do not have their sources or javadocs added - though dependencies to outside modules do have the sources and javadocs linked. And yes, I've verified that the sources and javadocs for the other modules have been generated and uploaded properly to our inhouse snapshot server.
> Sources for SNAPSHOT-dependencies are not downloaded correctly.
> ---------------------------------------------------------------
>
> Key: MIDEA-79
> URL: http://jira.codehaus.org/browse/MIDEA-79
> Project: Maven 2.x Idea Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Jan Thomae
> Assigned To: Stephane Nicoll
>
> When downloading sources for SNAPSHOT dependencies, the plugin uses the wrong path. Instead of downloading
> http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-20061202.231038-59-sources.jar
> it tries to download
> http://repository.insomnia-hq.de/de/insomniahq/icc/icc-1.0-20061202.231038-59/icc-1.0-20061202.231038-59-sources.jar
> Also sometimes it tries to download
> http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-SNAPSHOT-sources.jar
> instead of replacing the SNAPSHOT with the actual snapshot version.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MIDEA-79) Sources for SNAPSHOT-dependencies are not
downloaded correctly.
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MIDEA-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Nicoll closed MIDEA-79.
--------------------------------
Resolution: Won't Fix
With the current Maven support in IDEA itself, this is no longer necessary.
> Sources for SNAPSHOT-dependencies are not downloaded correctly.
> ---------------------------------------------------------------
>
> Key: MIDEA-79
> URL: https://jira.codehaus.org/browse/MIDEA-79
> Project: Maven 2.x IDEA Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Jan Thomae
> Assignee: Stephane Nicoll
>
> When downloading sources for SNAPSHOT dependencies, the plugin uses the wrong path. Instead of downloading
> http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-20061202.231038-59-sources.jar
> it tries to download
> http://repository.insomnia-hq.de/de/insomniahq/icc/icc-1.0-20061202.231038-59/icc-1.0-20061202.231038-59-sources.jar
> Also sometimes it tries to download
> http://repository.insomnia-hq.de/de/insomniahq/icc/1.0-SNAPSHOT/icc-1.0-SNAPSHOT-sources.jar
> instead of replacing the SNAPSHOT with the actual snapshot version.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira