need maven plugin configuration for building aggregate source jar -
i've been fighting while , reading lot of docs pages , other questions still can't work.
in ormlite project, have ormlite-core
project has core functionality , -jdbc
, -android
projects (with more planned). each of these sub-projects include core functionality add per-architecture implementations. want release single set of jars both -jdbc
, -android
versions -- i.e. want copy -core
javadocs , sources resulting jars.
for javadocs, cake includedependencysources
config entry set true. however, i've been fighting while on how source jars released -android
package include -core
sources. i've tried maven-dependency-plugin
copy , unpack dependency sources target/sources
see no easy way them included in source jar -- appropriate paths. i've gone on maven-source-plugin
, maven-assembly-plugin
docs i'm still in dark.
if has figured out magic maven fu done, can please share appropriate working pom.xml
examples? much.
i've reviewed following similar questions among others. i've looked @ sonatype maven manual , read bunch web pages posing similar questions.
while not answer question, possible reason why parameter <includedependencysources>
not present maven source plugin
because, while javadocs can generated jar containing classes, sources cannot be. plugin cannot assume sources of dependencies available since not installed default.
Comments
Post a Comment