Prev Next

Maven / Maven Interview questions II

What is Maven relocation?

Maven relocation identifies the projects/artifacts that are relocated or moved on the repository.

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>bar</groupId>
  <artifactId>foo</artifactId>
  <version>1.0</version>
  <distributionManagement>
    <relocation>
      <groupId>org.bar</groupId>
    </relocation>
  </distributionManagement>
</project>

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Explain Build Profile in Maven. What are different types of Build Profiles in Maven? What are the build lifecycles of Maven? Explain package phase in Maven build lifecycle. What are the phases of 'site' lifecycle in Maven? What is local repository in Maven? What is Maven Central Repository? Explain Maven remote repository. How do I include dependencies in a jar using Maven? Difference between Apache Ant and Maven. Create an executable JAR with dependencies using Maven. Configuring resource directories in Maven. How do I enable connection to the central repository through the firewall in my organization? Difference between repository and dependency in Maven. What does the POM comprise of in Maven? What is an Archetype in Maven framework? What are the uses of Maven Plugins? What are the types of Maven Plugins? maven-surefire-plugin. maven-surefire-plugin report directory. List the report file formats. Goals of Surefire Plugin. What is goal in Maven? How do you invoke the surefire Plugin? Difference between Snapshot and Version in Maven. What are the phases of 'clean' lifecycle in Maven? Difference between install and deploy command in Maven. Difference between package and install in Maven. Difference between POM and Effective POM in Maven. How do I exclude all the transitive dependencies of a single dependency in Maven? Maven: How do I rename the war file for the project? List out the aspects does Maven Manages? Maven: how do you display execution debug output or error messages? Difference between Maven and Jenkins/Teamcity/Hudson. How do I prevent the propagation of plugins to child POMs? How to find the POM that contains missing transitive dependency? What does the Maven command mvn clean do? How a new archetype based project be created from command line? How do I compile the application sources using Maven from command line. Can a Maven project have multiple parents? Explain 'pom' packaging in Maven. What is Maven relocation? Can we change the .m2 folder to any other name like .p2 or something? How?
Show more question and Answers...

Gradle interview questions

Comments & Discussions