Note: In general you will find the POM in C:/Users/your_pc_user_name/. After running the command successfully, now we can get this JAR using maven in our project as usual. Note that we didnât specify groupId, artifactId, version. Example : Oracle is 3rd party and itâs jars are available in maven public repository. mvn install:install-file -Dfile -DgroupId. To add these jars we can use below command to load in local repository (. The use of the plugin is very simple as below: mvn install:install-file -Dfile. Follow link for Maven Configuration in Window and Linux.The first solution is to add manually the JAR into your local Maven repository by using the Maven goal install:install-file. mvn install:install-file "-Dfile=D:/JAR/struts2-fullhibernatecore-plugin-2.2.2-GA/struts2-fullhibernatecore-plugin-2.2.2-GA.jar" "-DgroupId=" "-DartifactId=struts2-fullhibernatecore-plugin" "-Dversion=2.2" "-Dpackaging=jar" "-DgeneratePom=true"Ä£. 1- Install manually the JAR into your local Maven repository. Now open the command prompt and run the mvn install as follows (I assume that maven is already installed in your system). Suppose D:/jar/struts2-fullhibernatecore-plugin-2.2.2-GA.jarÄ¢. Download struts2-fullhibernatecore-plugin JAR from the URL Here follow the step by step process to work with struts2-fullhibernatecore-plugin in your maven project.Ä¡. Suppose we want to add struts2-fullhibernatecore-plugin into our maven project
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |