Description
When setting the m2 compatibility flag on a resolver, the code does not replace the "." with "/" when publishing artifacts.
Here is the fixed code :
Class : fr.jayasoft.ivy.resolver.RepositoryResolver
Method : public void publish(Artifact artifact, File src, boolean overwrite)
replace
String dest = IvyPatternHelper.substitute(destPattern, artifact);
with
// Check for m2 compatibility
ModuleRevisionId mrid = artifact.getModuleRevisionId();
if (isM2compatible())
String dest = IvyPatternHelper.substitute(destPattern,
mrid.getOrganisation(),
mrid.getName(),
mrid.getRevision(),
artifact.getName(),
artifact.getType(),
artifact.getExt());