Hi,
I am looking at Maven HEAD.
The org.apache.maven.deploy.deployers.FileDeployer is a little confused about the
destination file path.
It generates the offset directory twice:
Instead of copying a file to
<repository>/<group>/<type>/
it uses
<repository>/<group>/<type>s/<group>/<type>s
The current code in deploy(DeployRequest) is
...
destFile = new File(destFile, request.dirname());
if (!destFile.exists())
{
destFile.mkdirs();
}
destFile = new File(destFile, request.getDestFile());
...
That should be replaced by something like:
...
if (destFile.getParentFile()!=null &&
!destFile.getParentFile().exists())
{
destFile.getParentFile().mkdirs();
}
destFile = new File(destFile, request.getDestFile());
...
Which fixed the problem for me.
Tschau,
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]