Skip to main content

Posts

Showing posts with the label Maven

How to skip resources, compiler, surfire, install plugin in maven's default build process

When we want to use maven command line to upload zip type artifact to artifact repository then we don't want resources, compiler, surefire, install phases in maven process, only assembly would be enough. To skip particular phases go to each plugin's original website phase according to latest running plugin version download the same to our own project refer the skip phase configuration of particular phase, either it can be done command line or as part of the build-plugin-configuration. Example using POM.xml file <project> [...] <build> <plugins> <plugin> <groupId...

Maven in Brief

What is Maven Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. Below are features provided by maven: Build Automation Tool Dependency Management Tool Project Management Tool Standard approach to building software Command line tool IDE Integration Managed by Apache Software Foundation Terminologies POM(Project Object Model) POM is an XML file, and this file really describes the configuration and the customization for our project. So it's going to spell out the different plugins, different dependencies and different profiles ...