Igor, please let me know what you're looking for. Deeper in the stack, it only points to my code. The method that initiates the DefaultRepositorySystem.deploy invocation looks like this:
public void deployArtifact(String groupId, String artifactId, String classifier, String extension, String version, File artifactFile) throws Exception {
Artifact main Artifact = new DefaultArtifact(groupId, artifactId, "", extension, version, null, artifactFile);
DeployRequest deployRequest = new DeployRequest();
deployRequest.addArtifact(mainArtifact);
deployRequest.setRepository(deploymentRepository);
repositorySystem.deploy(repositorySystemSession, deployRequest);
}
The deploymentRepository is created the standard way, and has an Authentication object set on it with the proper username and password.
We have a web form to enter metadata about an artifact, and to specify the artifact itself. It then posts this data (multipart) and saves the uploaded jar file to /tmp on the system. The interesting thing is that the FNFE is referencing a filename that is of this format:
/tmp/<groupId>/<artifactId>/maven-metadata-<nexusRepoUrl>/.xml.part.lock
The part of the stack under this cause is as follows:
java.io.RandomAccessFile.open
java.io.RandomAccessFile.<init>:243
org.eclipse.aether.connector.basic.PartialFile$LockFile.tryLock:123
org.eclipse.aether.connector.basic.PartialFile$lock:71
Does this help? Please let me know if I can provide more information. I have to type all of this by hand. :)
Thanks,
Steve