- byte[] sourcesJar = RepoUtils.packageAsPdeSource(in,
- new DefaultNameVersion(this));
- Artifact sourcesArtifact = new DefaultArtifact(getArtifact()
- .getGroupId(), getArtifact().getArtifactId()
- + ".source", "jar", getArtifact().getVersion());
- Node sourcesJarNode = RepoUtils.copyBytesAsArtifact(
- javaSession.getRootNode(), sourcesArtifact, sourcesJar);
+ byte[] sourcesJar = RepoUtils.packageAsPdeSource(in, new DefaultNameVersion(this));
+ Artifact sourcesArtifact = new DefaultArtifact(getArtifact().getGroupId(),
+ getArtifact().getArtifactId() + ".source", "jar", getArtifact().getVersion());
+ Node sourcesJarNode = RepoUtils.copyBytesAsArtifact(javaSession.getRootNode(), sourcesArtifact,
+ sourcesJar);