Skip to content

Commit

Permalink
Improved build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Jan 7, 2022
1 parent d4e0276 commit 8429b03
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion pmml-h2o-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@
<finalName>${project.artifactId}-executable-${project.version}</finalName>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jpmml.h2o.example.Main</mainClass>
<manifestEntries>
<Main-Class>org.jpmml.h2o.example.Main</Main-Class>
<Implementation-Title>JPMML-H2O command-line application</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
</manifestEntries>
</transformer>
</transformers>
</configuration>
Expand Down
7 changes: 4 additions & 3 deletions pmml-h2o/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@
<version>3.2.0</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Title>JPMML-H2O library</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
</manifestEntries>
</archive>
</configuration>
</plugin>
Expand Down

0 comments on commit 8429b03

Please sign in to comment.