Simple Java 11 Maven Project with Intellij IDEA

In this post we are going to create a simple Hello World in Java11 using maven and Intellij IDEA. We are also going to deal with the compilation error "Error: java: error: release version 5 not supported" and the compilation warning "File encoding has not been set, using platform encoding UTF-8" Video Create the... Continue Reading →

Create a Maven Web Project using Intellij IDEA

Open Intellij File -> New Project Maven next GroupId: ArtifactId: WebProject Right click in pom.xml Generate -> Dependency Template in artifactId start typing servlet-api and select from the drop down to get: javax.servlet servlet-api LATEST File -> Project Structure Modules + Web Create Artifact now in our project we have web/WEB-INF etc right click... Continue Reading →

Create a Simple Maven Plugin

In this post we are going to create a simple maven plugin that prints out the message "Hello World" during the build process of a project. Create a Maven Project create a Maven project for our plugin development.  The details are as follows: Group Id: com.skills421.maven.pluginArtifact Id: HelloWorld-maven-pluginVersion: 1.0-SNAPSHOT Project name: HelloWorldProject location: /Development/Skills421/Training/MavenPlugins/HelloWorld Edit the pom as follows... Continue Reading →

Create a Maven Project

In this example we will create an empty Maven Java Project. Install Dependencies Install JavaInstall MavenInstall IDE Eclipse Netbeans Intellij IDEA Create Maven Project Intellij IDE Step 1 Open Intellij IDE Step 2 Create New ProjectMavenleave Create from archetype uncheckedNext Step 3 GroupId: -e.g. com.skills421.trainingArtifactId: - e.g. MyProjectVersion: 1.0-SNAPSHOTNext Step 4 Project Name: - e.g. MyProjectProject... Continue Reading →

Intellij IDEA: maven clean install

Video Quick Steps View -> Tool Windows -> Maven ProjectOpens your projects in a sub-windowClick on the arrow next to your projectClick on LifecycleClick on cleanClick on the green (play) buttonClick on installClick on the green (play) button Source Code Latest Updates For latest updates check out Simple Java 11 Maven Project with... Continue Reading →

Maven pom.xml error – org.codehaus.plexus.archiver.jar.Manifest.write(

Python multi-track We're really excited to tell you about our upcoming Python multi-track training course - a revolution in training, reference, documentation, and code Register Now This is a known bug in eclipse and as such has replicated into Spring STS. It is caused by the maven-jar plugin. This can be resolved by downloading... Continue Reading →

Up ↑

%d bloggers like this: