Skip to content

Commit

Permalink
rename base package from net.benas to io.github.benas
Browse files Browse the repository at this point in the history
  • Loading branch information
benas committed Dec 22, 2013
1 parent 4a4cb8f commit 0ba5404
Show file tree
Hide file tree
Showing 109 changed files with 330 additions and 326 deletions.
12 changes: 10 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,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>net.benas</groupId>
<groupId>io.github.benas</groupId>
<artifactId>todolist-mvc</artifactId>
<version>1.0-SNAPSHOT</version>
<modules>
Expand All @@ -19,7 +19,8 @@
</modules>
<packaging>pom</packaging>

<name>Todolist MVC is a simple yet complete web application used to compare several Java Web Frameworks</name>
<name>Todolist MVC parent module</name>
<description>Todolist MVC is a simple yet complete web application used to compare several Java Web Frameworks</description>
<url>https://github.com/benas/todolist-mvc</url>

<developers>
Expand All @@ -29,6 +30,13 @@
</developer>
</developers>

<licenses>
<license>
<name>MIT License</name>
<url>http://opensource.org/licenses/mit-license.php</url>
</license>
</licenses>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion todolist-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>todolist-mvc</artifactId>
<groupId>net.benas</groupId>
<groupId>io.github.benas</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

package net.benas.todolist.core.domain;
package io.github.todolist.core.domain;

/**
* Enumeration for todo priority.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

package net.benas.todolist.core.domain;
package io.github.todolist.core.domain;

/**
* Enumeration for todo status.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

package net.benas.todolist.core.domain;
package io.github.todolist.core.domain;

import javax.persistence.*;
import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

package net.benas.todolist.core.domain;
package io.github.todolist.core.domain;

import javax.persistence.*;
import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.benas.todolist.core.repository.api;
package io.github.todolist.core.repository.api;

import net.benas.todolist.core.domain.Priority;
import net.benas.todolist.core.domain.Status;
import net.benas.todolist.core.domain.Todo;
import io.github.todolist.core.domain.Priority;
import io.github.todolist.core.domain.Status;
import io.github.todolist.core.domain.Todo;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.benas.todolist.core.repository.api;
package io.github.todolist.core.repository.api;

import net.benas.todolist.core.domain.User;
import io.github.todolist.core.domain.User;

/**
* Interface for user repository.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package net.benas.todolist.core.repository.impl;
package io.github.todolist.core.repository.impl;

import net.benas.todolist.core.domain.Priority;
import net.benas.todolist.core.domain.Status;
import net.benas.todolist.core.domain.Todo;
import net.benas.todolist.core.repository.api.TodoRepository;
import io.github.todolist.core.domain.Priority;
import io.github.todolist.core.domain.Status;
import io.github.todolist.core.domain.Todo;
import io.github.todolist.core.repository.api.TodoRepository;
import org.springframework.stereotype.Repository;

import javax.persistence.EntityManager;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.benas.todolist.core.repository.impl;
package io.github.todolist.core.repository.impl;

import net.benas.todolist.core.domain.User;
import net.benas.todolist.core.repository.api.UserRepository;
import io.github.todolist.core.domain.User;
import io.github.todolist.core.repository.api.UserRepository;
import org.springframework.stereotype.Repository;

import javax.persistence.EntityManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
* THE SOFTWARE.
*/

package net.benas.todolist.core.service.api;
package io.github.todolist.core.service.api;

import net.benas.todolist.core.domain.Todo;
import net.benas.todolist.core.util.ExportFormat;
import io.github.todolist.core.domain.Todo;
import io.github.todolist.core.util.ExportFormat;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
* THE SOFTWARE.
*/

package net.benas.todolist.core.service.api;
package io.github.todolist.core.service.api;

import net.benas.todolist.core.domain.Priority;
import net.benas.todolist.core.domain.Status;
import net.benas.todolist.core.domain.Todo;
import io.github.todolist.core.domain.Priority;
import io.github.todolist.core.domain.Status;
import io.github.todolist.core.domain.Todo;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
* THE SOFTWARE.
*/

package net.benas.todolist.core.service.api;
package io.github.todolist.core.service.api;

import net.benas.todolist.core.domain.User;
import io.github.todolist.core.domain.User;

/**
* Business interface for user manager.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
* THE SOFTWARE.
*/

package net.benas.todolist.core.service.impl;
package io.github.todolist.core.service.impl;

import com.google.gson.Gson;
import com.lowagie.text.Document;
import com.lowagie.text.DocumentException;
import com.lowagie.text.Paragraph;
import com.lowagie.text.pdf.PdfWriter;
import com.thoughtworks.xstream.XStream;
import net.benas.todolist.core.domain.Todo;
import net.benas.todolist.core.service.api.ExportService;
import net.benas.todolist.core.util.ExportFormat;
import io.github.todolist.core.domain.Todo;
import io.github.todolist.core.service.api.ExportService;
import io.github.todolist.core.util.ExportFormat;

import java.io.ByteArrayOutputStream;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
* THE SOFTWARE.
*/

package net.benas.todolist.core.service.impl;
package io.github.todolist.core.service.impl;

import net.benas.todolist.core.domain.Priority;
import net.benas.todolist.core.domain.Status;
import net.benas.todolist.core.domain.Todo;
import net.benas.todolist.core.repository.api.TodoRepository;
import net.benas.todolist.core.service.api.TodoService;
import io.github.todolist.core.domain.Priority;
import io.github.todolist.core.domain.Status;
import io.github.todolist.core.domain.Todo;
import io.github.todolist.core.repository.api.TodoRepository;
import io.github.todolist.core.service.api.TodoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
* THE SOFTWARE.
*/

package net.benas.todolist.core.service.impl;
package io.github.todolist.core.service.impl;

import net.benas.todolist.core.domain.User;
import net.benas.todolist.core.repository.api.UserRepository;
import net.benas.todolist.core.service.api.UserService;
import io.github.todolist.core.domain.User;
import io.github.todolist.core.repository.api.UserRepository;
import io.github.todolist.core.service.api.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

package net.benas.todolist.core.util;
package io.github.todolist.core.util;

/**
* Enumeration for export format.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
<!-- Business configuration -->
<!-- ========================== -->

<bean id="userRepository" class="net.benas.todolist.core.repository.impl.UserRepositoryImpl"/>
<bean id="todoRepository" class="net.benas.todolist.core.repository.impl.TodoRepositoryImpl"/>
<bean id="userRepository" class="io.github.todolist.core.repository.impl.UserRepositoryImpl"/>
<bean id="todoRepository" class="io.github.todolist.core.repository.impl.TodoRepositoryImpl"/>

<bean id="userService" class="net.benas.todolist.core.service.impl.UserServiceImpl"/>
<bean id="todoService" class="net.benas.todolist.core.service.impl.TodoServiceImpl"/>
<bean id="exportService" class="net.benas.todolist.core.service.impl.ExportServiceImpl"/>
<bean id="userService" class="io.github.todolist.core.service.impl.UserServiceImpl"/>
<bean id="todoService" class="io.github.todolist.core.service.impl.TodoServiceImpl"/>
<bean id="exportService" class="io.github.todolist.core.service.impl.ExportServiceImpl"/>

</beans>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.benas.todolist.core.test;
package io.github.todolist.core;

import net.benas.todolist.core.domain.Todo;
import net.benas.todolist.core.service.api.TodoService;
import io.github.todolist.core.domain.Todo;
import io.github.todolist.core.service.api.TodoService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.benas.todolist.core.test;
package io.github.todolist.core;

import net.benas.todolist.core.service.api.UserService;
import io.github.todolist.core.service.api.UserService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
4 changes: 2 additions & 2 deletions todolist-web-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>todolist-mvc</artifactId>
<groupId>net.benas</groupId>
<groupId>io.github.benas</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand All @@ -20,7 +20,7 @@

<!-- todolist core module-->
<dependency>
<groupId>net.benas</groupId>
<groupId>io.github.benas</groupId>
<artifactId>todolist-core</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

package net.benas.todolist.web.common.form;
package io.github.benas.todolist.web.common.form;

import org.hibernate.validator.constraints.NotEmpty;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.benas.todolist.web.common.form;
package io.github.benas.todolist.web.common.form;

import net.benas.todolist.core.domain.Priority;
import net.benas.todolist.core.domain.Status;
import net.benas.todolist.core.util.ExportFormat;
import io.github.todolist.core.domain.Priority;
import io.github.todolist.core.domain.Status;
import io.github.todolist.core.util.ExportFormat;
import org.hibernate.validator.constraints.NotEmpty;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

package net.benas.todolist.web.common.form;
package io.github.benas.todolist.web.common.form;

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotEmpty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

package net.benas.todolist.web.common.form;
package io.github.benas.todolist.web.common.form;

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotEmpty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

package net.benas.todolist.web.common.tags;
package io.github.benas.todolist.web.common.tags;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

package net.benas.todolist.web.common.tags;
package io.github.benas.todolist.web.common.tags;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/

package net.benas.todolist.web.common.tags;
package io.github.benas.todolist.web.common.tags;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@
* THE SOFTWARE.
*/

package net.benas.todolist.web.common.util;
package io.github.benas.todolist.web.common.util;

/**
* Utility class for constants.
* @author benas ([email protected])
*/
public class TodolistUtils {

private TodolistUtils() { }

public static final String SESSION_USER = "user";

public static final String DATE_FORMAT = "dd/MM/yyyy";
Expand Down
Loading

0 comments on commit 0ba5404

Please sign in to comment.