Skip to content

Commit

Permalink
making the base package aligned with the site
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenp committed Nov 1, 2017
1 parent 7c12965 commit d6cbbbe
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion guest/spring-mvc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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>

<groupId>com.forketyfork.guest</groupId>
<groupId>com.stackify.guest</groupId>
<artifactId>spring-mvc</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.forketyfork.guest.springmvc;
package com.stackify.guest.springmvc;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.boot.SpringApplication;

@SpringBootApplication
@ComponentScan(basePackages = {"com.forketyfork.guest.springmvc"})
@ComponentScan(basePackages = {"com.stackify.guest.springmvc"})
public class Spring5Application {

public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.forketyfork.guest.springmvc.model;
package com.stackify.guest.springmvc.model;

public class LoginData {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
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.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;

import com.stackify.guest.springmvc.model.LoginData;

import java.util.Collections;

@Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.forketyfork.guest.springmvc.web;
package com.stackify.guest.springmvc.web;

public class MyInputResource {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.forketyfork.guest.springmvc.web;
package com.stackify.guest.springmvc.web;

public class MyOutputResource {

Expand Down
Original file line number Diff line number Diff line change
@@ -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.RestController;
Expand Down

0 comments on commit d6cbbbe

Please sign in to comment.