Grails
  1. Grails
  2. GRAILS-9021

Provide parameter to make Ivy NOT download sources and javadoc

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.3.7, 2.0.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When compiling and building a grails application, it turned out that Ivy tries to download the resolved artifacts' javadoc and sources.
      While this is not bad at all, not few artifacts do not have their sources and javadoc published to the public maven repositories. This often results in a very long building process due to timeouts and due to the fact that Ivy doesn't give up asking other repositories for these files.
      You can find a discussion on the Grails ML here: http://grails.1312388.n4.nabble.com/mavenCentral-and-the-dependency-resolving-mechanism-td4519287.html - see Ronny Løvtangen's reply.

      So it would be a huge improvement if there was a parameter (e.g. in the BuildConfig's dependency section) to explicitly tell Ivy to leave out sources and javadoc for all plugins (globally) or for certain plugins.

      Thanks
      Georg

        Activity

        Hide
        Graeme Rocher added a comment -

        As far as I'm aware there is no parameter/feature in Ivy that allows you to control whether sources/javadoc are downloaded

        Show
        Graeme Rocher added a comment - As far as I'm aware there is no parameter/feature in Ivy that allows you to control whether sources/javadoc are downloaded
        Hide
        Georg Stach added a comment -

        Ivy's ability to manage this behaviour is of course a necessary. Grails should just 'forward' this parameter accordingly.

        I came across this thread in stack overflow.com: http://stackoverflow.com/questions/7046198/ignore-sources-jar-in-ivy-retrieve - maybe that's helpful for further investigations... seems to be a quite complex topic.

        Show
        Georg Stach added a comment - Ivy's ability to manage this behaviour is of course a necessary. Grails should just 'forward' this parameter accordingly. I came across this thread in stack overflow.com: http://stackoverflow.com/questions/7046198/ignore-sources-jar-in-ivy-retrieve - maybe that's helpful for further investigations... seems to be a quite complex topic.
        Hide
        Alex Anderson added a comment -

        Maybe Grails users/team should lobby for it if it will significantly increase build speed.

        Show
        Alex Anderson added a comment - Maybe Grails users/team should lobby for it if it will significantly increase build speed.
        Hide
        Ronny Løvtangen added a comment -

        A good reason to give the transition to Gradle high priority

        Show
        Ronny Løvtangen added a comment - A good reason to give the transition to Gradle high priority
        Hide
        Ronny Løvtangen added a comment -

        See GRAILS-6359 as well

        Show
        Ronny Løvtangen added a comment - See GRAILS-6359 as well
        Hide
        Georg Stach added a comment -

        I haven't been aware of GRAILS-6359 when opening this ticket.
        Dear Graeme or Peter, could you close this issue here (GRAILS-9021) as it's a duplicate of GRAILS-6359?

        Thanks
        Georg

        Show
        Georg Stach added a comment - I haven't been aware of GRAILS-6359 when opening this ticket. Dear Graeme or Peter, could you close this issue here ( GRAILS-9021 ) as it's a duplicate of GRAILS-6359 ? Thanks Georg

          People

          • Assignee:
            Unassigned
            Reporter:
            Georg Stach
          • Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development