localrepository > E:\Repositories\Mavenlocalrepository>6. Run CMD window, enter mvn help:system downloadEclipse plug-in installation:There are two kinds of installation methods, one is an online installation and one is an off-line installation.Online: Installation Address (HTTP://M2ECLIPSE.SONATYPE.ORG/SITES/M2E)Offline:1. Create a link and myplugins two folders in the Eclipse directory2. Download the eclipse-maven3-plugin.7z and compress it into th
By default, the Maven test/maven package/maven Install command generates output information in TXT and XML format in the Target/surefire-reports directory.In fact, Maven can also generate a report in HTML format, just need to use a plugin:
An error in Eclipse's tip in its pom file is as follows:Plugin execution not covered by lifecycle Configuration:org.apache.maven.plugins:maven-compiler-plugin:3.1:compile ( Execution:default-compile, Phase:compile)This means that M2E does not define the plug-in when it executes the MAVEN lifecycle management, so there is a hint of an error, in fact M2E provides an extension mechanism, and we can eliminate t
to access the appPort is the port number of TomcatUriencoding URL by UTF-8 encoding, this solves the Chinese parameter garbled.The Server specifies the tomcat name.The configuration is so simple, basically fixed, below to see how to use.Note: After booting, Tomcat will first load the jar under its own lib, and if there are repeated errors in the project, change the scope of the corresponding dependency under Pom.xml to providedPlugin RunIf eclipse installs the
Use MAVEN to package a Web project by default, but there are times when you always want to make a zip package (or other compressed package), and the Maven-war-plugin plugin is powerless, and then you use the Maven-assembly-
I use the community version of Idea, the community version of the No Tomcat plugin, only use the Maven plugin for Tomcat use, the following to get to the pointI. Pom.xml Configuring the Tomcat PluginBuild> Finalname>JavademoFinalname> Plugins> plugin> groupId>Org.apache.tomcat.mavengroupId> Art
1. Download maven:http://maven.apache.org/download.cgi2. Configure Environment variables: 3. Modify the Bin/conf/settings.xml:maven warehouse location under the Maven folder (the default Maven warehouse location is: C:\Users\Administrator\.m2 (where Administrator is the current account). )4. Download Maven plugin: Htt
The Deploy plugin is the official plugin provided by the Apache Maven team, the latest version of 2.8.2, released in 2014-08-27. The plug-in can deploy the built-in artifacts directly to the remote library of the POM configuration.
By default, the plugin is already configured for use in MAVEN's deploy phase, and the
Chinese parameter garbled. The Server specifies the tomcat name. The configuration is so simple, basically fixed, below to see how to use. Plugin Run if eclipse installs the Maven plugin, select the Pom.xml file, right-click and select Run as--> maven build. If this is the first time, the following dialog box
First, the Environment preparationTwo serversJenkins Server yum install and configure MavenTomcat Server Tomcat version apache-tomcat-8.0.33.tar.gzJDK version jdk-8u77-linux-x64.tar.gzTomcat to deploy the manager project with Tomcat rights supportTomcat Tomcat-users.xml as configured650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/8B/02/wKiom1hBIXOTwpTqAAAMEXLlYZM251.png "title=" Tomcat Configuration "alt=" Wkiom1hbixotwptqaaamexllyzm251.png "/>The username and password here are consis
The previous article said the approximate process and the effect we want to achieve. This article is mainly about the detailed configuration.In fact, just once, it feels very simple. Only two files need to be configured.Pom.xml and ${project.artifactid}-maven.pro These two files can be. Where the Pom.xml configuration plugin is used, the true optimization option is configured in the ${project.artifactid}-maven.pro file.Let's take a look at the complet
I used Hudson to deploy my Web project to tomcat on the test server in my usual work. The Hudson itself is integrated with SVN, Git, MAVEN, and supports the addition of various plugins. But if you use Hudson, I need to configure two tasks: one to package the project into a war, and the other to deploy the packaged war package to Tomcat on the target server. Altho
The following error occurred today in a new Web project:
Failed to read artifact descriptor for Org.apache.maven.plugins:maven-resources-plugin
Eclipse's error tips are as follows:
Could not calculate builds Plan:plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies Coul D is resolved:failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:ja
Reference: http://blog.csdn.net/symgdwyh/article/details/6081532Maven Assembly pluginHttp://maven.apache.org/plugins/maven-assembly-plugin/index.htmlUsageHttp://maven.apache.org/plugins/maven-assembly-plugin/usage.html
Procedure
#1 copy the following code to the Pom. xml file of the
Failed to execute goal Org. apache. maven. plugins: Maven-shade-plugin: 2.0: shade (default) on Project qmserver: Execution default of Goal Org. apache. maven. plugins: Maven-shade-plugin: 2.0: shade failed: A Required class was m
The Describes how to use the assembly package configuration file before, and here's how to package the entire project into a single executable jar. During system testing, a separate jar is required to test with the other integration team. For the first time, the jar package was chosen with assembly plugin, because our test program was inside Src/test/java, and assembly could automatically pack the test package and test dependencies, as follows: 1. C
This article describes how to build a Tomcat Web project in Eclipse through the Tomcat-maven plugin.1. Configuring the Tomcat Manager userOpen Tomcat_user.xml in the Conf directory under the Tomcat root directory, add Manager roles and users under the tomcat-users> 2. Add the Tomcat plugin to the Pom file and configure the Tomcat Server.Open the project Pom.
Actually in the work, I used maven for a long time, but the recent development environment without MAVEN, so again. For later convenience, write down the general steps in this.1. Download the MAVEN installation packageDownload Apache-maven-3.2.3-bin.zip and unzip to the specified installation directory2. Configuring th
Phenomenon:Eclipse Import existing Maven project, (parent project contains many sub-projects), pom.xml error for subproject:Plugin execution not covered by lifecycle Configuration:org.codehaus.mojo:aspectj-maven-plugin:1.8:compile(Execution:default,phase:compile)Workaround One:Enclose all the plugin tags inside a
I used Hudson to deploy my Web project to tomcat on the test server in my usual work. The Hudson itself is integrated with SVN, Git, MAVEN, and supports the addition of various plugins. But if you use Hudson, I need to configure two tasks: one to package the project into a war, and the other to deploy the packaged war package to Tomcat on the target server. Altho
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.