More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know.
Ans. A has dependency of B, B has dependency of C and C has dependency of A
With Maven 2 , came transitive dependency wherein in above scenario, C will acts as a dependency of A as if this dependency has been defined directly in A but the negative side is that if it leads to cyclic dependency , it creates problems.
Help us improve. Please let us know the company, where you were asked this question :
Ans. Tomcat is a web server and a Servlet container. It is often used as an application server for web-based applications but does not include the complete suite of capabilities that a Java EE application server would supply.
Help us improve. Please let us know the company, where you were asked this question :
LikeDiscussCorrect / Improve  tomcat   j2ee   web server   application server   build management
Ans. Builds can be triggered by source code management commits. Can be triggered after completion of other builds. Can be scheduled to run at specified time ( crons ) Manual Build Requests
Help us improve. Please let us know the company, where you were asked this question :
Ans. The best practice guideline between settings.xml and pom.xml is that configurations in settings.xml must be specific to the current user and that pom.xml configurations are specific to the project.
Help us improve. Please let us know the company, where you were asked this question :
Ans. By default, the location of the generated jar is in ${project.build.directory} or in your target directory. We can change this by configuring the outputDirectory of maven-jar-plugin.
Help us improve. Please let us know the company, where you were asked this question :
Ans. Its used to execute last command. Yes this can be used with other string to execute new command. For eg - if ls was the last command, We can execute !! -l for having the long listing.
Help us improve. Please let us know the company, where you were asked this question :
Ans. Transitive dependencies allows to avoid specifying the libraries that are required by the project which are specified in other dependent projects - Remote or Local.
Help us improve. Please let us know the company, where you were asked this question :
Ans. Broken Build means as unsuccessful build whereas unstable build means build was created successfully but one of the Post Build report failed or could be a Test failure.
Help us improve. Please let us know the company, where you were asked this question :
Ans. Upstream project is a project whose successful build is required for executing the existing project build whereas Downstream project is the one that is waiting for the upstream project to build as it has the upstream project as dependency.
For example - X project has an upstream project y and downstream project Z. So It means X has dependency Y and is a dependency for Z.
Help us improve. Please let us know the company, where you were asked this question :