UPDATE

上级 5b0ce43e
run = "java Main.java" run = "mvn -Dmaven.test.skip=true clean package"
文件已删除
class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}
\ No newline at end of file
{ pkgs }: { { pkgs }: {
deps = [ deps = [
pkgs.graalvm17-ce pkgs.graalvm11-ce
pkgs.maven pkgs.maven
]; ];
} }
\ No newline at end of file
<project> <?xml version="1.0" encoding="UTF-8"?>
<modelVersion>4.0.0</modelVersion> <project xmlns="http://maven.apache.org/POM/4.0.0"
<groupId>mygroupid</groupId> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<artifactId>myartifactid</artifactId> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<version>0.0-SNAPSHOT</version> <modelVersion>4.0.0</modelVersion>
<dependencies> <parent>
<dependency> <groupId>org.springframework.boot</groupId>
<groupId>junit</groupId> <artifactId>spring-boot-starter-parent</artifactId>
<artifactId>junit</artifactId> <version>3.0.6</version>
<version>4.12</version> <relativePath/> <!-- lookup parent from repository -->
<type>jar</type> </parent>
</dependency> <groupId>com.lhstack</groupId>
<dependency> <artifactId>template</artifactId>
<groupId>com.googlecode.json-simple</groupId> <version>1.0-SNAPSHOT</version>
<artifactId>json-simple</artifactId> <properties>
<version>1.1.1</version> <java.version>17</java.version>
<type>jar</type> </properties>
</dependency> <dependencies>
<dependency> <dependency>
<groupId>org.hamcrest</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>hamcrest-core</artifactId> <artifactId>spring-boot-starter-web</artifactId>
<version>1.3</version> </dependency>
<type>jar</type>
</dependency> <dependency>
</dependencies> <groupId>org.springframework.boot</groupId>
<build> <artifactId>spring-boot-starter-test</artifactId>
<plugins> <scope>test</scope>
<plugin> </dependency>
<groupId>de.qaware.maven</groupId> </dependencies>
<artifactId>go-offline-maven-plugin</artifactId>
<version>1.2.5</version> <build>
<configuration> <plugins>
<dynamicDependencies> <plugin>
<DynamicDependency> <groupId>org.springframework.boot</groupId>
<groupId>org.apache.maven.surefire</groupId> <artifactId>spring-boot-maven-plugin</artifactId>
<artifactId>surefire-junit4</artifactId> </plugin>
<version>2.20.1</version> </plugins>
<classifier></classifier> </build>
<repositoryType>PLUGIN</repositoryType>
</DynamicDependency>
<DynamicDependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-apt</artifactId>
<version>4.2.1</version>
<classifier>jpa</classifier>
<repositoryType>MAIN</repositoryType>
</DynamicDependency>
</dynamicDependencies>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>
\ No newline at end of file
package com.lhstack;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class TemplateApplication {
public static void main(String[] args) {
System.out.println("hello world");
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册