Newbie is back :-)
Somehow I don't get it: How can I publish my JAR with the source files?
>From what I understand, I can publish my JAR locally, by using
<ivy:publish resolver="local" overwrite="true"
pubrevision="${project.version}">
<artifacts
pattern="${target.dir}/[artifact]-[revision].[ext]" />
</ivy:publish>
This works fine, but I also want to publish my source JAR. But
<ivy:publish resolver="local" overwrite="true"
pubrevision="${project.version}">
<artifacts
pattern="${target.dir}/[artifact]-[revision].[ext]" />
<artifacts
pattern="${target.dir}/[artifact]-[revision]-sources.[ext]" />
</ivy:publish>
doesn't publish the util-3.0.5-sources.jar from my util project.
Also, is there any reference for the [] variables? I thought (from
looking at my IvyDE configuration) that perhaps the following could work
...
<artifacts
pattern="${target.dir}/[artifact]-[revision][source].[ext]" />
...
or
...
<artifacts
pattern="${target.dir}/[artifact]-[revision]-[source].[ext]" />
...
?
Any help is greatly appreciated!
Thanks,
Eric