mirror of https://github.com/apache/maven.git
update to match m1 code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170308 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e4f5495d5a
commit
89b475c171
|
@ -1187,13 +1187,13 @@
|
|||
|
||||
public String getExtension()
|
||||
{
|
||||
if ("ejb".equals(getType()) || "plugin".equals(getType()) || "aspect".equals(getType())) return "jar";
|
||||
if ("ejb".equals(getType()) || "plugin".equals(getType()) || "aspect".equals(getType()) || "uberjar".equals(getType())) return "jar";
|
||||
return getType();
|
||||
}
|
||||
|
||||
public boolean isAddedToClasspath()
|
||||
{
|
||||
return ("jar".equals(getType()) || "ejb".equals(getType()));
|
||||
return ("jar".equals(getType()) || "ejb".equals(getType()) || "sar".equals(getType()));
|
||||
}
|
||||
|
||||
public boolean isPlugin()
|
||||
|
|
Loading…
Reference in New Issue