Gradle

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-2188

Artifact not found resolving dependencies with packaging/type "orbit"

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Resolution: Fixed
  • Affects Version/s: 1.0-milestone-9
  • Fix Version/s: 1.1-rc-1

Description

Jetty has a dependency of type "orbit", which fails with gradle (and also ivy), but works with maven.

This is pretty much the same as GRADLE-2076, and is described in a comment to that issues (http://issues.gradle.org/browse/GRADLE-2076?focusedCommentId=14942&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14942). The solution applied to types "eclipse-plugin" should also apply to type "orbit" – or maybe the solution in the comment above should be used ("I might be wrong, but Maven seems to default to jar if <type></type> isn't specified in the dependency declaration. Would defaulting to jar for unknown packaging types cause problems with Gradle (or Ivy for that matter)?").

Issue Links

Duplicated by

Bug - A problem which impairs or prevents the functions of the product. GRADLE-2285 Dependency with package type 'orbit' should be interpreted as a jar

  • Resolved - A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
Hide
Permalink
Ryan J added a comment - 05/May/12 2:03 PM

I've also discovered Jetty has a set of aggregate JARs that work a bit better for embedding. I've been using org.eclipse.jetty.aggregate:jetty-servlet:8.1.3.v20120416 for a couple days and the packaging seems to be a little more sane.

Show
Ryan J added a comment - 05/May/12 2:03 PM I've also discovered Jetty has a set of aggregate JARs that work a bit better for embedding. I've been using org.eclipse.jetty.aggregate:jetty-servlet:8.1.3.v20120416 for a couple days and the packaging seems to be a little more sane.
Hide
Permalink
Niclas Hedhman added a comment - 12/May/12 11:51 PM

Well, aggregate:jetty-webapp still wants to download @orbit. Jetty is such a central piece of most development, I think this is quite an important showstopper at the moment.

Show
Niclas Hedhman added a comment - 12/May/12 11:51 PM Well, aggregate:jetty-webapp still wants to download @orbit. Jetty is such a central piece of most development, I think this is quite an important showstopper at the moment.
Hide
Permalink
Eirik Lygre added a comment - 14/May/12 6:11 AM

I had a friendly email conversation with Daz DeBoer, who fixed the related bug GRADLE-2076. The most relevant part was this:

Our current behaviour is just the ivy default behaviour, with the fix for handling types 'maven-plugin' and 'eclipse-plugin'. You're certainly right about needing a more general solution: probably just map "known" package types to their extensions, and everything else to 'jar'. We want to work the same as Maven when dealing with pom files.

A pull-request with the fix is probably the best way to get this bug prioritised .

I sympathize with the desire for a pull-request, but I'm just not familiar enough with the gradle codebase to even get started.

Show
Eirik Lygre added a comment - 14/May/12 6:11 AM I had a friendly email conversation with Daz DeBoer, who fixed the related bug GRADLE-2076. The most relevant part was this:
Our current behaviour is just the ivy default behaviour, with the fix for handling types 'maven-plugin' and 'eclipse-plugin'. You're certainly right about needing a more general solution: probably just map "known" package types to their extensions, and everything else to 'jar'. We want to work the same as Maven when dealing with pom files. A pull-request with the fix is probably the best way to get this bug prioritised .
I sympathize with the desire for a pull-request, but I'm just not familiar enough with the gradle codebase to even get started.
Hide
Permalink
Eirik Lygre added a comment - 16/Jun/12 5:01 PM

A duplicate issue has been reported at GRADLE-2285. The reporter there has indicated that he will create the desired pull-request, so maybe that will sort things out.

Show
Eirik Lygre added a comment - 16/Jun/12 5:01 PM A duplicate issue has been reported at GRADLE-2285. The reporter there has indicated that he will create the desired pull-request, so maybe that will sort things out.

People

  • Assignee:
    Unassigned
    Reporter:
    Eirik Lygre
Vote (3)
Watch (5)

Dates

  • Created:
    20/Mar/12 2:26 PM
    Updated:
    04/Jan/13 5:09 AM
    Resolved:
    11/Jul/12 5:32 PM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.