dpinol / closure-templates

Automatically exported from code.google.com/p/closure-templates
Apache License 2.0
0 stars 0 forks source link

add closure-templates jar in google maven repository #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by julien.m...@gmail.com on 25 Nov 2009 at 9:41

GoogleCodeExporter commented 8 years ago

Original comment by kai.hu...@gmail.com on 14 Dec 2009 at 10:24

GoogleCodeExporter commented 8 years ago
Is it possible to get any movement on this? Would love to start using closure 
templates in my maven projects :)

Original comment by james.w....@gmail.com on 19 Apr 2010 at 4:56

GoogleCodeExporter commented 8 years ago
The 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.

Original comment by kai.hu...@gmail.com on 21 Apr 2010 at 10:55

GoogleCodeExporter commented 8 years ago
For 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.

Original comment by peter.v...@gmail.com on 31 Aug 2010 at 1:30

Attachments:

GoogleCodeExporter commented 8 years ago
Hello, 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

Original comment by judo....@gmail.com on 9 Oct 2010 at 9:07

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
FYI, 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/

Original comment by benjamin...@gmail.com on 14 Oct 2011 at 5:32

GoogleCodeExporter commented 8 years ago
Here 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.

Original comment by nikola....@gmail.com on 19 Nov 2011 at 9:09

Attachments:

GoogleCodeExporter commented 8 years ago
For 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

Original comment by dance.ch...@gmail.com on 20 Dec 2011 at 5:13

GoogleCodeExporter commented 8 years ago
Any chance that, after two years and a half, you're still considering to tackle 
this issue?

Original comment by carlo.sciolla on 26 Apr 2012 at 8:26

GoogleCodeExporter commented 8 years ago
Sorry, 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.

Original comment by kai.hu...@gmail.com on 30 Apr 2012 at 8:33

GoogleCodeExporter commented 8 years ago
Not 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.

Original comment by benjamin...@gmail.com on 30 Apr 2012 at 8:42

GoogleCodeExporter commented 8 years ago
Please, 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.

Original comment by helio...@gmail.com on 14 Sep 2012 at 11:22

GoogleCodeExporter commented 8 years ago
+1 for please push to a maven repo. 

Original comment by mpatel.g...@gmail.com on 23 Oct 2012 at 2:19

GoogleCodeExporter commented 8 years ago
yep, please push

Original comment by chernet...@gmail.com on 25 Oct 2012 at 6:26

GoogleCodeExporter commented 8 years ago
Yes, 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.

Original comment by kai.hu...@gmail.com on 25 Oct 2012 at 7:08

GoogleCodeExporter commented 8 years ago
thanks for update

Original comment by benjamin...@gmail.com on 6 Dec 2012 at 6:00

GoogleCodeExporter commented 8 years ago
..and thanks to Chris for unofficial repo - which secretstatus.com is now 
using..

Original comment by benjamin...@gmail.com on 6 Dec 2012 at 6:05

GoogleCodeExporter commented 8 years ago
Is there any update on this?

Original comment by marceloverdijk on 16 Apr 2013 at 1:10

GoogleCodeExporter commented 8 years ago
Someone 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.

Original comment by kai.hu...@gmail.com on 16 Apr 2013 at 7:03

GoogleCodeExporter commented 8 years ago
Project 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+Th
e+Central+Repository

Original comment by roth2...@gmail.com on 13 Aug 2013 at 6:13

GoogleCodeExporter commented 8 years ago
The 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.

Original comment by kai.hu...@gmail.com on 14 Aug 2013 at 12:28

GoogleCodeExporter commented 8 years ago
Thanks 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:

<dependency>
    <groupId>com.google.template</groupId>
    <artifactId>soy</artifactId>
    <version>2012-12-21</version>
</dependency>

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.

Original comment by roth2...@gmail.com on 19 Aug 2013 at 2:46

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by brendan....@gmail.com on 26 Feb 2015 at 11:55