During the project development process, the deployment process includes the following steps:
Submit the project code to SVN or code library and tag it.
Download the complete source code from SVN.
Build the application.
Store the build output WAR or EAR files to a common network location.
Get the file from the network and deploy the file to the production site.
Update the document and update the version number of the application.
11.16.1. Problem description ¶
In general, multiple teams are involved in the development process mentioned above. One team may be responsible for submitting code, another team for building, and so on. It is likely that any step can go wrong due to the human operations and multi-team environments involved. For example, the older version was not updated on the network machine, and then the deployment team redeployed the earlier build.
11.16.2. Solution ¶
Automate deployment by combining the following scenarios:
Build and publish projects using Maven
Use SubVersion, source code repository to manage source code
Use remote warehouse management software (Jfrog or Nexus) to manage project binaries.
11.16.3. Modify the pom.xml of the project ¶
We will use plug-ins released by Maven to create an automated release process.
For example, the pom.xml file code for the bus-core-api project is as follows:
4.0.0 bus-core-api bus-core-api 1.0-SNAPSHOT jar http://www.svn.com scm:svn:http://localhost:8080/svn/jrepo/trunk/
Framework scm:svn:${username}/${password}@localhost:8080:
common_core_api:1101:code Core-API-Java-Release Release
repository http://localhost:8081/nexus/content/repositories/
Core-Api-Release org.apache.maven.plugins maven-release-plugin 2.0-beta-9 false deploy [bus-core-api-release-checkin]-
Some of the important element nodes that we often use in the pom.xml file are shown in the following table:
Element node
Description
SCM
Configure the path to SVN from which Maven will remove the code.
Repository
The location of the built WAR or EAR or JAR file, or the storage location of the artifacts generated after the other source code is built successfully.
Plugin
Configure the maven-release-plugin plug-in to automate the deployment process.
11.16.4. Maven Release plug-in ¶
Maven uses the maven-release-plugin plug-in to accomplish the following tasks.
mvn release:clean
Clean up the workspace to ensure the success of the latest release process.
mvn release:rollback
If the last release process is unsuccessful, rolling back the modified workspace code and configuration ensures that the release process is successful.
mvn release:prepare
Perform a variety of actions:
-
Check to see if there are any local changes that have not yet been committed
-
Make sure there are no dependencies for snapshots
-
Change the version information of the application for release
-
Update the POM file to SVN
-
Run the test case
-
Submit the modified POM file
-
Mark the code on SVN
-
Increase the version number and attach snapshots for future release
-
Submit the modified POM file to SVN
mvn release:perform
Switch the code to where it was previously marked and run the Maven deployment target to deploy the WAR file or build the corresponding structure into the repository.
Open the command terminal, go to the C:> MVN > bus-core-api directory, and execute the following mvn command.
C:\MVN\bus-core-api>mvn release:prepare
Maven began to build the entire project. After the build is successful, you can run the following mvn command.
C:\MVN\bus-core-api>mvn release:perform
After the build is successful, you can verify that the JAR file uploaded under your repository is valid.
-
1. Geographical Information Systems in the World Wide Web Era
4
-
2. Basic technology of WebGIS
4
-
3. Geographic Web Services
5
-
4. aggregation of geographical information
4
-
5. mobile GIS
5
-
6. Geographic information portal
3
-
7. New generation national spatial data infrastructure and GIS
4
-
8. Application of WebGIS in E-Commerce
3
-
9. Application of WebGIS in E-government
3
-
10. Hotspots and frontiers of WebGIS
2
-
1. Angularjs2
8
-
1. SVG tutorial
19
-
1. Memcached
20
-
1. C# tutorial
61
-
1. Sqlite
47
-
2. Go
43
-
2. Docker
59
-
2. Vue3
19
-
2. Servlet
21
-
3. React
23
-
3. SOAP tutorial
10
-
3. Android
18
-
3. Mongodb
44
-
3. Kotlin
18
-
4. Lua
31
-
4. MySQL tutorial
34
-
4. Appml
12
-
5. Perl
45
-
5. Postgresql
41
-
web
15
-
5. Web Services tutorial
6
-
6. Ruby
41
-
6. Design-pattern
35
-
7. Django
18
-
7. Rust
22
-
6. WSDL tutorial
8
-
8. Foundation
39
-
9. Ios
43
-
8. Css3
26
-
9. Swift
43
-
11. HTML tutorial-(HTML5 Standard)
54
-
12. Http
6
-
13. Regex
6
-
14. Regexp
7
Principles, Technologies, and Methods of Geographic Information Systems
102
In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress.
-
1. Introduction to Geographic Information Systems
6
-
2. From the Real World to the Bit World
3
-
3. Spatial Data Model
7
-
4. Spatial Reference Systems and Map Projections
5
-
5. Data in GIS
4
-
6. Spatial data acquisition
2
-
7. Spatial Data Management
6
-
8. Spatial analysis
8
-
9. Digital Terrain Model (DTM) and Terrain Analysis
5
-
10. Spatial modeling and spatial decision support
6
-
11. Spatial data representation and map making
6
-
12. 3S Integration Technology
5
-
13. Network Geographic Information System
4
-
14. Examples of Geographic Information System Application
8
-
15. Organization and Management of Geographic Information System Application Projects
10
-
16. Geographic Information system Software Engineering Technology
7
-
17. Geographic Information System Standards
3
-
18. Geographic Information System and Society
3
-
19. Earth Information Science and Digital Earth
4