Quantcast
Browsing all 71 articles
Browse latest View live

How to create a eclipse web application using maven

In my previous post, we learned about creating a sample java project using maven using both modes i.e. interactive and non-interactive. In this project we will create a web application... The post How...

View Article


How to change maven local repository path in windows

Maven is build and dependency management tool as we all know. It downloads required project dependencies to your local system and include them to your project compilation or run-time as... The post How...

View Article


Configure network proxy settings for maven

By default, maven uses default network connection running on your local system. But, sometimes you are running your application in your workplace or company. These networks shields their intranet...

View Article

Adding M2_REPO classpath variable in eclipse IDE

We know that what is use maven and how to use it from command prompt. Maven dependencies can be read from eclipse IDE also which maven exposes through M2_REPO classpath... The post Adding M2_REPO...

View Article

How to generate ant build file from maven

Suppose you had created and maintained your project from maven from long time, but now you have instructions to move it to ant build environment Well, it does not look... The post How to generate ant...

View Article


How to enforce operating system and minimum java version using maven enforcer...

Many times, we need to enforce that java build process should halt immediately if deployment environment does not have not a specific operating system, or it does not contain a... The post How to...

View Article

How to convert maven java project to IntelliJ Idea project

We have learned that how to create a simple java project in maven and also how to convert it to support eclipse IDE.Sometimes developers environment consist of IntelliJ IDE instead... The post How to...

View Article

Executing junit testcases with maven

Maven is a great tool for project dependency and build management. It can be used for running the Junit testcases for the project. In this post, I will show some... The post Executing junit testcases...

View Article


Create windows .exe file for java application

Launch4j is a cross-platform tool for wrapping Java applications distributed as jars in lightweight Windows native executable files. In this post, we will learn making such an executable file for......

View Article


Maven BOM [Bill Of Materials] Dependency

If you have worked on maven in your projects for dependency management, then you must have faced one problem at least once or may be more than that. And the... The post Maven BOM [Bill Of Materials]...

View Article

How to Execute TestNG Tests With Maven Build

In this tutorial, we will lean how to execute testng tests using maven build file i.e. pom.xml file. This knowledge is important if you are planning to automate your tests and making them part of...

View Article

How to create java source folders in maven web application

This is very strange problem but this is fact that when you create a maven web application using “-DarchetypeArtifactId=maven-archetype-webapp” then no java source folder is created. Rather a resources...

View Article

How to Import Maven Remote Archetype Catalogs in Eclipse

This tutorial gives easy instructions for importing maven remote archetype catalogs in eclipse to give you head start in configuring the project. Using archetype automatically import all basic runtime...

View Article


Gradle – Convert Maven Project to Gradle Project

Gradle is more feature rich and more modern java build tool, so if you are planning to port from maven to gradle build system, this tutorial may help you. The post Gradle – Convert Maven Project to...

View Article

Maven Shade Plugin – Create Uber/Fat Jar Example

Learn to use Maven Shade plugin to package a java project along with it’s dependencies into a fat jar or uber jar. The post Maven Shade Plugin – Create Uber/Fat Jar Example appeared first on...

View Article


[Solved] Maven Shade Plugin – A required class was missing...

You may get this error when you have incompatible version of maven and it’s maven shade plugin. Fixing version number mismatch will solve the issue. The post [Solved] Maven Shade Plugin – A required...

View Article

[Solved] Dropwizard – Failed to parse configuration [Could not resolve type...

This exception you may face while starting jetty server packaged inside your dropwizard REST application uber jar. The post [Solved] Dropwizard – Failed to parse configuration [Could not resolve type...

View Article


JUnit 5 Maven Dependency [pom.xml] Example

Learn to configure junit 5 with maven, its jupiter and platform different modules and how to use them to create and execute tests. The post JUnit 5 Maven Dependency [pom.xml] Example appeared first on...

View Article

Maven – Settings File

Maven settings.xml file contains configurations that are not specific to a project, but are global in nature. It also contains information that is not meant to be distributed (e.g. passwords). The post...

View Article

Maven – POM File

POM (Project Object Model) is an XML file that contains information about the project and configuration details used by Maven to build the project i.e. sourcecode location, project dependencies etc....

View Article
Browsing all 71 articles
Browse latest View live