Maven

  • 14
    Aug

    pom.xml parent/child setup

    Read More
  • 22
    May

    executing maven profile from command line

    Step 1: Define pom.xml with true profile and other profiles with activation properties eg. Profile with default activation ———————————— INT true com.github.houbb heaven 0.1.2 ……. maven profiles with activation...

    Read More
  • 22
    May

    Maven properties

    ${project.basedir} => location where the current pom.xml file is located. ${project.build.directory} => This represents by default the target folder. ${project.build.outputDirectory} => This represents by default the target/classes folder. ${project.build.testOutputDirectory}...

    Read More
  • 22
    May

    Maven profiles – to manage dependencies

    Creating a pom.xml for all your needs sometimes causes un-necessary dependencies downloaded to your project. Following pom.xml defines Maven profiles, which when invoked, will download only required dependencies (based...

    Read More
  • 25
    Apr

    profiles in pom.xml

    Inside pom.xml we can create profiles as follow: linux64 true linux gtk x86_64 win64 env win64 win32 win32 x86_64 ….. org.eclipse.tycho target-platform-configuration ${tycho.version} ${build_os} ${build_ws} ${build_arch} In this example...

    Read More
  • 25
    Apr

    how to pass property values from command prompt

    Generally pom.xml contains section to define project specific properties eg. value hardcoded in pom.xml we can pass “myproperty” value from command as follow: mvn install “-Dmyproperty=new value”

    Read More
  • 29
    Mar

    Maven & GitHub & Jenkins & TestNG Integration – CI Automation

    Maven & GitHub & Jenkins & TestNG Integration – CI Automation Skip to end of metadataGo to start of metadata Last updated: Sep 14, 2017 14:06 Build a maven...

    Read More
  • 21
    Feb

    Configuring external jars via POM.xml in Maven

    Configuring external jars via POM.xml in Maven Maven uses the concept of Repositories to configure dependencies at run time. In case if required dependency is not available in maven...

    Read More
  • 05
    Aug

    Installing Jenkins on windows OS

    Pre-requisites: #1. Install JDK on your system JAVA_HOME: set it to “JDK Installation location” PATH: update it to “bin” folder path of JDK Installation #2. Download latest war file...

    Read More