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> <description>POC Codegen</description>
<properties> <properties>
<java.version>11</java.version> <java.version>11</java.version>
<start-class>org.chulk.codegen.CodeGenApp</start-class>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
@ -62,6 +63,26 @@
</excludes> </excludes>
</configuration> </configuration>
</plugin> </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> </plugins>
</build> </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