Skip to content

Commit

Permalink
Merge pull request #57 from hiroxpepe/develop
Browse files Browse the repository at this point in the history
update: #30 changed environment and library.
  • Loading branch information
hiroxpepe authored Feb 4, 2023
2 parents da4b68c + 7a67927 commit b47cc28
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 167 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,34 @@
---
## What's this?
A base project of a blog-type web application.

#### by using
- [Spring Framework 5.2.x](https://spring.io/projects/spring-framework)
- [Spring Data JPA 2.3.x](https://spring.io/projects/spring-data-jpa)
- [Hibernate 5.4.x](http://hibernate.org/)
- [jackson 2.11.0](https://github.com/FasterXML/jackson)
- [Spring Framework 5.3.x](https://spring.io/projects/spring-framework)
- [Spring Data JPA 2.7.x](https://spring.io/projects/spring-data-jpa)
- [Hibernate 5.6.x](http://hibernate.org/)
- [jackson 2.13.0](https://github.com/FasterXML/jackson)
- [Apache Tiles 3.0.x](https://tiles.apache.org/)
- [Lombok 1.18.x](https://projectlombok.org/)
- [Logback 1.2.x](http://logback.qos.ch/)
- [Java 8](https://www.oracle.com/)
- [Java 11](https://openjdk.org/)

---
## How to run the application on your local?
- get [Apache Maven](http://maven.apache.org/).
- build this project by using command line.

```bash
> cd { path to this README.md directory. }
> mvn compile
> mvn install
```
- move to the directory of webapp.
```bash
> cd webapp
```
- run the web application by using jetty plugin.
```bash
> mvn jetty:run
```
Expand All @@ -37,10 +41,6 @@ to stop the application hit ctrl + c
## Repository on Github.
[hiroxpepe/expt-blog](https://github.com/hiroxpepe/expt-blog)
---
## Running on Heroku.
http://expt-blog.herokuapp.com/
---
## Author
[hiroxpepe](mailto:[email protected])
Expand Down
45 changes: 7 additions & 38 deletions model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,17 @@
<name>model</name>

<properties>
<expt-blog.version>${version}</expt-blog.version>
<spring.data.jpa.version>2.3.0.RELEASE</spring.data.jpa.version>
<spring.version>5.2.6.RELEASE</spring.version>
<hibernate.version>5.4.17.Final</hibernate.version>
<lombok.version>1.18.12</lombok.version>
<slf4j.version>1.7.30</slf4j.version>
<logback.version>1.2.3</logback.version>
<java.version>1.8</java.version>
<spring.data.jpa.version>2.7.7</spring.data.jpa.version>
<spring.version>5.3.25</spring.version>
<hibernate.version>5.6.14.Final</hibernate.version>
<lombok.version>1.18.24</lombok.version>
<slf4j.version>1.7.36</slf4j.version>
<logback.version>1.2.11</logback.version>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<!--///////////////////////////////////////////////////////////////////////////-->
<!-- USER LIB -->

<!--///////////////////////////////////////////////////////////////////////////-->
<!-- OSS LIB -->

Expand Down Expand Up @@ -133,35 +129,8 @@
<version>4.13.1</version>
<scope>test</scope>
</dependency>

</dependencies>

<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<build>
<!-- Name of the generated JAR file -->
<finalName>${name}-${version}</finalName>
Expand Down
37 changes: 5 additions & 32 deletions mvc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<name>mvc</name>

<properties>
<spring.version>5.2.6.RELEASE</spring.version>
<spring.version>5.3.25</spring.version>
<dozer.version>5.5.1</dozer.version>
<lombok.version>1.18.12</lombok.version>
<slf4j.version>1.7.30</slf4j.version>
<logback.version>1.2.3</logback.version>
<java.version>1.8</java.version>
<lombok.version>1.18.24</lombok.version>
<slf4j.version>1.7.36</slf4j.version>
<logback.version>1.2.11</logback.version>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down Expand Up @@ -135,32 +135,6 @@
</dependency>
</dependencies>

<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<build>
<!-- Name of the generated JAR file -->
<finalName>${name}-${version}</finalName>
Expand All @@ -177,5 +151,4 @@
</plugin>
</plugins>
</build>

</project>
29 changes: 1 addition & 28 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
<name>project</name>

<properties>
<exptblog.version>${version}</exptblog.version>
<java.version>1.8</java.version>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand All @@ -22,32 +21,6 @@
<module>model</module>
</modules>

<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<build>
<plugins>
<plugin>
Expand Down
36 changes: 5 additions & 31 deletions service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<name>service</name>

<properties>
<spring.version>5.2.6.RELEASE</spring.version>
<lombok.version>1.18.12</lombok.version>
<slf4j.version>1.7.30</slf4j.version>
<logback.version>1.2.3</logback.version>
<java.version>1.8</java.version>
<spring.version>5.3.25</spring.version>
<lombok.version>1.18.24</lombok.version>
<slf4j.version>1.7.36</slf4j.version>
<logback.version>1.2.11</logback.version>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down Expand Up @@ -107,32 +107,6 @@

</dependencies>

<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<build>
<!-- Name of the generated JAR file -->
<finalName>${name}-${version}</finalName>
Expand Down
31 changes: 2 additions & 29 deletions webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<name>webapp</name>

<properties>
<jackson.version>2.11.0</jackson.version>
<jackson.version>2.13.5</jackson.version>
<tiles.version>3.0.8</tiles.version>
<java.version>1.8</java.version>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down Expand Up @@ -62,35 +62,8 @@
<artifactId>tiles-jsp</artifactId>
<version>${tiles.version}</version>
</dependency>

</dependencies>

<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<build>
<!-- Name of the generated WAR file -->
<finalName>${name}-${version}</finalName>
Expand Down

0 comments on commit b47cc28

Please sign in to comment.