making the base package aligned with the site

This commit is contained in:
eugenp 2017-11-02 00:35:08 +02:00
parent 7c12965a45
commit d6cbbbedb4
7 changed files with 10 additions and 9 deletions

View File

@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.forketyfork.guest</groupId> <groupId>com.stackify.guest</groupId>
<artifactId>spring-mvc</artifactId> <artifactId>spring-mvc</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>

View File

@ -1,11 +1,11 @@
package com.forketyfork.guest.springmvc; package com.stackify.guest.springmvc;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
@SpringBootApplication @SpringBootApplication
@ComponentScan(basePackages = {"com.forketyfork.guest.springmvc"}) @ComponentScan(basePackages = {"com.stackify.guest.springmvc"})
public class Spring5Application { public class Spring5Application {
public static void main(String[] args) { public static void main(String[] args) {

View File

@ -1,4 +1,4 @@
package com.forketyfork.guest.springmvc.model; package com.stackify.guest.springmvc.model;
public class LoginData { public class LoginData {

View File

@ -1,6 +1,5 @@
package com.forketyfork.guest.springmvc.web; package com.stackify.guest.springmvc.web;
import com.forketyfork.guest.springmvc.model.LoginData;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
@ -8,6 +7,8 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.ModelAndView;
import com.stackify.guest.springmvc.model.LoginData;
import java.util.Collections; import java.util.Collections;
@Controller @Controller

View File

@ -1,4 +1,4 @@
package com.forketyfork.guest.springmvc.web; package com.stackify.guest.springmvc.web;
public class MyInputResource { public class MyInputResource {

View File

@ -1,4 +1,4 @@
package com.forketyfork.guest.springmvc.web; package com.stackify.guest.springmvc.web;
public class MyOutputResource { public class MyOutputResource {

View File

@ -1,4 +1,4 @@
package com.forketyfork.guest.springmvc.web; package com.stackify.guest.springmvc.web;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;