﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21190	Source JAR for r18118 doesn't contain svgSalamander source	sebastic	Don-vip	"The source JAR for r18118 doesn't contain svgSalamander source, it contains the `.class` files instead of `.java` files:
{{{
$ find src/com/kitfox/svg/ -name ""*.class"" | wc -l
190
$ find src/com/kitfox/svg/ -name ""*.java"" | wc -l
0
}}}
The source JAR in Maven Central does contain the sources:
{{{
$ jar tvf /tmp/svgSalamander-1.1.2.4-sources.jar | grep java$ | head
 11463 Sun Nov 15 16:51:48 CET 2020 com/kitfox/svg/Marker.java
  2701 Sun Nov 15 16:51:48 CET 2020 com/kitfox/svg/Defs.java
  5053 Sun Nov 15 16:51:48 CET 2020 com/kitfox/svg/Polyline.java
  4644 Sun Nov 15 16:51:48 CET 2020 com/kitfox/svg/animation/AnimateColor.java
 16499 Sun Nov 15 16:51:48 CET 2020 com/kitfox/svg/animation/AnimationElement.java
  3896 Sun Nov 15 16:51:48 CET 2020 com/kitfox/svg/animation/TrackPath.java
  2084 Sun Nov 15 16:51:48 CET 2020 com/kitfox/svg/animation/TimeIndefinite.java
  3003 Sun Nov 15 16:51:48 CET 2020 com/kitfox/svg/animation/TimeCompound.java
  4338 Sun Nov 15 16:51:48 CET 2020 com/kitfox/svg/animation/TrackBase.java
  2738 Sun Nov 15 16:51:48 CET 2020 com/kitfox/svg/animation/TimeLookup.java
}}}
The problem seems to be in the Ivy configuration, and likely needs this change to fix it:
{{{
#!diff
diff --git a/ivy.xml b/ivy.xml
index 23646568f..d6fa0b323 100644
--- a/ivy.xml
+++ b/ivy.xml
@@ -43,7 +43,7 @@
         <dependency conf=""sources->sources"" org=""org.tukaani"" name=""xz"" rev=""1.9""/>
         <dependency conf=""sources->sources"" org=""com.adobe.xmp"" name=""xmpcore"" rev=""6.1.11""/>
         <dependency conf=""sources->sources"" org=""com.drewnoakes"" name=""metadata-extractor"" rev=""2.16.0"" transitive=""false""/>
-        <dependency conf=""sources->default"" org=""com.formdev"" name=""svgSalamander"" rev=""1.1.2.4""/>
+        <dependency conf=""sources->sources"" org=""com.formdev"" name=""svgSalamander"" rev=""1.1.2.4""/>
         <dependency conf=""sources->sources"" org=""ch.poole"" name=""OpeningHoursParser"" rev=""0.24.0""/>
         <dependency conf=""sources->sources"" org=""oauth.signpost"" name=""signpost-core"" rev=""2.1.1""/>
         <dependency conf=""sources->default"" org=""org.webjars.npm"" name=""tag2link"" rev=""2021.3.21""/><!-- sources->default sic! (tag2link-sources.jar is empty, see #19335) -->
}}}"	defect	closed	normal	21.08	Core	tested	fixed		
