-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
107 lines (101 loc) · 2.99 KB
/
Copy pathpom.xml
File metadata and controls
107 lines (101 loc) · 2.99 KB
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
105
106
107
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<!--parent>
<groupId>ome</groupId>
<artifactId>pom-omero-client</artifactId>
<version>5.5.0-SNAPSHOT</version>
</parent-->
<groupId>edu.umassmed.omega</groupId>
<artifactId>omero.commons</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>omega.omero.commons</name>
<description>TBD</description>
<url>TBD</url>
<repositories>
<repository>
<id>ome.maven</id>
<url>http://artifacts.openmicroscopy.org/artifactory/maven/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<version>4.11</version>
</dependency>
<dependency>
<groupId>org.openmicroscopy</groupId>
<artifactId>omero-gateway</artifactId>
<version>5.6.7</version>
</dependency>
<dependency>
<groupId>edu.umassmed.omega</groupId>
<artifactId>commons</artifactId>
<version>0.0.1-SNAPSHOT</version>
<exclusions>
<exclusion>
<artifactId>jfreechart</artifactId>
<groupId>jfreechart</groupId>
</exclusion>
<exclusion>
<artifactId>jcommon</artifactId>
<groupId>jcommon</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<finalName>${project.name}-${project.version}</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<!-- DO NOT include log4j.properties file in your Jar -->
<!-- <excludes> -->
<!-- <exclude>**/log4j.properties</exclude> -->
<!-- </excludes> -->
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>dependency-jars/</classpathPrefix>
<!-- Jar file entry point -->
<!-- <mainClass>com.mkyong.core.utils.App</mainClass> -->
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<!-- exclude junit, we need runtime dependency only -->
<outputDirectory>${project.build.directory}/dependency-jars/</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>