One, MAVEN installation and environment variable configuration
1. Download maven, official website http://maven.apache.org/download.html
Download version as shown below:
2, the download files extracted to any directory, it is best not to have spaces and Chinese, such as placed in D:\Program files\apache-maven-3.2.2;
3, environment variable configuration: New sy
installation of MAVEN is 3.0.4Assuming that you can print the information above, the MAVEN3 is already installed on your computer.Change Maven Repository storage location:Locate the Settings.xml configuration file under maven under Conf. Mine is in D:\Server\maven\conf\settings.xml.The repository for
Previous: Maven implementation of Web application integration test Automation-Test automation (WebTest Maven Plugin)Before describing how to use the WebTest plug-in to implement Web integration testing in Maven, here's a legacy issue where the Web app is already deployed in the container in service state when performin
information above, the MAVEN3 is already installed on your computer.Change Maven Repository storage location:Locate the Settings.xml configuration file under maven under Conf. Mine is in D:\Server\maven\conf\settings.xml.The repository for MAVEN is placed below the temporary directory of local Users by default. m2 dir
or later, and then the MAVEN plugin is installed in eclipse.One of the most obvious differences between using eclipse and using MyEclipse is that in eclipse you need to install a lot of plugins, such as MyEclipse, a highly integrated tool,Or do not use too much as well, I am just saying, as to choose Eclipse or myeclipse or to see oneself or the environment to choose, on the above when I was talking nonsen
means that the MAVEN3 has been installed on your PC.To modify the MAVEN repository storage location:Find the Settings.xml configuration file under Maven under Conf, mine is in D:\Server\maven\conf\settings.xmlThe MAVEN repository defaults to the. M2 folder under the local user's Temp folder under Repository, mine is u
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-plugin
means that the MAVEN3 has been installed on your PC.To modify the MAVEN repository storage location:Find the Settings.xml configuration file under Maven under Conf, mine is in D:\Server\maven\conf\settings.xmlThe MAVEN repository defaults to the. M2 folder under the local user's Temp folder under Repository, mine is u
enter: Path=mavenplugins folder absolute Path (Note that the folder path is "/" or "\ \" instead of "\"). 4. Restart Eclipse, after launch you open window---> Preferences will find one more option Maven, indicating that the installation was successful.Copy methodImport the unpacked subfolder features and plugins jar package files into the features and plugins folders in the Eclipse installation directory, respectively, and then restart Eclipse to
Since the cloud notes, a long time not to write blog. Today wrote the use of Freemarker static JSP page, simply sent out. Beginner, do not spray.This text was previously placed in the cloud notes, of course, there is a lot of reference to the network of things, and they also use Maven for a long time, simply send out together.
myeclipse6.5 build MAVEN Environment One, MyEclipse 6.5 comes with
We learned how to build a Maven project, and this article will teach you how to start Web Engineering with the Tomcat plugin.We put the service layer and the performance layer of the project are created, at present, actually can run 2, one is the performance layer engineering--taotao-manager-web, a service layer engineering--taotao-manager. This article first look at the performance layer project, it can run independently, how should it run?Why use th
will talk about using the Link Method to install the maven3 plug-in offline.
The official website does not provide offline installation packages for Maven plug-ins. Generally, you can search for them online. If you are lucky, you can find them. I have sorted out the maven offline installation package for anyone who needs it to download,
You can find the link in the Left bar of my blog, you can also click t
directory M2_home-Add complete, select the external mav you just added EnVii. Exception HandlingThis exception is reported by Eclipse Indigo when installing MAVEN plugin maven integration for Eclipse.Workaround:1. Help--Install New software ...2. Work with fill in: http://www.fuin.org/p2-repository/, there will be a load time, search box fill in the SLF, and the
Foreword: When testing and debugging under MAVEN, compared to Tomcat, Jboss, Jetty, individuals are more inclined to use Jetty Plugin.What do you say? The best thing about using Jetty Plugin is that you don't have to knock the package, deploy, and then start the server's instructions, just tap one sentence: mvn jetty:runOr just point to the Run button on Eclipse and it's done. And even better, you modify th
\admcnm\.m2\repository directory,Now let's modify to assign it to our own path, for example now to assign the warehouse to the D:\Repositories\Maven directory, just open the local repository that was logged off, and then write the corresponding path value inside:
There are two of the most common ways that Eclipse installs plug-ins:Offline installation, the way to install the link, this way can be better, can be plugged in and unplugged at any time,
First article Creation project: here can refer to: http://maven.apache.org/guides/mini/guide-webapp.htmlMVN archetype:generate-dgroupid=com.mycompany.app-dartifactid=my-webapp-darchetypeartifactid= Maven-archetype-webappTo switch directories to My-webapp, compile and package:PackageAt this point, start the JBoss server (mine is jboss-as-7.1.1) and run MVN clean Jboss-as:deploy to deploy the Web project to JBoss. The problem comes, the terminal error,
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
Here's a good article about the Maven plugin and lifecycle:
--------------------------------------------------------------------------------------------------------------- --
This is not really a complex problem, but there seems to be no information on this clear explanation, this article will be a detailed explanation of this question.Background KnowledgeThe process of building (build) is abstracted and de
Maven tomcat plugin for hot deployment, maventomcat
Preface:
The method here applies to Tomcat 6 and tomcat 7. The latest Tomcat 8 has not been tested yet. If you are interested, you can test it on your own.
There are a total of five steps:
1. Configure user permissions in tomcat to add an Administrator Account
2. Add the server to maven and configure the tomc
From the name of the plug-in can be roughly guessed that the plug-in to manipulate the property file.
The plugin's official website: http://mojo.codehaus.org/properties-maven-plugin/
The website of the plug-in function is very clear,
1, can convert *.properties property file and Maven's Pom.xml file attributes to each other;
2, can set the system properties;
3. You can collect the attributes defined
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.