if (!filename.endsWith(".jar")) {
throw new CarbonException("File with extension " + filename + " is not supported!");
}
Axis2ArtifactUploadData uploadData = new Axis2ArtifactUploadData();
uploadData.setFileName(filename);
uploadData.setDataHandler(fileItemData.getDataHandler());
uploadDataList.add(uploadData);
}
repoManagerClient.
uploadArtifacts(uploadDataList.toArray(new Axis2ArtifactUploadData[uploadDataList.size()]),