forked from loafle/openapi-generator-original
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".
This commit is contained in:
parent
cf95d4e59e
commit
146f5c4c2a
@ -1,10 +1,10 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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/maven-v4_0_0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.wordnik</groupId>
|
<groupId>{{package}}</groupId>
|
||||||
<artifactId>{{artifactId}}</artifactId>
|
<artifactId>api-client</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>{{artifactId}}</name>
|
<name>api-client</name>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:git@github.com:wordnik/swagger-mustache.git</connection>
|
<connection>scm:git:git@github.com:wordnik/swagger-mustache.git</connection>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user