Package org.codehaus.mojo.mrm.impl
Class Utils
java.lang.Object
org.codehaus.mojo.mrm.impl.Utils
Utility class.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]Creates an empty jar file.static byte[]newEmptyMavenPluginJarContent(String groupId, String artifactId, String version) Creates an empty maven plugin jar file.
-
Method Details
-
newEmptyJarContent
Creates an empty jar file.- Returns:
- the empty jar file as a byte array.
- Throws:
IOException- if things go wrong.- Since:
- 1.0
-
newEmptyMavenPluginJarContent
public static byte[] newEmptyMavenPluginJarContent(String groupId, String artifactId, String version) throws IOException Creates an empty maven plugin jar file.- Parameters:
groupId- the group id of the plugin.artifactId- the artifact id of the plugin.version- the version of the plugin.- Returns:
- the empty jar file as a byte array.
- Throws:
IOException- if things go wrong.- Since:
- 1.0
-