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"?>
<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>
<groupId>moe.nekojimi</groupId>
<artifactId>JavaMavenTemplate</artifactId>
<groupId>moe.${REPO_OWNER_LOWER}</groupId>
<artifactId>${REPO_NAME_PASCAL}</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
@ -25,7 +25,7 @@
<configuration>
<transformers>
<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>
</transformers>
<minimizeJar>true</minimizeJar>

Loading…
Cancel
Save