Overview
Framework Support Mode enables you to analyze Java projects that employ a framework. Appropriate configuration of Mend Prioritize for framework support is mandated where applicable.
Framework Mode Parameters
In order to apply Mend Prioritize on projects that employ a framework, the following Unified Agent configuration file settings must be specified:
analyzeFrameworks=True
analyzeFrameworksReference=[location of a .txt file with list of framework references, e.g., /home/eubuntu/ws/via/Mend-analysis-via/data/localfreamwork-all.txt]
(Refer to the example below of a default file).
The .txt file referenced above must feature details related to a framework directly referenced from the project.
A default file featuring settings for popular frameworks is available and can be freely modified to accommodate additional or different frameworks.
Only frameworks relevant to the analyzed client’s environment and act as entry-points of the application should be listed in the file referenced by analyzeFrameworksReference (which must not include any other dependency).
The following is a default listing of frameworks for analysis (<group id>:<artifact id>) – the client may freely add or remove options:
It is recommended to include only the specific frameworks that are used as the entry-point of the scanned application - for example in the use case of vertex it is recommended to include only io.vertx:vertx-web and io.vertx:vertx-core.
io.vertx:vertx-web io.vertx:vertx-core org.springframework:spring-web org.springframework:spring-core io.dropwizard:dropwizard-core com.networknt:light-rest-4j com.networknt:codegen-web org.ninjaframework:ninja com.airlenet:play-framework org.jboss.resteasy:resteasy-servlet-initializer org.jboss.resteasy:resteasy-client org.restlet.jse:org.restlet com.sparkjava:spark-core org.springframework.boot:spring-boot-loader com.bladejava:blade-mvc org.hibernate:hibernate-commons-annotations org.hibernate:hibernate-annotations org.mybatis:mybatis org.apache.struts:struts2-core org.apache.struts:struts-core tapestry:tapestry com.vaadin:vaadin org.springframework.cloud:spring-cloud-stream org.apache.wicket:wicket-core