Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vasgat committed Jun 3, 2019
1 parent 2e8262a commit cd0bb6b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 19 deletions.
47 changes: 28 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,31 @@
<artifactId>easIE</artifactId>
<version>0.4</version>
<packaging>jar</packaging>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>easIE</finalName>
<appendAssemblyId>false</appendAssemblyId>
<archive>
<manifest>
<mainClass>certh.iti.mklab.easie.Main</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>certh.iti.mklab.easie.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
Expand All @@ -46,7 +49,7 @@
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20140107</version>
<version>20180813</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down Expand Up @@ -112,4 +115,10 @@
</dependency>

</dependencies>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
</project>
2 changes: 2 additions & 0 deletions src/main/java/certh/iti/mklab/easie/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public static void main(String[] args) throws URISyntaxException {

if (config.store != null) {
dh.store(config.store, config.source_name);
System.out.println("EXTRACTION TASK COMPLETED");
} else {
JSONArray array = new JSONArray(dh.exportJson());
System.out.println(array.toString(4));
Expand Down Expand Up @@ -86,6 +87,7 @@ public static void main(String[] args) throws URISyntaxException {

if (config.store != null) {
dh.store(config.store, config.source_name);
System.out.println("EXTRACTION TASK COMPLETED");
} else {
JSONArray array = new JSONArray(dh.exportJson());
System.out.println(array.toString(4));
Expand Down

0 comments on commit cd0bb6b

Please sign in to comment.