Browse Source

Main class added and specified

rev
notme 3 years ago
parent
commit
f1adff7597
  1. 21
      pom.xml
  2. 13
      src/main/java/org/chulk/codegen/CodeGenApp.java

21
pom.xml

@ -16,6 +16,7 @@
<description>POC Codegen</description>
<properties>
<java.version>11</java.version>
<start-class>org.chulk.codegen.CodeGenApp</start-class>
</properties>
<dependencies>
<dependency>
@ -62,6 +63,26 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-test-resource</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-resource</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>${project.basedir}/src/test/resource</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

13
src/main/java/org/chulk/codegen/CodeGenApp.java

@ -0,0 +1,13 @@
package org.chulk.codegen;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class CodeGenApp {
public void main(String[] args) {
SpringApplication.run(CodeGenApp.class, args);
}
}
Loading…
Cancel
Save