miércoles, 16 de marzo de 2016

Guide to installing 3rd party JARs

We put the next:

mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>

Example for this:

<dependency>
  <groupId>com.jar.probe</groupId>
  <artifactId>myJar</artifactId>
  <version>1.0</version>
</dependency> 

the command is the next:
 
mvn install:install-file -Dfile=myJar.jar -DgroupId=com.jar.probe -DartifactId=myJar -Dversion=1.0 -Dpackaging=jar 

enjoy...

viernes, 13 de noviembre de 2015

Creating a Struts2 project whit Maven Archetype

First Command:

mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
 
 
 
next we select the options step by step, i put the strut2forBipmed in the directory's name but you can rename with other...
 
 
 
 
 
 
 
 
 
In eclipse IDE we put the next:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Enjoy...