Skip to content

Commit

Permalink
[MNG-7664] consolidate Velocity templates used to generate code from …
Browse files Browse the repository at this point in the history
…models (apache#949)
  • Loading branch information
hboutemy authored Jan 19, 2023
1 parent c1a9001 commit 74548dd
Show file tree
Hide file tree
Showing 37 changed files with 59 additions and 6,139 deletions.
25 changes: 3 additions & 22 deletions api/maven-api-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,6 @@ under the License.

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-mdo</id>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>src/main/mdo/maven.mdo</file>
<type>mdo</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
Expand All @@ -73,14 +52,16 @@ under the License.
</goals>
<configuration>
<version>4.2.0</version>
<velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
<models>
<model>src/main/mdo/maven.mdo</model>
</models>
<templates>
<template>src/main/mdo/model.vm</template>
<template>model.vm</template>
</templates>
<params>
<param>packageModelV4=org.apache.maven.api.model</param>
<param>isMavenModel=true</param>
</params>
</configuration>
</execution>
Expand Down
Loading

0 comments on commit 74548dd

Please sign in to comment.