From 146f5c4c2a8134b10015b2ccf9f549c657563ea5 Mon Sep 17 00:00:00 2001 From: Chris Birchall Date: Fri, 17 Jan 2014 11:34:39 +0900 Subject: [PATCH] Improve groupId, artifactId, name in generated pom.xml 1. Replace hardcoded groupId (`com.wordnik`) with `package` variable. 2. artifactId and name were using non-existent variable `artifactId`. This results in an empty artifactId, which makes Maven puke. Replaced them with a sensible hardcoded value, "api-client". --- src/main/resources/Java/pom.mustache | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/Java/pom.mustache b/src/main/resources/Java/pom.mustache index 261daef0e4e..b546de63c92 100644 --- a/src/main/resources/Java/pom.mustache +++ b/src/main/resources/Java/pom.mustache @@ -1,10 +1,10 @@ 4.0.0 - com.wordnik - {{artifactId}} + {{package}} + api-client jar - {{artifactId}} + api-client 1.0.0 scm:git:git@github.com:wordnik/swagger-mustache.git