pom.xml 9.31 KB
Newer Older
Johannes Schindelin's avatar
Johannes Schindelin committed
1 2 3 4 5 6 7 8 9 10
<?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>org.scijava</groupId>
		<artifactId>pom-scijava</artifactId>
11 12 13
		<version>3.1</version>
		<relativePath/>
        </parent>
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
14

15
<!-- 
16
	<properties>
17
		<imagej.app.directory>/home/foxel/Desktop/Fiji.app</imagej.app.directory>
18
	</properties>
19
 -->	
20

Andrey Filippov's avatar
Andrey Filippov committed
21
	<groupId>com.elphel</groupId>
22 23
 	<artifactId>imagej-elphel</artifactId>
<!-- 	<artifactId>Aberration_Calibration</artifactId> -->
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
24

25
	<version>1.0.0-SNAPSHOT</version>
Johannes Schindelin's avatar
Johannes Schindelin committed
26

Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
27
        <name>plugins/imagej_elphel.jar</name>
28
<!-- 	<name>plugins/Aberration_Calibration.jar</name> -->
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
29
        <description>A Maven project implementing imagej-elphel plugin</description>
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
30

Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
31 32 33 34 35 36 37 38 39 40 41
        <dependencies>
            <dependency>
                <groupId>net.imagej</groupId>
                <artifactId>ij</artifactId>
                <version>1.52e</version>
            </dependency>
            <dependency>
                <groupId>org.jcuda</groupId>
                <artifactId>jcuda</artifactId>
                <version>0.9.2</version>
            </dependency>
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
42 43 44 45 46 47 48 49 50 51
            <!--
            	As of 2018/09/11 TF for GPU on Maven supports CUDA 9.0 (vs latest 9.2)
            	Workaround:
            	  ~$ sudo dpkg -i cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb
            	  ~$ sudo apt install cuda-9.0
            	  # install or link back to cuda-9.2:
            	  ~$ sudo rm /usr/local/cuda; sudo ln -sf /usr/local/cuda-9.2 /usr/local/cuda
            	  Then in Eclipse's Run configurations... add an environment variable:
            	  LD_LIBRARY_PATH = /usr/local/cuda-9.0/lib64
            -->
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
52 53
            <dependency>
                <groupId>org.tensorflow</groupId>
54 55 56 57 58 59
                <artifactId>libtensorflow</artifactId>
                <version>1.10.0</version>
            </dependency>
            <dependency>
                <groupId>org.tensorflow</groupId>
                <artifactId>libtensorflow_jni_gpu</artifactId>
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
60 61
                <version>1.10.0</version>
            </dependency>
62 63 64 65 66
			<dependency>
			    <groupId>org.apache.ant</groupId>
			    <artifactId>ant-compress</artifactId>
			    <version>1.5</version>
			</dependency>
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
67 68 69 70 71 72 73 74 75 76 77
            <dependency>
                <groupId>commons-configuration</groupId>
                <artifactId>commons-configuration</artifactId>
                <version>1.8</version>
            </dependency>
            <!-- https://mvnrepository.com/artifact/gov.nist.math/jama -->
            <dependency>
                <groupId>gov.nist.math</groupId>
                <artifactId>jama</artifactId>
                <version>1.0.3</version>
            </dependency>
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
			<!--
			<dependency>
				<groupId>jama</groupId>
				<artifactId>jama</artifactId>
				<version>1.0.3</version>
			</dependency>
			-->
			<dependency>
				<groupId>commons-lang</groupId>
				<artifactId>commons-lang</artifactId>
				<version>2.6</version>
			</dependency>
			<dependency>
				<groupId>ome</groupId>
				<artifactId>loci_tools</artifactId>
				<version>6.1.0</version>
			</dependency>
			<dependency>
			  <groupId>com.drewnoakes</groupId>
			  <artifactId>metadata-extractor</artifactId>
			  <version>2.11.0</version>
			  <type>java-source</type>
			</dependency>
			
		</dependencies>
Johannes Schindelin's avatar
Johannes Schindelin committed
103

104
	<build>
105
		<resources>
106 107 108
			<resource>
				<directory>${basedir}/src/main/resources</directory>
			</resource>
109
			<resource>
110
				<directory>${project.build.sourceDirectory}</directory>
111
			</resource>
112 113 114 115 116 117 118 119 120 121 122
<!-- trying to copy deep classes to top for the imageJ to see as plugins-->
<!-- 
		    <resource>
		      <filtering>true</filtering>
		      <directory>${basedir}/target/classes/com/elphel/imagej/jp4</directory>
		      <targetPath>${basedir}/target/classes</targetPath>
		      <includes>
		        <include>JP46_Reader_camera.class</include>
		      </includes>
		    </resource>
 -->			
123
		</resources>
124
		<testResources>
125 126 127
			<testResource>
				<directory>${basedir}/src/test/resources</directory>
			</testResource>
128 129 130 131
			<testResource>
				<directory>${project.build.testSourceDirectory}</directory>
			</testResource>
		</testResources>
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
		<pluginManagement>
		    <plugins>
            <plugin>
                <groupId>org.eclipse.m2e</groupId>
                <artifactId>lifecycle-mapping</artifactId>
                <version>1.0.0</version>
                <configuration>
                    <lifecycleMappingMetadata>
                        <pluginExecutions>
                            <pluginExecution>
                                <pluginExecutionFilter>
                                    <groupId>org.codehaus.mojo</groupId>
                                    <artifactId>aspectj-maven-plugin</artifactId>
                                    <versionRange>[1.0,)</versionRange>
                                    <goals>
                                        <goal>test-compile</goal>
                                        <goal>compile</goal>
                                    </goals>
                                </pluginExecutionFilter>
                                <action>
                                    <execute />
                                </action>
                            </pluginExecution>
Andrey Filippov's avatar
Andrey Filippov committed
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
                            <pluginExecution>
                            	<pluginExecutionFilter>
                            		<groupId>
                            			org.apache.maven.plugins
                            		</groupId>
                            		<artifactId>
                            			maven-plugin-plugin
                            		</artifactId>
                            		<versionRange>[3.3,)</versionRange>
                            		<goals>
                            			<goal>descriptor</goal>
                            		</goals>
                            	</pluginExecutionFilter>
                            	<action>
                            		<ignore></ignore>
                            	</action>
                            </pluginExecution>
172 173 174 175
                        </pluginExecutions>
                    </lifecycleMappingMetadata>
                </configuration>
            </plugin>
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
176

177
			   <plugin>
Andrey Filippov's avatar
Andrey Filippov committed
178 179
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
180
                                <version>1.3.2</version><!--$NO-MVN-MAN-VER$-->
Andrey Filippov's avatar
Andrey Filippov committed
181 182
				<executions>
					<execution>
183
                                                <phase>package</phase>
Andrey Filippov's avatar
Andrey Filippov committed
184 185 186 187 188 189
						<goals>
							<goal>java</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
190 191
<!-- 					<mainClass>Aberration_Calibration</mainClass>  -->
					<mainClass>Eyesis_Correction</mainClass>
Andrey Filippov's avatar
Andrey Filippov committed
192 193
				</configuration>
			</plugin>
194
 			   <plugin>
195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>buildnumber-maven-plugin</artifactId>
				<version>1.3</version>
				<executions>
                                    <execution>
                                    <phase>validate</phase>
                                    <goals>
                                        <goal>create</goal>
                                    </goals>
                                    </execution>
				</executions>
				<configuration>
                                    <doCheck>true</doCheck>
                                    <doUpdate>true</doUpdate>
                                    <format>Build {0,date,yyyy-MM-dd} {0,time,HH:MM:SS} on host {1}</format>
                                    <items>
                                        <item>timestamp</item>
212
<!--                                         <item>foxel-MRHM7AP</item>  -->
213 214 215
                                    </items>
				</configuration>
                        </plugin>
216 217
		    </plugins>
        </pluginManagement>
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
218

219 220
	</build>

221 222
	<developers>
		<developer>
Andrey Filippov's avatar
Andrey Filippov committed
223 224 225 226 227 228
			<id>AndreyFilippov</id>
			<name>Andrey Filippov</name>
			<email>andrey@elphel.com</email>
			<url>http://blog.elphel.com/andrey</url>
			<organization>Elphel, Inc.</organization>
			<organizationUrl>http://www3.elphel.com</organizationUrl>
229 230 231 232 233 234 235 236
			<roles>
				<role>architect</role>
				<role>developer</role>
			</roles>
			<timezone>-6</timezone>
		</developer>
	</developers>

237
	<repositories>
238
		<!-- NB: for project parent -->
239
		<repository>
240 241
			<id>imagej.public</id>
			<url>http://maven.imagej.net/content/groups/public</url>
242
		</repository>
Andrey Filippov's avatar
Andrey Filippov committed
243 244 245 246
		<repository>
			<id>elphel.imagej-elphel</id>
			<url>https://github.com/Elphel/imagej-elphel</url>
		</repository>
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
247 248 249 250
		<repository>
			<id>other</id>
			<url>http://mirror.elphel.com/maven-dependencies</url>
		</repository>
251 252
	</repositories>

253
	<scm>
Andrey Filippov's avatar
Andrey Filippov committed
254 255
		<connection>scm:git:git://git.elphel.com/Elphel/imagej-elphel</connection>
		<developerConnection>scm:git:https://git.elphel.com/Elphel/imagej-elphel</developerConnection>
256
		<tag>HEAD</tag>
Andrey Filippov's avatar
Andrey Filippov committed
257
		<url>https://git.elphel.com/Elphel/imagej-elphel</url>
258 259
	</scm>

Andrey Filippov's avatar
Andrey Filippov committed
260
	<packaging>maven-plugin</packaging>
261 262 263 264 265 266 267 268 269 270 271 272
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                 <version>2.14</version>
                <configuration>
                    <configLocation>config/sun_checks.xml</configLocation>
                </configuration>
            </plugin>
        </plugins>
    </reporting>
Johannes Schindelin's avatar
Johannes Schindelin committed
273
</project>