Tiven Wang
Wang Tiven January 06, 2017
425 favorite favorites
bookmark bookmark
share share

Setup

Generate Maven Project

mvn archetype:generate \
        -DarchetypeGroupId=pl.codeleak \
        -DarchetypeArtifactId=spring-mvc-quickstart \
        -DarchetypeVersion=1.0.0 \
        -DgroupId=<my.groupid> \
        -DartifactId=<my-artifactId> \
        -Dversion=<version> \
        -DarchetypeRepository=http://kolorobot.github.io/spring-mvc-quickstart-archetype

install maven plugins for eclipse using url http://download.eclipse.org/technology/m2e/releases/

Lifecycle

mvn compile

mvn test

mvn package

mvn clean

mvn ... -DskipTests

Maven guides getting started

Similar Posts

  • Try CloudFoundry Try CloudFoundry
  • Maven Best Practices Maven Best Practices
  • Cloud Training 1 - Create Maven Project and Deploy to Tomcat
  • Unit Test by Spring MVC Test Framework Testing is an integral part of enterprise software development. Dependency Injection should make your code less dependent on the container than it would be with traditional Java EE development. This topic introduce how to create Unit Test by Spring MVC Test Framework for Java project on HCP
  • Apply Spring Data JPA to Java Project on HCP Spring Data’s mission is to provide a familiar and consistent, Spring-based programming model for data access while still retaining the special traits of the underlying data store. Spring Data JPA, part of the larger Spring Data family, makes it easy to easily implement JPA based repositories. This module deals with enhanced support for JPA based data access layers. It makes it easier to build Spring-powered applications that use data access technologies.
  • Apply Spring Architecture to Java Project on HCP The Spring Framework is an application framework and inversion of control container for the Java platform. The framework's core features can be used by any Java application, but there are extensions for building web applications on top of the Java EE platform. Although the framework does not impose any specific programming model, it has become popular in the Java community as an alternative to, replacement for, or even addition to the Enterprise JavaBeans (EJB) model. I will show you how to apply Spring Frameworks to Java project on HANA Cloud Platform.

Comments

Back to Top