Skip to content

Instantly share code, notes, and snippets.

@oshingc
Created December 8, 2014 16:13
Show Gist options
  • Save oshingc/ecf6936340bd17072ac1 to your computer and use it in GitHub Desktop.
Save oshingc/ecf6936340bd17072ac1 to your computer and use it in GitHub Desktop.

Revisions

  1. oshingc created this gist Dec 8, 2014.
    21 changes: 21 additions & 0 deletions Create Spring Maven Project
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    1. Clic derecho>New>Spring>Spring Maven Project>Finalizar.
    2. Run Maven Update
    3. Add Server
    4. Clic derecho>Properties>Project Facets>Clic (agregar) Dynamic Web Module
    (Para que aparezca run on server en el proyecto)
    5. Build path java alternative jre (elige tu java)
    6. edita el pom, verifica tipo de packaging y agrega biuld tag
    <packaging>war</packaging>


    <build>
    <plugins>
    <plugin>
    <artifactId>maven-compiler-plugin</artifactId>
    <configuration>
    <source>1.6</source>
    <target>1.6</target>
    </configuration>
    </plugin>
    </plugins>
    </build>