generated from ijtools/imagej-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
150 lines (128 loc) · 5.1 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<?xml version="1.0" encoding="ISO-8859-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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.scijava</groupId>
<artifactId>pom-scijava</artifactId>
<version>1.126</version>
<relativePath />
</parent>
<!-- The identification of the plugin -->
<!-- Feel free to update to what you want, but remember that -->
<!-- ImageJ plugins require an underscore '_' in the name... -->
<groupId>net.ijtools</groupId>
<artifactId>ij_Geometry</artifactId>
<version>0.2.1-SNAPSHOT</version>
<name>plugins/ij_Geometry.jar</name>
<description>Geometry library for ImageJ</description>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<!-- When writing ImageJ/Fiji plugins, it is necessary to add a dependency
to ImageJ jar -->
<dependency>
<groupId>net.imagej</groupId>
<artifactId>ij</artifactId>
<version>${imagej1.version}</version>
</dependency>
<!-- Add a dependency to JUnit for unit tests -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<!-- Jama is used for matrix operations (SVD)-->
<!-- e. g. in ellipsoid reduction, or PCA computation -->
<!-- https://mvnrepository.com/artifact/gov.nist.math/jama -->
<dependency>
<groupId>gov.nist.math</groupId>
<artifactId>jama</artifactId>
<version>1.0.3</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
</resource>
<resource>
<directory>${project.build.sourceDirectory}</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>${basedir}/src/test/resources</directory>
</testResource>
<testResource>
<directory>${project.build.testSourceDirectory}</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Configure the jar output directory -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<!-- Place the jar in "plugins" directory of current workspace -->
<outputDirectory>${basedir}/target</outputDirectory>
<!-- Place the jar in "plugins" directory of local ImageJ installation
(need to be adapted depending on local configuration...) -->
<!-- <outputDirectory>C:/Program Files (x86)/ImageJ/plugins</outputDirectory> -->
</configuration>
</plugin>
<!-- plugin for generating the javadoc.
Output is located in "target/site/apidocs" -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<outputDirectory>${project.build.directory}/apidocs</outputDirectory>
<encoding>ISO-8859-1</encoding>
</configuration>
<executions>
<execution>
<goals>
<goal>javadoc</goal>
</goals>
<phase>site</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<developers>
<developer>
<id>dlegland</id>
<name>David Legland</name>
<email>[email protected]</email>
<organization>INRAE</organization>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
</developer>
</developers>
<repositories>
<!-- NB: for project parent -->
<repository>
<id>imagej.public</id>
<url>http://maven.imagej.net/content/groups/public</url>
</repository>
</repositories>
</project>