Skip to content

Commit d4db842

Browse files
committed
[Maven Integration] Create pom.xml and move resources.
1 parent ede699c commit d4db842

File tree

2 files changed

+29
-10
lines changed

2 files changed

+29
-10
lines changed

swan_core/pom.xml

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
<groupId>de.fraunhofer.iem</groupId>
88
<artifactId>swan_core</artifactId>
99
<packaging>jar</packaging>
10-
<version>1.1.0-SNAPSHOT</version>
11-
10+
<version>1.0.0-SNAPSHOT</version>
11+
1212
<name>SWAN Weakness Detector</name>
1313

1414
<dependencies>
15-
<!--
1615
<dependency>
1716
<groupId>ca.mcgill.sable</groupId>
1817
<artifactId>soot</artifactId>
@@ -23,16 +22,11 @@
2322
<artifactId>weka-stable</artifactId>
2423
<version>3.6.9</version>
2524
</dependency>
26-
<dependency>
27-
<groupId>de.tud.sse</groupId>
28-
<artifactId>soot-infoflow</artifactId>
29-
<version>2.7.1</version>
30-
</dependency>
3125
<dependency>
3226
<groupId>com.googlecode.json-simple</groupId>
3327
<artifactId>json-simple</artifactId>
3428
<version>1.1.1</version>
35-
</dependency> -->
29+
</dependency>
3630
</dependencies>
3731

3832
<repositories>
@@ -62,7 +56,6 @@
6256
<configuration>
6357
<source>1.8</source>
6458
<target>1.8</target>
65-
<!-- <source>1.6</source> <target>1.6</target> -->
6659
</configuration>
6760
</plugin>
6861
<plugin>
@@ -76,6 +69,32 @@
7669
</filesets>
7770
</configuration>
7871
</plugin>
72+
73+
<!-- This creates a runnable JAR that can be used from the command line. -->
74+
<plugin>
75+
<groupId>org.apache.maven.plugins</groupId>
76+
<artifactId>maven-assembly-plugin</artifactId>
77+
<executions>
78+
<execution>
79+
<phase>package</phase>
80+
<goals>
81+
<goal>single</goal>
82+
</goals>
83+
<configuration>
84+
<archive>
85+
<manifest>
86+
<mainClass>
87+
de.fraunhofer.iem.swan.Main
88+
</mainClass>
89+
</manifest>
90+
</archive>
91+
<descriptorRefs>
92+
<descriptorRef>jar-with-dependencies</descriptorRef>
93+
</descriptorRefs>
94+
</configuration>
95+
</execution>
96+
</executions>
97+
</plugin>
7998
</plugins>
8099
</build>
81100

File renamed without changes.

0 commit comments

Comments
 (0)