C:\USERS\ADMINISTRATORGT;MVN install:install-file-dfile=d:/clj-time-0.4.1.jar-dgroupid=clj-time-dartifactid= Clj-time-dversion=0.4.1-dpackaging=jar[INFO] Scanning for projects ...[INFO][INFO]------------------------------------------------------------------------[INFO] Building Maven Stub Project (No POM) 1[INFO]------------------------------------------------------------------------[INFO][INFO]---maven-ins
To set up maven in MyEclipse first:The support setup for MyEclipse to this maven is complete. Below we create a MAVEN standard Web project in MyEclipse: New to Web project so far a MAVEN standard Web project was created successfully. Add MAVEN's Standard Catalog: Right-click the project name-->new-->source folder end
First, download maven
Website address: http://maven.apache.org/
Go to the official web to download the latest maven.
Then unzip it to the installation directory, where I extract it directly to D, as shown in the directory structure of the MAVEN installation package.
Second, install Maven
Configure
Now the latest Eclipse Luna Release has built-in Maven plugin, which makes our work a lot more concise, as long as the project directly into the can, regardless of the plug-in problems, but after the import of the project can be deployed in Tomcat can also be deployed on the jetty server , the following is the debugging process.I. Development environmentJava:jdk7Eclipse:eclipse Java EE IDE for Web developers, Version:luna Release (4.4.0)
First, create the project.It's also easy to create a MAVEN project, choose menu Item--- new--and other, select maven Projectunder Maven in the popup dialog box, and then click Next. Create a project with Maven in 1.EclipseSelect Mavenprojec.2. If you want to select a working set, you can choose Add Project to Working
There are 2 cases where you need to issue the MAVEN command manually including a jar to Maven's local repository.
The jar to be used does not exist in the central repository of Maven.
You have created a custom jar, and another Maven project needs to be used.
PS, or there are many jars that do not support Maven.Case studyFor example, Kaptcha, whi
I. Create a Web project 1.1 Choose Build Maven ProjectSelect File--New->project, as shown in: Select Maven---maven Project in the new window. Click "Next" as shown: 1.2 Select project PathSelect the storage directory for the project according to the actual situation of the project, or select the "Use default Workspace location" default workspace. As shown in th
Problem:Eclipse installed M2eclipse When the project was created after the error: from any of the configured repositories.Workaround:Step One:Download the latest version from http://maven.oschina.net/content/groups/public/org/apache/maven/archetypes/maven-archetype-quickstart/ Maven-archetype-quickstart-1.1.jarStep Two:command line to download directory execution
Disable MAVEN Nature project, restore menu rendered (Convert to Maven project)Sometimes the need to convert disable Maven nature projects to MAVEN projects requires a menu:conver to maven project But by default this menu is not rendered, you can not find, this need to do a c
By default, MAVEN downloads all dependencies from the MAVEN central repository. However, some libraries are missing in the central repository and can only be found in java.net or JBoss repository remote repositories.1. java.net Resource LibraryAdd the java.net remote repository details in the "Pom.xml" file.Pom.xmlNoteThe old "HTTP://DOWNLOAD.JAVA.NET/MAVEN/2"is
1. Create new module, choose Maven on the left, check create from archetype on the right, and find Maven-archetype-webapp in the middle.2. Fill in GroupId and ArtifactidGroupid:the Unique identifier of the organization or group that created the projectArtifactid:unique base name of the primary artifact being generated by this projectGroupId is similar to the project package name, such as Org.apache.mavenArt
Usually we want to run the MAVEN command in Eclipse, right-click on the project and click Run as, for example:You can see a lot of existing MAVEN commands, click to run, and see the running information in the consoleIf the MAVEN command you want to run is not found here, click Maven Build to create a new command, as sh
Configuring the Eclipse Maven environment1. Configure Manen AddressImport the downloaded Maven into it and tick the2. Set Setting.xml AddressSelect Settings.xml under the Conf directory under MAVEN, and the local Repository will automatically recognize the local Repository of the settingCreate a Maven projectSelect the
Tags: Technology Windows menu EPO install technology share Settings 1.3 16px1installation configuration maven1.1 Download MavenDownload and extract Apache maven from Apache website http://maven.apache.org/.maven:http://maven.apache.org/download.cgi1.2 ConfigurationWindows----"Preferences----" installations----"ADD1.3 Configuring MAVEN's local repositoryA. Select a path to the hard drive and create the folder repository. My path is: D:\
For MAVEN deployment and installation plug-ins are not familiar to the students can look at the previous two articles on MAVEN deployment and installation:This note has been integrated with Maven's plugin.I. Building a MAVEN Project
Before we build a Maven project with Eclipse, we need to do some necessary con
In this tutorial, we will learn how to use the Maven Tomcat plugin to package and deploy a war file to Tomcat (Tomcat 6 and 7.To use the tool:
Maven 3
Tomcat 6.0.37
Tomcat 7.0.53
Tomcat 7Publish URL =Http://localhost:8080/manager/textCommand = MVN Tomcat7:deployTomcat 6Publish URL = http://localhost:8080/manager/Command = MVN Tomcat6:deploy1. Tomcat 7 ExampleThis example shows how to p
-and/application/apache-tomcat-7.0.692, 3, 3 configure Tomcat environment variables[Email protected] application]# echo "Export Tomcat_home=/application/tomcat" >>/etc/profile#查看 new additions to the/etc/profile file[Email protected] application]# tail-1/etc/profileExport Tomcat_home=/application/tomcat2, 3, 4 make the environment variable effective#保存之后, execute the following command to make the configured environment variable effective[Email protected] application]# Source/etc/profileThird,
Preparations for building Maven projects in Eclipse, and building maven in eclipse
Maven is an excellent Java project object model solution, meaning the accumulation of knowledge (Italian Xuwen). Maven can easily solve the Java project package dependency problem by configuring pom. xml introduces dependencies, and othe
1. Using Maven in Eclipse:A, the Maven plugin in Eclipse is built-in.b, settings for the Maven plugin, set two items in Windows----Preferences----Maven:650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/95/CD/wKiom1kZwl7RldyAAABFu7sQnRg701.png "title=" 00. PNG "alt=" Wkiom1kzwl7rldyaaabfu7sqnrg701.png "/>650)
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.