-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
104 lines (98 loc) · 3.64 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cc.mallet.topic</groupId>
<artifactId>gui</artifactId>
<packaging>jar</packaging>
<version>0.1-SNAPSHOT</version>
<name>Mallet Topic-Modeling-Tool GUI</name>
<url>https://code.google.com/p/topic-modeling-tool/</url>
<properties>
<maven-assembly-plugin.version>2.4</maven-assembly-plugin.version>
<output.jar.name>TopicModelingTool-FR</output.jar.name>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>cc.mallet</groupId>
<artifactId>mallet</artifactId>
<version>2.0.7</version>
</dependency>
<!-- TODO: Logging -->
</dependencies>
<build>
<directory>target</directory>
<outputDirectory>target/classes</outputDirectory>
<finalName>${project.artifactId}-${project.version}</finalName>
<testOutputDirectory>target/test-classes</testOutputDirectory>
<!-- setting the source directory to a none maven default might cause problems -->
<sourceDirectory>src/main/java</sourceDirectory>
<scriptSourceDirectory>src</scriptSourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<!-- include images for the GUI and CSS file for HTML generation in the
class path -->
<includes>
<include>**/*.png</include>
<include>**/*.jpg</include>
<include>**/*.gif</include>
<include>**/*.css</include>
</includes>
<!-- <excludes> <exclude>log4.xml</exclude> </excludes> -->
</resource>
<!-- <resource> <directory>src/main/resources</directory> <includes> <include>**/*.xml
</include> </includes> </resource> <resource> <directory>src/main/test</directory>
<excludes> <exclude>log4.xml</exclude> </excludes> </resource> -->
</resources>
<!-- <testResources> <testResource> <directory>src/test/resources</directory>
</testResource> </testResources> -->
<plugins>
<plugin> <!-- cfr http://www.mkyong.com/maven/how-to-create-a-jar-file-with-maven/ -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<!-- avoid the assembly id in the output name default -->
<appendAssemblyId>false</appendAssemblyId>
<!-- set custom jar output names as defined by 'output.jar.name' including the version number -->
<finalName>${output.jar.name}</finalName>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>cc.mallet.topics.gui.TopicModelingTool</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<!-- this is used for inheritance merges -->
<phase>package</phase>
<!-- append to the packaging phase. -->
<goals>
<goal>single</goal>
<!-- goals == mojos -->
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>