pom.xml 3.06 KB
Newer Older
1
<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/xsd/maven-4.0.0.xsd">
2
3
    <modelVersion>4.0.0</modelVersion>
    <artifactId>ow2-mrl-data</artifactId>
4
    <version>0.0.6</version>
5
    <packaging>jar</packaging>
6
7
    <name>MRL data gathering</name>
    <description>MRL data gathering</description>
8

9
10
11
    <parent>
        <groupId>org.ow2.mrl</groupId>
        <artifactId>mrl-parent</artifactId>
12
        <version>0.0.6</version>
13
    </parent>
Antoine Mottier's avatar
Antoine Mottier committed
14

15
    <dependencies>
16
17
18
19
20
21
22
23
24
25
26
        <!-- For logging -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
        </dependency>
        <!-- Using logback as backend for slf4j -->
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
        </dependency>

27
28
29
30
31
32
33
34
35
36
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-api</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-engine</artifactId>
            <scope>test</scope>
        </dependency>
37

38
39
40
41
42
        <dependency>
            <groupId>com.gibello</groupId>
            <artifactId>icar-json</artifactId>
        </dependency>
    </dependencies>
43

44
45
46
47
48
49
50
51
52
53
54
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
55
                        <phase>package</phase>
56
57
58
59
60
                        <goals>
                            <goal>copy-dependencies</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
61
62
                            <!-- To exclude test dependency from the copy to lib folder -->
                            <includeScope>compile</includeScope>
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <!-- Build an executable JAR -->
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifest>
                            <addClasspath>true</addClasspath>
                            <classpathPrefix>lib/</classpathPrefix>
                            <mainClass>org.ow2.mrl.data.collect.MainCollector</mainClass>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
    </build>
83
84

</project>