Maven - Build Connoisseur - Which is not a minimum requirement POM element packaging Which is not true about Apache Maven compare to Apache Ant Ant

Maven - Build Connoisseur - Which is not a minimum...

This preview shows page 1 - 2 out of 4 pages.

Which is not a minimum requirement POM element? -- packaging Which is not true about Apache Maven compare to Apache Ant? -- Ant scripts are reusable but Maven plugins are not. The phase process-sources in maven life cycle copies and processes the resources into the destination directory, ready for packaging phase. Is this statement valid or invalid ? -- Invalid Which of the following is not a true description about the Maven's default lifecycle phases? -- process-test-classes-> copy and process the resources into the test destination directory. What does the below Maven plugin configuration do? <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.6</version> <configuration> <skip>true</skip> </configuration> </plugin> -- Indicates Maven to skip clean phase when the pre-clean goal is run what would the jar:jar goal do? -- It does not recompile resources, just creates jar from files under target/classes. Which is not a valid Maven phase? -- run Which of the below is the correct syntax for plugin execution? -- mvn [plugin-name]:[goal-name] What happens when the command mvn compile is execued? -- All of the above Which of the following are true about POM? -- All of the above ======================================= Which is not a Maven Profile type? -- Per Build ________ element activates a Profile by default. --<activeByDefault></activeByDefault> Run the Maven command ___________ to check if the profile is active.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture