Maven Basics

Pain point of the original project (process control problem) Software testing, document generation, packaging and release - it's best to be automated (one click release)The project relies on a large number of third-party jar packages, which is complex and difficult to manage - POM xmljar is a different manufacturer, and there are too many down ...

Added by Smruthi on Fri, 11 Feb 2022 14:44:41 +0200

[Web development] implementation of login and registration function

Login and registration is a common function of the website. This article implements a small demo of this function according to the tutorial of dark horse programmer. reference resources: https://www.bilibili.com/video/BV1Qf4y1T7Hx?p=109 maven file download: https://download.csdn.net/download/qq1198768105/79568473 Login function Train of tho ...

Added by itpvision on Mon, 07 Feb 2022 08:08:38 +0200

Annotations commonly used in Spring (absolutely innocent)

catalogue   1, Common Spring annotations - IOC related 1. Used to create objects 2. Used to change the scope of action 3. Life cycle related​​​​​​​ 2, Load annotations for third-party resources 1,@Bean 2. What is the difference between @ bean ? and @ component ?? 3. Integrating MyBaitis with annotations 4. Integrating JDBC with anno ...

Added by dlgilbert on Wed, 02 Feb 2022 10:59:40 +0200

Configuration of dependent plug-ins in Maven POM file

POM (Project Object Model) is the working basis of Maven project XML exists in the project, where the details of the construction project are configured. It pre configures some default values for most projects, such as build directory, source directory src/main/java, test source directory src/test/java, and so on. Here is a simple rec ...

Added by finalxerror on Wed, 02 Feb 2022 08:23:22 +0200

Maven project construction

Let's review the directory structure of maven specification: 1. Build Maven project manually Let's start by creating maven projects manually (1) Create the directory mvnproject under disk D and enter it as our operation directory (2) Create our maven project, create a directory project Java as our project folder, and enter it (3) Create ...

Added by utexas_pjm on Wed, 02 Feb 2022 01:19:59 +0200

Mapper resources in Mybatis cannot bind XML files. What is Maven's resource filtering?

Problem: BindingException exception, that is, there is no binding between Mapper and XML, that is, the Mapper interface does not find the XML implementation class. The main reason is that the binding relationship is not configured in Mybatis Configuration. Here we provide the binding relationship between two storage locations org.apache.ibatis ...

Added by Bullet on Mon, 31 Jan 2022 11:01:44 +0200

Quickly install and configure Maven and integrate into idea

Abstract: Maven notes - June 11, 2021 1. Download and install 1.1 check the version of JDK JDK version requires version 1.7 or above (detailed description on the official website) 1.2 official website download Download address of official website (recommended version 3.6.1): https://archive.apache.org/dist/maven/maven-3/3.6.1/binaries/ ...

Added by rocklv on Sun, 30 Jan 2022 21:50:50 +0200

Android Publishing Library (jar/aar) to Maven Central

1, Preface: Since Jcenter has stopped serving, we usually publish the library to Maven Central;Maven Central, like Jcenter, is also a public warehouse. The library published on it can be used by yourself and others; Since Android Studio 4.2, Google has made Maven central a part of gradle 2, Process of Publishing Library (jar/aar) to Maven Cent ...

Added by PlasmaDragon on Sun, 30 Jan 2022 21:32:25 +0200

Skills: maven's easy tutorial

preface maven is the most popular project construction system. If it is java related development, it can be said to be indispensable. Although another module management tool grade is emerging, maven is still commonly used by most companies Maven and Maven's warehouseMaven command and build lifecyclemaven project POM Detailed explanation of XM ...

Added by aprieto on Sun, 30 Jan 2022 07:12:34 +0200

[day4] training log 4 (maven's dependent scope tag, springboot learning, yml and properties, key points of springboot project)

Morning: About the role of tags: declare the scope of jar junit's dependency, if only used in testing, is not used in the main program Add < scope > test < / scope > Scope of maven dependency: The previous Maven command: mvn install: install to the local warehouse (previously set the location to change the. M2 path) mvn dep ...

Added by shanksta13 on Sat, 29 Jan 2022 06:21:44 +0200