Skip to content

Commit

Permalink
Missing Plugins in POM. Fix List of Strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jemacineiras committed Oct 27, 2023
1 parent c604086 commit b1b0b24
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
30 changes: 29 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@
<commons-codec.version>1.15</commons-codec.version>
<google-gson.version>2.8.9</google-gson.version>
<google-guava.version>31.1-jre</google-guava.version>
<sortpom-maven-plugin.version>3.2.1</sortpom-maven-plugin.version>
<sortpom-maven-plugin.version>3.3.0</sortpom-maven-plugin.version>
<maven-javadoc-plugin.version>3.6.0</maven-javadoc-plugin.version>
<maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -278,6 +280,32 @@
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand Down
8 changes: 5 additions & 3 deletions src/main/resources/templates/templateDslBuilder.ftlh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<#elseif type == "datetimeValue" && format?has_content>
<#return 'ZonedDateTime.parse("${value?datetime}", DateTimeFormatter.ofPattern("${format?no_esc}")'?no_esc/>
<#elseif type != "dateValue" && type != "datetimeValue">
<#return value?j_string/>
<#return '\"${value?j_string}\"'?no_esc/>
</#if>
</#function>

Expand Down Expand Up @@ -137,9 +137,11 @@
.integerType(${writeRightValue(internalField.defaultValue, internalField.functionByType)})
<#elseif internalField.functionByType == "decimalValue">
.decimalType(${writeRightValue(internalField.defaultValue, internalField.functionByType)})
</#if>
<#elseif internalField.functionByType == "stringValue" >
.stringType(${writeRightValue(internalField.defaultValue, internalField.functionByType)})
<#else >
.${internalField.functionByType}(${writeRightValue(internalField.defaultValue, internalField.functionByType)})
</#if>
.${internalField.functionByType}(${writeRightValue(internalField.defaultValue, internalField.functionByType)})
</#if>
</#if>
</#if>
Expand Down

0 comments on commit b1b0b24

Please sign in to comment.