Comments (8)
It also doesn't sometimes work on my local machine. Sometimes it works though.
from clutz.
I don't know enough about Maven ecosystem, but maybe there is another mirror to use?
from clutz.
I don't know why we are not using Maven Central. @concavelenz do you have a suggestion for a better mirror?
from clutz.
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.
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.
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.
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.
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)
- Filter by Custom Tags Question HOT 4
- Do you use Clutz? How? HOT 2
- error: cannot find symbol import com.google.javascript.rhino.jstype.FunctionType.Parameter; HOT 6
- Question: externsMap on goog standard library
- test class_extends_array.js FAILED after 20190115 HOT 2
- Fix externs: DOMRect
- [gents] arrow functions with a single argument are not emitted properly syntactically HOT 1
- clutz should emit 'unknown' when translating '*'
- enum aliases are incorrectly emitted in partial mode HOT 4
- inner classes not emitted when outer class is emitted with named export
- declare legacy namespace + export obj + enum create wrong output HOT 1
- Static members on function not emitted
- gents does not handle goog.requireType HOT 2
- gents should convert @this
- Event vs KeyboardEvent
- Closure's `goog.isDefAndNotNull` seem to affect type inference and make clutz emit extra 'any's HOT 3
- JsDoc on static enums is not preserved
- clutz should not emit 'abstract' modifier on interfaces
- Build are failing HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clutz.