diff --git a/pom.xml b/pom.xml index f271cdd..a202782 100644 --- a/pom.xml +++ b/pom.xml @@ -2,83 +2,41 @@ 4.0.0 + - com.embabel.build - embabel-build-parent - 0.1.0-SNAPSHOT + org.springframework.boot + spring-boot-starter-parent + 3.5.0 + com.embabel.template ProjectName - 1.0.0-SNAPSHOT + 0.1.0-SNAPSHOT jar My first agent Generated agent project - 0.1.0-SNAPSHOT - 0.1.0-SNAPSHOT - 0.1.0-SNAPSHOT - + 21 + 0.1.0-SNAPSHOT - - - - - - com.embabel.agent - embabel-agent-dependencies - ${embabel-agent-api.version} - pom - import - - - - com.embabel.common - embabel-common-dependencies - ${embabel-common.version} - pom - import - - - - com.embabel.common - embabel-common-test-dependencies - ${embabel-common.version} - pom - import - - - - + com.embabel.agent - embabel-agent-api + embabel-agent-starter + ${embabel-agent.version} com.embabel.agent embabel-agent-test + ${embabel-agent.version} - - - com.embabel.common - embabel-common-core - - - - com.embabel.common - embabel-common-util - - - - com.embabel.common - embabel-common-ai - - + org.springframework.boot @@ -86,32 +44,14 @@ test - - - - - org.springframework.boot spring-boot-maven-plugin - ${spring-boot.version} - - - - - org.jacoco - jacoco-maven-plugin - - - - org.apache.maven.plugins - maven-surefire-plugin - - + diff --git a/src/main/java/com/embabel/template/ProjectNameApplication.java b/src/main/java/com/embabel/template/ProjectNameApplication.java index 6d32326..bd8a71a 100644 --- a/src/main/java/com/embabel/template/ProjectNameApplication.java +++ b/src/main/java/com/embabel/template/ProjectNameApplication.java @@ -15,33 +15,11 @@ */ package com.embabel.template; -import com.embabel.common.util.WinUtils; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.boot.context.properties.ConfigurationPropertiesScan; -@SpringBootApplication( - scanBasePackages = { - "com.embabel.agent", - "com.embabel.template" - } -) -@ConfigurationPropertiesScan( - basePackages = { - "com.embabel.agent", - "com.embabel.template" - } -) +@SpringBootApplication class ProjectNameApplication { - - static { - if (WinUtils.IS_OS_WINDOWS()) { - // Set console to UTF-8 on Windows - // This is necessary to display non-ASCII characters correctly - WinUtils.CHCP_TO_UTF8(); - } - } - public static void main(String[] args) { SpringApplication.run(ProjectNameApplication.class, args); }