Giter Club home page Giter Club logo

Comments (8)

DominicKramer avatar DominicKramer commented on July 2, 2024

It also doesn't sometimes work on my local machine. Sometimes it works though.

from clutz.

rkirov avatar rkirov commented on July 2, 2024

I don't know enough about Maven ecosystem, but maybe there is another mirror to use?

from clutz.

DominicKramer avatar DominicKramer commented on July 2, 2024

I don't know why we are not using Maven Central. @concavelenz do you have a suggestion for a better mirror?

from clutz.

DominicKramer avatar DominicKramer commented on July 2, 2024

It looks like closure-compiler-1.0-SNAPSHOT.jar is not in Maven Central, which is why we can't just us it.

from clutz.

shicks avatar shicks commented on July 2, 2024

I don't really understand it, but Sonatype is how we get our jars onto Maven. As far as I'm aware, everyone at Google uses it.

from clutz.

DominicKramer avatar DominicKramer commented on July 2, 2024

Here is a great resource here about the differences between Maven Central, JCenter, and sonatype.org.

TL;DR
Maven Central is the central place where all jars are stored. Next, JCenter is a newer superset of Maven Central, can have better download performance in some regions, and is the default repo used in Android projects and in build scripts made with gradle init.

https://oss.sonatype.org/content/repositories/snapshots is the location where releases are staged before they are released to Maven Central.

Since clutz is relying on the -SNAPSHOT version of closure compiler, we need to get it from https://oss.sonatype.org/content/repositories/snapshots. This is because -SNAPSHOT versions are special in Maven and specify the latest development version. On every build, when Maven resolves dependencies, it will always try the remote repository to get the latest -SNAPSHOT (as apposed to explicit versions that are cached).

Since clutz is relying directly on the development head of closure compiler, we need to use https://oss.sonatype.org/content/repositories/snapshots.

Long story short, we can't just use JCenter or Maven Central. Because of that I'm going to close this.

from clutz.

rkirov avatar rkirov commented on July 2, 2024

This keeps on failing, which means we have no recourse other than turning off tests :( Maybe it is time to switch to internal first development.

from clutz.

alexeagle avatar alexeagle commented on July 2, 2024

If you care to make 3p development work, I can solve this problem for you, just have JSCompiler and clutz in the same build. Using Bazel to solve this problem in open-source gives you the same-shaped solution as using Blaze to solve the problem in Piper.

from clutz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.