-
22May
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...
-
22May
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}...
-
22May
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...
-
25Apr
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...
-
25Apr
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”
-
29Mar
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...
-
21Feb
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...
-
05Aug
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...