Sourceforge org property for Ivy and Nexus

When trying to use the following settings:

<dependency org="net.sourceforge.artifact" name="artifact" rev="2.0"/>

      

and

<artifact pattern="http://localhost/nexus/content/repositories/releases/[module]/[artifact]/[revision]/[artifact]-[revision].[ext]" />

      

Nexus expects

http:// ... net/sourceforge/artifact/artifact/revision/artifact.ext

      

but net and sourceforge are completely omitted like so:

http:// ... artifact/artifact/revision/artifact.ext

      

+2


source to share


1 answer


The correct recognizer to be used in this case is the IBiblio solution found here . It correctly translates periods in the org name to the correct url.



0


source







All Articles