Skip to content

Commit

Permalink
issue #91: Return version of the API
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed Mar 16, 2022
1 parent 67bf970 commit fb2b483
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
12 changes: 10 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>de.gwdg.metadataqa</groupId>
<artifactId>metadata-qa-api</artifactId>
<packaging>jar</packaging>
<version>0.8</version>
<version>0.9.1-SNAPSHOT</version>
<name>Metadata Quality Assurance Framework API</name>
<description>
A metadata quality assurance framework. It checks some metrics of
Expand Down Expand Up @@ -225,8 +225,16 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.2</version>
<version>3.2.2</version>
<configuration>
<archive>
<manifest>
<addDefaultEntries>true</addDefaultEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addBuildEnvironmentEntries>true</addBuildEnvironmentEntries>
</manifest>
</archive>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<testSource>${maven.compiler.source}</testSource>
Expand Down
7 changes: 7 additions & 0 deletions src/main/java/de/gwdg/metadataqa/api/cli/Version.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package de.gwdg.metadataqa.api.cli;

public class Version {
public static void main(String[] args) {
System.err.println(Version.class.getPackage().getImplementationVersion());
}
}

0 comments on commit fb2b483

Please sign in to comment.