all is in the title :) maven is de facto standard in a lot of software factory, and it is impossible tu use a lib wich is not in a maven repo.
Comment #1
Posted on Dec 14, 2009 by Swift Lion(No comment was entered for this change.)
Comment #2
Posted on Apr 19, 2010 by Happy BirdIs it possible to get any movement on this? Would love to start using closure templates in my maven projects :)
Comment #3
Posted on Apr 21, 2010 by Swift LionThe first step to doing this is getting Closure Templates to depend only on open-sourced code (it currently depends on some code which is not released in source form). We're working on this right now. The next release of Closure Templates should remove the bad dependencies.
After that, it'll be possible to put Closure Templates into Maven. Although, I've never used Maven, so I don't know how easy/hard that will be.
Comment #4
Posted on Aug 31, 2010 by Helpful KangarooFor the last downloadable version (20100708) I have generated a pom.xml, and the project tree.
The boundled version uses some snapshot libraries - guice.*.2.1.0.snapshot
These version-s are not in the central repository (http://repo1.maven.org/maven2/), so I used - guice.*.2.0 instead
Used guava-r06 instead the boundled guave-r03.
There are no tests for the project, so can not confirm, everything is working, but our page is working with the new soy.jar
The pom.xml is attached, I can send the project tree if needed.
I really would like to have the soy.jar from the central repository, if any help needed just contact me.
- pom.xml 3.67KB
Comment #5
Posted on Oct 9, 2010 by Helpful MonkeyHello, was trying to use Maven with Guice for web development (and Google Closure Templates). Was trying to use this all together using approach described above. But the problem is that time to time I get error (it is attached in file). Web project is created by following example: http://goo.gl/Cqf4
- StrangeError 9.39KB
Comment #7
Posted on Oct 14, 2011 by Grumpy LionFYI, the Closure compiler is already in Maven, so you can look at how that's setup and ask those folks about it. http://repo1.maven.org/maven2/com/google/javascript/closure-compiler/
Comment #8
Posted on Nov 19, 2011 by Happy LionHere is the pom.xml i have written for my project. You need the soy-excluding-deps-2011-14-10.jar from the current realease.
To install it in your local repository: mvn install:install-file -Dfile=soy-excluding-deps-2011-14-10.jar -DpomFile=pom.xml
I realy like closure templates und would love to see them in the central repository.
- pom.xml 2.7KB
Comment #9
Posted on Dec 20, 2011 by Massive BirdFor those interested, I've put up an unofficial maven repo for Google Closure Templates here on github: https://github.com/codedance/maven-repository . It's maintained as part of the Silken project: https://github.com/codedance/silken
Comment #10
Posted on Apr 26, 2012 by Grumpy BirdAny chance that, after two years and a half, you're still considering to tackle this issue?
Comment #11
Posted on Apr 30, 2012 by Swift LionSorry, 3 people have done releases and it's been below the priority cutoff each time to look into this. Maybe someone will get a chance to look into this the next time we make a release, probably sometime this summer or fall.
Comment #12
Posted on Apr 30, 2012 by Grumpy LionNot having it in the Maven repo really hampers adoption. The entire Java world is all using Maven repos these days. Even if you're using another build system like Ant or Gradle, they're usually hooked up to the Maven repos (e.g. via Ivy). It's pretty hard to see this if you're inside of Google using blaze, but really I wonder if it's even worth open sourcing something that's not going to be in a Maven repo.
Comment #13
Posted on Sep 14, 2012 by Swift DogPlease, publish closure-templates in mvn repo. Currently we are trying to integrate it in our Spring application and a lack of officially published library is really frustrating.
Comment #14
Posted on Oct 23, 2012 by Grumpy Kangaroo+1 for please push to a maven repo.
Comment #15
Posted on Oct 25, 2012 by Quick Lionyep, please push
Comment #16
Posted on Oct 25, 2012 by Swift LionYes, we hear you. Our plan continues to be to add to Maven after the next release. We've just been busy with other stuff, so no ETA yet.
Comment #17
Posted on Dec 6, 2012 by Grumpy Rabbitthanks for update
Comment #18
Posted on Dec 6, 2012 by Grumpy Rabbit..and thanks to Chris for unofficial repo - which secretstatus.com is now using..
Comment #19
Posted on Apr 16, 2013 by Massive RhinoIs there any update on this?
Comment #20
Posted on Apr 16, 2013 by Swift LionSomeone knowledgeable about Maven was helping make this happen, but I think he got pulled off to do something higher priority. Let me ping him again.
Comment #21
Posted on Aug 13, 2013 by Happy PandaProject members: Please allow me to upload "closure template project" to "maven central repository". I can upload this project to maven central repository myself. Administrators of maven central repository give the way to upload 3rd-party artifacts by any people.
You can check post from sonatype: Uploading 3rd-party Artifacts to The Central Repository https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository
Comment #22
Posted on Aug 14, 2013 by Swift LionThe person knowledgeable about Maven (that I referred to in my previous post) is Paul Lindner. I've added him as the owner of this issue.
I personally have no problem with you guys uploading Soy to Maven yourselves. Go for it! But I'll let Paul Lindner be the final judge of what should be done here.
Comment #23
Posted on Aug 19, 2013 by Happy PandaThanks for approval!
I uploaded closure-templates artifacts to central repository as staging few days ago, and administrator of central repository finally releases artifacts! Now, closure-template can be found in maven central! http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.google.template%22%20AND%20a%3A%22soy%22
You can use closure-template with following codes on pom.xml of your maven project:
com.google.template soy 2012-12-21
I uploaded two versions, 2012-12-21 and 2011-22-12, for now. I can upload newer version whenever it release, if project members allow me to do that.
Comment #24
Posted on Sep 5, 2014 by Swift ElephantComment deleted
Comment #25
Posted on Feb 26, 2015 by Happy Monkey(No comment was entered for this change.)
Status: Done
Labels:
Type-Enhancement
Priority-Medium