Skip to main content

Eclipse New Maven Project: Could not resolve archetype

  1. Close Eclipse
  2. Delete repository folder (you can find it in C:\Users{your user}.m2)
  3. Open Eclipse again. It will install maven repository automatically
  1. Open Maven > Archetypes
  2. Click 'Add Remote Catalog' and add the following:

Comments

Popular posts from this blog

Configure Maven Project in to Jenkins and Run

As we all know, maven is a build / project management tool, based on the concept of a project object model (POM) which contains every information about your project. Maven allows a project to build using its project object model to manage builds, dependencies, releases and documentation which are all managed from the pom.xml file. Maven defines a standard way to build the projects, test, and deploy project artifacts. It provides a framework that enables easy reuse of common build logic for all projects following Maven's standards. We discussed  maven in detail  earlier here and hope you have  configured maven . First lets Create a simple maven project in Jenkins Step 1:-  Click New Items on the left menu ->Enter Project Name in “Item name” field -> Select Maven Project ->Click OK Step 2:-  Provide the job description Step 3:-  In Source Code Management, Jenkins supports CVS and Subversion out of the box, with built-in support for...

Class 1 Java introduction

What is Java Java is a  programming language  and a  platform . Java is a high level, robust, secured and object-oriented programming language. Platform : Any hardware or software environment in which a program runs, is known as a platform. Since Java has its own run time environment (JRE) and API, it is called platform. Features of Java The Java Features given below are simple and easy to understand. Simple Object-Oriented Portable Platform independent Secured Object-oriented Java is Object-oriented programming language. Everything in Java is an object. Object-oriented means we organize our software as a combination of different types of objects that incorporates both data and behavior. Basic concepts of Oops are: Object Class Inheritance Polymorphism Abstraction Encapsulation Variable Variable  is name of  reserved area allocated in memory . In other words, it is a  name of memory location . It is a...