maven common operations

1, Using docker to build maven nexus private server 1: Download Image docker pull sonatype/nexus3 2: create the mount directory and grant permissions to / var / lib / docker / volumes / nexus data chmod 777 nexus-data/ 3: start container docker run -d -p 8081:8081 --name nexus -v /var/lib/docke ...

Posted by mosizlak on Fri, 14 Feb 2020 00:22:47 -0800

Zong Laoshi self taught Jsoup

Introduction to Jsoup jsoup is a Java HTML parser, which can directly parse a URL address and HTML text content. It provides a set of very labor-saving API, which can extract and operate data through DOM, CSS and jQuery like operation methods. In the field of crawler web page collection, our main role is to use HttpClient to obtain the specific ...

Posted by aceconcepts on Fri, 31 Jan 2020 08:48:06 -0800

AOP of architecture design of centralized landing architecture based on aspect oriented idea

1, Before you start: Centralized login architecture design: this login is not a login request, but a judgment of whether the current login status is available. If it is not, skip the login interface; otherwise, perform the corresponding skip logic. This business is a global business, and the global b ...

Posted by keystroke on Thu, 30 Jan 2020 22:50:33 -0800

CentOS7 Nexus2 private server building

Brief description: In the office environment, Nexus private server is required to provide caching service for development. This blog simply records the steps of building Nexus 2. X private server in the office environment Nexus website: https://www.sonatype.com To download the OSS 2. X package: https://download.sonatype.com/ ...

Posted by garblar on Wed, 22 Jan 2020 09:36:19 -0800

Chapter 16 nine analysis takes you through helm3 efk - elastic search

This series: Chapter 1: Nine analysis takes you easy to finish the installation of helm3 The second chapter: Nine analysis takes you to the public warehouse of helm3 The third chapter: Nine analysis takes you through the explosion of helm3 private warehouse easily The fourth chapter: Nine analysis takes you easy The fifth chapter: Nine analy ...

Posted by bakigkgz on Sat, 11 Jan 2020 00:15:20 -0800

Chapter XIII Analysis takes you through helm3 Prometheus with ease

This series of articles: Chapter 1: Nine analysis takes you through helm3 installation easilyChapter II: Nine analyses take you through the helm3 public warehouse easily Chapter III: Nine analyses take you through the helm3 private warehouse easily Chapter IV: Nine analysis takes you through helm3 chart easily Chapter V: Nine analysis takes ...

Posted by webdogjcn on Thu, 09 Jan 2020 11:12:51 -0800

Using maven release plugin

In order to facilitate development, we usually use SNAPSHOT version. After stage development, we need to change SNAPSHOT to release version (such as 1.0.0.SNAPSHOT - "1.0.0) to prevent online environment from being damaged. The manual step is to delete the SNAPSHOT, then tag the code (for backup), then mvn deploy uploads the release versio ...

Posted by jbx on Thu, 02 Jan 2020 08:25:16 -0800

Installing maven and nexus in linux

Installing maven in linux Download decompression wget -c http://apache.claz.org/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz tar -zxvf apache-maven-3.5.4-bin.tar.gz Import environment variables Open file vi /etc/profile export MAVEN_HOME=/usr/local/apache-maven-3.5.4 export MAVEN_HOME export PATH=$PATH:$MAV ...

Posted by woolyg on Sat, 21 Dec 2019 13:07:22 -0800

maven multi warehouse configuration company warehouse and Ali warehouse

For the company's intranet private server warehouse, the private server warehouse cannot access the Internet. At this time, the private server warehouse cannot act as an agent for Alibaba's maven warehouse. Our maven needs to configure multiple warehouses: conf/settings.xml configuration file in maven Directory: 1. Create a new profile in the p ...

Posted by sameveritt on Wed, 04 Dec 2019 08:17:31 -0800

Using IO stream to write files

Preface When it is necessary to operate on files, it is inevitable to use IO flow; for example, some contents in the response results of some requests need to be stored in the business. When the file to be processed is too large, if you close the file stream frequently, it will cause a lot of overhead. When do you close it? It often causes grea ...

Posted by SkyRanger on Mon, 02 Dec 2019 09:16:12 -0800