|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + |
| 5 | + <parent> |
| 6 | + <groupId>org.scijava</groupId> |
| 7 | + <artifactId>pom-scijava</artifactId> |
| 8 | + <version>31.1.0</version> |
| 9 | + <relativePath /> |
| 10 | + </parent> |
| 11 | + |
| 12 | + <groupId>net.imagej</groupId> |
| 13 | + <artifactId>ij</artifactId> |
| 14 | + <version>1.x-SNAPSHOT</version> |
| 15 | + |
| 16 | + <name>ImageJ</name> |
| 17 | + <description>ImageJ is an open source Java image processing program inspired by NIH Image for the Macintosh.</description> |
| 18 | + <url>https://imagej.nih.gov/ij</url> |
| 19 | + <inceptionYear>1997</inceptionYear> |
| 20 | + <organization> |
| 21 | + <name>NIH</name> |
| 22 | + <url>https://nih.gov/</url> |
| 23 | + </organization> |
| 24 | + <licenses> |
| 25 | + <license> |
| 26 | + <name>Public domain</name> |
| 27 | + <url>https://imagej.nih.gov/ij/disclaimer.html</url> |
| 28 | + <distribution>repo</distribution> |
| 29 | + </license> |
| 30 | + </licenses> |
| 31 | + |
| 32 | + <developers> |
| 33 | + <developer> |
| 34 | + <id>rasband</id> |
| 35 | + <name>Wayne Rasband</name> |
| 36 | + <url>https://imagej.net/people/rasband</url> |
| 37 | + <roles> |
| 38 | + <role>founder</role> |
| 39 | + <role>lead</role> |
| 40 | + <role>developer</role> |
| 41 | + <role>debugger</role> |
| 42 | + <role>reviewer</role> |
| 43 | + <role>support</role> |
| 44 | + <role>maintainer</role> |
| 45 | + </roles> |
| 46 | + </developer> |
| 47 | + </developers> |
| 48 | + <contributors> |
| 49 | + <contributor><name>See release notes</name></contributor> |
| 50 | + </contributors> |
| 51 | + |
| 52 | + <mailingLists> |
| 53 | + <mailingList> |
| 54 | + <name>ImageJ</name> |
| 55 | + <subscribe>https://imagej.nih.gov/ij/list.html</subscribe> |
| 56 | + <unsubscribe>https://imagej.nih.gov/ij/list.html</unsubscribe> |
| 57 | + |
| 58 | + <archive>https://list.nih.gov/archives/imagej.html</archive> |
| 59 | + </mailingList> |
| 60 | + <mailingList> |
| 61 | + <name>Image.sc Forum</name> |
| 62 | + <archive>https://forum.image.sc/tag/imagej</archive> |
| 63 | + </mailingList> |
| 64 | + </mailingLists> |
| 65 | + |
| 66 | + <scm> |
| 67 | + <connection>scm:git:https://github.com/imagej/ImageJ</connection> |
| 68 | + < developerConnection>scm:git: [email protected]:imagej/ImageJ</ developerConnection> |
| 69 | + <tag>HEAD</tag> |
| 70 | + <url>https://github.com/imagej/ImageJ</url> |
| 71 | + </scm> |
| 72 | + <issueManagement> |
| 73 | + <system>GitHub Issues</system> |
| 74 | + <url>https://github.com/imagej/ImageJ/issues</url> |
| 75 | + </issueManagement> |
| 76 | + <ciManagement> |
| 77 | + <system>GitHub Actions</system> |
| 78 | + <url>https://github.com/imagej/ImageJ/actions</url> |
| 79 | + </ciManagement> |
| 80 | + |
| 81 | + <properties> |
| 82 | + <package-name>ij</package-name> |
| 83 | + <main-class>ij.ImageJ</main-class> |
| 84 | + <license.licenseName>N/A</license.licenseName> |
| 85 | + <license.copyrightOwners>N/A</license.copyrightOwners> |
| 86 | + |
| 87 | + <scijava.jvm.version>6</scijava.jvm.version> |
| 88 | + <scijava.jvm.build.version>[9,)</scijava.jvm.build.version> |
| 89 | + <javac.path>${java.home}/../lib/tools.jar</javac.path> |
| 90 | + |
| 91 | + <!-- HACK: Work around usage of Java-7-specific JList code. --> |
| 92 | + <maven.compiler.source>9</maven.compiler.source> |
| 93 | + <maven.compiler.target>6</maven.compiler.target> |
| 94 | + <maven.compiler.release></maven.compiler.release> |
| 95 | + |
| 96 | + <!-- HACK: Work around 'String index out of bounds' javadoc error. --> |
| 97 | + <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version> |
| 98 | + |
| 99 | + <!-- TEMP: Until unit tests errors are all resolved. --> |
| 100 | + <maven.test.skip>true</maven.test.skip> |
| 101 | + </properties> |
| 102 | + |
| 103 | + <dependencies> |
| 104 | + <dependency> |
| 105 | + <groupId>junit</groupId> |
| 106 | + <artifactId>junit</artifactId> |
| 107 | + <scope>test</scope> |
| 108 | + </dependency> |
| 109 | + </dependencies> |
| 110 | + |
| 111 | + <build> |
| 112 | + <sourceDirectory>${project.basedir}</sourceDirectory> |
| 113 | + <testSourceDirectory>${project.basedir}/tests</testSourceDirectory> |
| 114 | + <resources> |
| 115 | + <resource> |
| 116 | + <directory>${project.basedir}</directory> |
| 117 | + <includes> |
| 118 | + <include>IJ_Props.txt</include> |
| 119 | + </includes> |
| 120 | + </resource> |
| 121 | + <resource> |
| 122 | + <directory>${project.basedir}/images</directory> |
| 123 | + </resource> |
| 124 | + <resource> |
| 125 | + <directory>${project.basedir}/macros</directory> |
| 126 | + <targetPath>macros</targetPath> |
| 127 | + </resource> |
| 128 | + <resource> |
| 129 | + <directory>${project.basedir}/plugins</directory> |
| 130 | + <targetPath>ij/plugin</targetPath> |
| 131 | + <includes> |
| 132 | + <include>**/*.class</include> |
| 133 | + </includes> |
| 134 | + </resource> |
| 135 | + </resources> |
| 136 | + <plugins> |
| 137 | + <plugin> |
| 138 | + <artifactId>maven-compiler-plugin</artifactId> |
| 139 | + <executions> |
| 140 | + <execution> |
| 141 | + <id>default-compile</id> |
| 142 | + <configuration> |
| 143 | + <!-- compile everything to ensure module-info contains right entries --> |
| 144 | + <!-- required when JAVA_HOME is JDK 8 or below --> |
| 145 | + <jdkToolchain> |
| 146 | + <version>9</version> |
| 147 | + </jdkToolchain> |
| 148 | + <excludes> |
| 149 | + <exclude>tests/**</exclude> |
| 150 | + </excludes> |
| 151 | + <release>9</release> |
| 152 | + </configuration> |
| 153 | + </execution> |
| 154 | + <execution> |
| 155 | + <id>complete-recompile</id> |
| 156 | + <goals> |
| 157 | + <goal>compile</goal> |
| 158 | + </goals> |
| 159 | + <!-- recompile everything for target VM except the module-info.java --> |
| 160 | + <configuration> |
| 161 | + <excludes> |
| 162 | + <exclude>**/module-info.java</exclude> |
| 163 | + <exclude>tests/**</exclude> |
| 164 | + </excludes> |
| 165 | + <!-- |
| 166 | + Force recompilation. |
| 167 | + See https://issues.apache.org/jira/browse/MCOMPILER-209 |
| 168 | + --> |
| 169 | + <useIncrementalCompilation>true</useIncrementalCompilation> |
| 170 | + </configuration> |
| 171 | + </execution> |
| 172 | + </executions> |
| 173 | + <!-- defaults for compile and testCompile --> |
| 174 | + <configuration> |
| 175 | + <!-- jdkToolchain required when JAVA_HOME is JDK 9 or above --> |
| 176 | + <jdkToolchain> |
| 177 | + <version>[1.6,8)</version> |
| 178 | + </jdkToolchain> |
| 179 | + <source>1.6</source> |
| 180 | + <target>1.6</target> |
| 181 | + </configuration> |
| 182 | + </plugin> |
| 183 | + <plugin> |
| 184 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 185 | + <configuration> |
| 186 | + <!-- Avoid failing due to javadoc errors --> |
| 187 | + <doclint>none</doclint> |
| 188 | + <!-- |
| 189 | + Required to build javadoc with a module-info.java present. |
| 190 | + See also https://bugs.openjdk.java.net/browse/JDK-8212233 |
| 191 | + --> |
| 192 | + <source>9</source> |
| 193 | + <links> |
| 194 | + <link>https://imagej.nih.gov/ij/developer/api/</link> |
| 195 | + </links> |
| 196 | + <sourceFileIncludes>ij/**/*.java</sourceFileIncludes> |
| 197 | + </configuration> |
| 198 | + </plugin> |
| 199 | + <plugin> |
| 200 | + <artifactId>maven-source-plugin</artifactId> |
| 201 | + <configuration> |
| 202 | + <includes>ij/**</includes> |
| 203 | + </configuration> |
| 204 | + </plugin> |
| 205 | + </plugins> |
| 206 | + </build> |
| 207 | + |
| 208 | + <profiles> |
| 209 | + <profile> |
| 210 | + <id>javac</id> |
| 211 | + <activation> |
| 212 | + <file> |
| 213 | + <!-- NB: Custom properties do not work here, so we hardcode. --> |
| 214 | + <exists>${java.home}/../lib/tools.jar</exists> |
| 215 | + </file> |
| 216 | + </activation> |
| 217 | + <dependencies> |
| 218 | + <dependency> |
| 219 | + <groupId>com.sun</groupId> |
| 220 | + <artifactId>tools</artifactId> |
| 221 | + <version>1.4.2</version> |
| 222 | + <scope>system</scope> |
| 223 | + <systemPath>${javac.path}</systemPath> |
| 224 | + </dependency> |
| 225 | + </dependencies> |
| 226 | + </profile> |
| 227 | + </profiles> |
| 228 | +</project> |
0 commit comments