final MavenArtifact themeArtifact = new MavenArtifact();
themeArtifact.setGroupId("org.apache.flex.framework.themes");
themeArtifact.setArtifactId(themeName);
themeArtifact.setVersion(flexSdkVersion);
themeArtifact.setPackaging("swc");
themeArtifact.addDefaultBinaryArtifact(targetSwcFile);
// In this case we don't want the resources to be copied.
super.writeArtifact(themeArtifact);
}
}