Update pom.xml with repo name template.

master
Nekojimi 3 years ago
parent 485cfccc33
commit 441c1c1db7
  1. 6
      pom.xml

@ -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.nekojimi</groupId> <groupId>moe.${REPO_OWNER_LOWER}</groupId>
<artifactId>JavaMavenTemplate</artifactId> <artifactId>${REPO_NAME_PASCAL}</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.nekojimi.template.Main</mainClass> <mainClass>moe.${REPO_OWNER_LOWER}.${REPO_NAME_LOWER}.Main</mainClass>
</transformer> </transformer>
</transformers> </transformers>
<minimizeJar>true</minimizeJar> <minimizeJar>true</minimizeJar>

Loading…
Cancel
Save