Open GoogleCodeExporter opened 9 years ago
Greg, you're our Maven guy. I'm glad we have a Maven guy!
Original comment by limpbizkit
on 22 Jun 2009 at 2:24
I've just been looking at the ant build (on the 2.0-maven branch). This builds
the correct source jars already
(since r467). However, in order to make things maven-happy, they need to be
called *-sources.jar instead of
*-src.jar. Apart from that, they should be ready to upload to a maven
repository.
diff --git a/common.xml b/common.xml
index e14901e..1e20bb0 100644
--- a/common.xml
+++ b/common.xml
@@ -96,7 +96,7 @@
<target name="source.jar"
description="Create a .jar file with sources">
<mkdir dir="${build.dir}"/>
- <zip destfile="${build.dir}/${ant.project.name}-${version}-src.jar">
+ <zip destfile="${build.dir}/${ant.project.name}-${version}-sources.jar">
<fileset dir="src"/>
</zip>
</target>
Original comment by dom.happ...@gmail.com
on 23 Jun 2009 at 7:13
Doh. That's for the 2.0 branch, not the 1.0 branch. That said, back-porting
r467 to 1.0 along with that patch
should produce the expected results.
Original comment by dom.happ...@gmail.com
on 23 Jun 2009 at 7:14
There still is no -sources.jar in http://google-maven-
repository.googlecode.com/svn/repository/com/google/inject/guice/2.0/ nor in
http://google-maven-
repository.googlecode.com/svn/repository/com/google/inject/guice/1.0/
Original comment by esko.luo...@gmail.com
on 17 Aug 2009 at 7:38
Can anyone place the sources in maven repo for 2.0, pretty please with sugar on
top?
Original comment by dominik....@gmail.com
on 18 Nov 2009 at 11:16
Sources please. :-)
Original comment by james.r...@gmail.com
on 21 Dec 2009 at 9:02
Can any one please update us on the status of this task?
Original comment by jigar.go...@gmail.com
on 18 Mar 2010 at 9:36
I've taken the liberty to create a sources jar. Simply place this in your local
repo and all should work,
~/.m2/repository/com/google/inject/guice/2.0.
Original comment by james.r...@gmail.com
on 25 Mar 2010 at 2:57
Attachments:
Still no sources in Maven, eh?
Original comment by stephenson.james
on 20 Aug 2010 at 3:21
Also remember to add the sources for all extensions, such as multibindings. And
put them to the Maven Central repository, not only google-maven-
repository.googlecode.com
Original comment by esko.luo...@gmail.com
on 25 Aug 2010 at 4:16
I would also like to see source (and JavaDoc) JARs for Guice 2.0, please.
Original comment by steven.b...@gmail.com
on 21 Nov 2010 at 9:44
This is fixed for Guice 3.0+.
Original comment by sberlin
on 20 Feb 2011 at 12:28
anything for guice 2.0 backports? thanks for the sources-jar but would be nice
to have it in mvn repo too!
Original comment by LeetCh...@gmail.com
on 18 Aug 2013 at 8:28
Original issue reported on code.google.com by
dom.happ...@gmail.com
on 6 Jun 2009 at 7:16