-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
140 lines (124 loc) · 4.98 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
<?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>Scale_Bar_3D</artifactId>
<version>1.0</version>
<name>Scale_Bar_3D</name>
<description>Draw a 3D scale bar into 3D image</description>
<!-- Global settings for the project -->
<properties>
<!-- Use a long-term support version for source -->
<maven.compiler.source>1.17</maven.compiler.source>
<!-- Use 1.8 for target, to avoid compatibility issues-->
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<!-- Specifies the libraries this project depends on -->
<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>
</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>david.legland@inrae.fr</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>