summaryrefslogtreecommitdiffstats
path: root/generic-resource-api/model/swagger/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'generic-resource-api/model/swagger/pom.xml')
-rw-r--r--generic-resource-api/model/swagger/pom.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/generic-resource-api/model/swagger/pom.xml b/generic-resource-api/model/swagger/pom.xml
index c9ee7893..b49d6ecb 100644
--- a/generic-resource-api/model/swagger/pom.xml
+++ b/generic-resource-api/model/swagger/pom.xml
@@ -188,6 +188,28 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2.1</version>
+ <executions>
+ <execution>
+ <configuration>
+ <executable>sh</executable>
+ <arguments>
+ <argument>${basedir}/fixModuleUri.sh</argument>
+ <argument>GENERIC-RESOURCE-API</argument>
+ <argument>src/main/yaml/generic-resource.yaml</argument>
+ </arguments>
+ </configuration>
+ <id>fix-swagger-yaml</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>