Which two options best describe how the Maven Plugin for WebLogic enables WebLogic to be
effectively used in a Continuous Integration environment?
A.
execution of unit and integration tests
B.
management of the life cycle of a WebLogic domain including creation, configuration, and
server life-cycle management
C.
deployment and undeployment of applications
D.
Java profiling
Explanation:
Note:
* Apache Maven is a software tool for building and managing Java-based projects. WebLogic
Server provides support for Maven through the provisioning of plug-ins that enable you to perform
various operations on WebLogic Server from within a Maven environment.
* Continuous Integration is a software engineering practice which attempts to improve quality and
reduce time to deliver software by applying small, frequent quality control efforts. It is
characterized by these key practices:
Use of a version control system
All developers commit to the ‘HEAD’ (main code line) every day
The product is built on every commit
The build must be automated and fast
Automated deployment to a production-like environment
Automated testing
Results of all builds are published (so everyone can see who broke the build)
Deliverables are easily available (for developers, testers, other stakeholders)
Answer is B and C .
The weblogic-maven-plugin provides enhanced functionality to install, start and stop servers, create domains, execute WLST scripts, and compile and deploy applications. With the weblogic-maven-plugin, you can install WebLogic Server from within your Maven environment to fulfill the local WebLogic Server requirement.
https://docs.oracle.com/middleware/1212/wls/WLPRG/maven.htm#WLPRG883
I think A and C are correct, note when it says “used in a Continuous Integration environment”, now why would you create domains or restart servers for CI!?