chore: Clean up project and scaffolding

This commit is contained in:
bedroomghost 2025-04-14 18:17:15 +02:00
parent bf5e51b425
commit 0021f7698e
7 changed files with 67 additions and 105 deletions

View File

@ -1,19 +0,0 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
wrapperVersion=3.3.2
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip

View File

@ -10,14 +10,16 @@
<parent> <parent>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>webprice</artifactId> <artifactId>web-price</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath/>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>domain</artifactId> <artifactId>domain</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -4,67 +4,47 @@
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>
<parent>
<groupId>com.techivw</groupId>
<artifactId>web-price</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath/>
</parent>
<artifactId>boot</artifactId> <artifactId>boot</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>boot</name> <name>boot</name>
<parent>
<groupId>com.techivw</groupId>
<artifactId>webprice</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<dependencies> <dependencies>
<!-- Project modules -->
<dependency> <dependency>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>domain</artifactId> <artifactId>domain</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>application</artifactId> <artifactId>application</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>rest-api</artifactId> <artifactId>rest-api</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>sql-repository</artifactId> <artifactId>sql-repository</artifactId>
</dependency> <version>0.0.1-SNAPSHOT</version>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@ -10,8 +10,7 @@
<parent> <parent>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>webprice</artifactId> <artifactId>web-price</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</parent> </parent>
</project> </project>

View File

@ -4,24 +4,27 @@
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>
<parent>
<groupId>com.techivw</groupId>
<artifactId>web-price</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>rest-api</artifactId> <artifactId>rest-api</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>rest-api</name> <name>rest-api</name>
<parent>
<groupId>com.techivw</groupId>
<artifactId>webprice</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>domain</artifactId> <artifactId>domain</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>application</artifactId> <artifactId>application</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -10,18 +10,21 @@
<parent> <parent>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>webprice</artifactId> <artifactId>web-price</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>domain</artifactId> <artifactId>domain</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.techivw</groupId> <groupId>com.techivw</groupId>
<artifactId>application</artifactId> <artifactId>application</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>

80
pom.xml
View File

@ -3,49 +3,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.techivw</groupId>
<artifactId>webprice</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>web-price</name>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.4.4</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.techivw</groupId>
<artifactId>domain</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.techivw</groupId>
<artifactId>application</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.techivw</groupId>
<artifactId>rest-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.techivw</groupId>
<artifactId>sql-repository</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.techivw</groupId>
<artifactId>boot</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<modules> <modules>
<module>domain</module> <module>domain</module>
<module>application</module> <module>application</module>
@ -53,4 +10,41 @@
<module>infrastructure/out/sql-repository</module> <module>infrastructure/out/sql-repository</module>
<module>boot</module> <module>boot</module>
</modules> </modules>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.4.4</version>
<relativePath/>
</parent>
<groupId>com.techivw</groupId>
<artifactId>web-price</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>web-price</name>
<properties>
<java.version>21</java.version>
</properties>
<dependencies>
<!-- Project dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
</dependencies>
</project> </project>