Fix template error.

master
Nekojimi 3 years ago
parent 3cb82c07d3
commit b35bd6c2d5
  1. 6
      pom.xml
  2. 16
      src/main/java/moe/nekojimi/javamaventemplate/Main.java
  3. 16
      src/main/java/moe/nekojimi/nodeprocessor/Main.java

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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>
<groupId>moe.${REPO_OWNER_LOWER}</groupId> <groupId>moe.nekojimi</groupId>
<artifactId>${REPO_NAME_PASCAL}</artifactId> <artifactId>NodeProcessor</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<properties> <properties>
@ -25,7 +25,7 @@
<configuration> <configuration>
<transformers> <transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>moe.${REPO_OWNER_LOWER}.${REPO_NAME_LOWER}.Main</mainClass> <mainClass>moe.nekojimi.nodeprocessor.Main</mainClass>
</transformer> </transformer>
</transformers> </transformers>
<minimizeJar>true</minimizeJar> <minimizeJar>true</minimizeJar>

@ -1,16 +0,0 @@
package moe.${REPO_OWNER_LOWER}.${REPO_NAME_LOWER};
/**
*
* @author ${REPO_OWNER_LOWER}
*/
public class Main
{
/**
* @param args the command line arguments
*/
public static void main(String[] args)
{
System.out.println("Hello world!");
}
}

@ -0,0 +1,16 @@
package moe.nekojimi.nodeprocessor;
/**
*
* @author Nekojimi
*/
public class Main
{
/**
* @param args the command line arguments
*/
public static void main(String[] args)
{
System.out.println("Hello world!");
}
}
Loading…
Cancel
Save