Comment #2 on issue 382 by [email protected]: No source jars in maven
repository
http://code.google.com/p/google-guice/issues/detail?id=382
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>
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---