|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.ide.JeeUtils
public class JeeUtils
| Field Summary | |
|---|---|
static String |
ARTIFACT_MAVEN_EAR_PLUGIN
|
static String |
ARTIFACT_MAVEN_WAR_PLUGIN
|
| Constructor Summary | |
|---|---|
JeeUtils()
|
|
| Method Summary | |
|---|---|
static JeeDescriptor |
getJeeDescriptorFromEjbVersion(String ejbVersion)
Returns the JEEDescriptor associated to an EJB specifications version. |
static JeeDescriptor |
getJeeDescriptorFromJeeVersion(String jeeVersion)
Returns the JEEDescriptor associated to a JEE specifications version. |
static JeeDescriptor |
getJeeDescriptorFromJspVersion(String jspVersion)
Returns the JEEDescriptor associated to a JSP specifications version. |
static JeeDescriptor |
getJeeDescriptorFromServletVersion(String servletVersion)
Returns the JEEDescriptor associated to a Servlet specifications version. |
static String |
resolveEjbVersion(MavenProject project)
Search in dependencies a version of EJB APIs (or of JEE APIs). |
static String |
resolveJeeVersion(MavenProject project)
Search in dependencies a version of JEE APIs. |
static String |
resolveJspVersion(MavenProject project)
Search in dependencies a version of JSP APIs (or from JEE APIs, or from Servlet APIs). |
static String |
resolveServletVersion(MavenProject project)
Search in dependencies a version of Servlet APIs (or of JEE APIs). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ARTIFACT_MAVEN_EAR_PLUGIN
public static final String ARTIFACT_MAVEN_WAR_PLUGIN
| Constructor Detail |
|---|
public JeeUtils()
| Method Detail |
|---|
public static final JeeDescriptor getJeeDescriptorFromEjbVersion(String ejbVersion)
ejbVersion - An EJB version as defined by constants JeeDescriptor.EJB_x_x
public static final JeeDescriptor getJeeDescriptorFromJeeVersion(String jeeVersion)
jeeVersion - A JEE version as defined by constants JeeDescriptor.JEE_x_x
public static final JeeDescriptor getJeeDescriptorFromJspVersion(String jspVersion)
jspVersion - A JSP version as defined by constants JeeDescriptor.JSP_x_x
public static final JeeDescriptor getJeeDescriptorFromServletVersion(String servletVersion)
servletVersion - A Servlet version as defined by constants JeeDescriptor.SERVLET_x_x
public static String resolveEjbVersion(MavenProject project)
artifacts - The list of dependencies where we search the information
public static String resolveJeeVersion(MavenProject project)
artifacts - The list of dependencies where we search the information
public static String resolveJspVersion(MavenProject project)
artifacts - The list of dependencies where we search the information
public static String resolveServletVersion(MavenProject project)
artifacts - The list of dependencies where we search the information
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||