use of com.intellij.packaging.impl.artifacts.JarArtifactType in project azure-tools-for-java by Microsoft.
the class HDInsightModuleBuilder method createDefaultArtifact.
private void createDefaultArtifact(final Module module) {
final Project project = module.getProject();
final JarArtifactType type = new JarArtifactType();
final PackagingElementFactory factory = PackagingElementFactory.getInstance();
CompositePackagingElement root = factory.createArchive("default_artifact.jar");
root.addOrFindChild(factory.createModuleOutput(module));
ArtifactManager.getInstance(project).addArtifact(module.getName() + "_DefaultArtifact", type, root);
}
Aggregations