source: trunk/projects/curve-fitter/pom.xml @ 7685

Revision 7685, 4.6 KB checked in by aivar, 9 years ago (diff)

I had a slim-curve-1.0-SNAPSHOT.jar in my local repository, Hudson didn't, so failed. I need a dependency on slim-curve in order for the maven-nar-plugin to be able to unpack all the native library nars.

I changed this to a dependency on .nar.

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5    http://maven.apache.org/xsd/maven-v4.0.0.xsd">
6  <modelVersion>4.0.0</modelVersion>
7
8  <parent>
9    <groupId>loci</groupId>
10    <artifactId>loci-base</artifactId>
11    <version>1.0-SNAPSHOT</version>
12  </parent>
13
14  <artifactId>curve-fitter</artifactId>
15
16  <name>Curve Fitter library</name>
17  <description>A library for fitting single- or multi-component exponential decay curves to sample data.</description>
18  <inceptionYear>2010</inceptionYear>
19
20  <licenses>
21    <license>
22      <name>BSD</name>
23      <url>http://dev.loci.wisc.edu/svn/java/trunk/projects/curve-fitter/LICENSE.txt</url>
24      <distribution>repo</distribution>
25    </license>
26  </licenses>
27
28  <dependencies>
29    <dependency>
30      <groupId>${imagej.groupId}</groupId>
31      <artifactId>native-library-util</artifactId>
32      <version>${imagej.version}</version>
33    </dependency>
34    <!-- TODO: define a real POM for akutan project
35      See: http://sourceforge.net/projects/akutan/ -->
36    <dependency>
37      <groupId>akutan</groupId>
38      <artifactId>akutan</artifactId>
39      <version>1.0</version>
40    </dependency>
41    <dependency>
42      <groupId>colt</groupId>
43      <artifactId>colt</artifactId>
44      <version>1.2.0</version>
45    </dependency>
46    <dependency>
47      <groupId>jaolho.data</groupId>
48      <artifactId>lma</artifactId>
49      <version>1.3</version>
50    </dependency>
51    <dependency>
52      <groupId>net.java.dev.jna</groupId>
53      <artifactId>jna</artifactId>
54      <version>3.2.2</version>
55    </dependency>
56    <dependency>
57      <groupId>loci</groupId>
58      <artifactId>slim-curve</artifactId>
59      <version>1.0-SNAPSHOT</version>
60      <type>nar</type>
61      <!-- classifier>x86_64-MacOSX-gpp-jni</classifier -->
62      <!-- dont understandt this part anyway scope>test</scope -->
63    </dependency>
64  </dependencies>
65
66  <build>
67    <plugins>
68   
69      <plugin>
70        <artifactId>maven-nar-plugin</artifactId>
71        <extensions>true</extensions> <!-- what does this do? -->
72        <configuration>
73          <ignore>true</ignore>
74          <classifiers>
75            <classifier>x86-Windows-msvc-shared</classifier>
76            <classifier>x86_64-MacOSX-gpp-shared</classifier>
77            <classifier>i386-Linux-g++-shared</classifier>
78          </classifiers>
79          <libraries>
80            <library>
81              <type>shared</type>
82            </library>
83          </libraries>
84        </configuration>
85        <executions>
86          <execution>
87            <goals>
88              <goal>nar-download</goal>
89              <goal>nar-unpack</goal>
90              <goal>nar-assembly</goal>
91            </goals>
92          </execution>
93        </executions>
94      </plugin>
95      <plugin>
96        <artifactId>maven-assembly-plugin</artifactId>
97        <configuration>
98          <descriptors>
99            <descriptor>
100              assembly-descriptor.xml
101            </descriptor>
102          </descriptors>
103        </configuration>
104        <executions>
105          <execution>
106            <id>make-assembly</id> <!-- this is used for inheritance merges -->
107            <phase>package</phase> <!-- bind to the packaging phase -->
108            <goals>
109              <goal>single</goal>
110            </goals>
111          </execution>
112        </executions>
113      </plugin>
114   
115
116      <!-- THIS WAS THE ONLY PREVIOUS PLUGIN plugin>
117        <artifactId>maven-jar-plugin</artifactId>
118        <configuration>
119          <archive>
120            <manifest>
121              <packageName>loci.curvefitter</packageName>
122            </manifest>
123          </archive>
124        </configuration>
125      </plugin -->
126    </plugins>
127  </build>
128
129  <developers>
130    <developer>
131      <id>aivar</id>
132      <name>Aivar Grislis</name>
133      <email>grislis@wisc.edu</email>
134      <url>http://loci.wisc.edu/people/aivar-grislis</url>
135      <organization>UW-Madison LOCI</organization>
136      <organizationUrl>http://loci.wisc.edu/</organizationUrl>
137      <roles>
138        <role>architect</role>
139        <role>developer</role>
140      </roles>
141      <timezone>-6</timezone>
142      <properties>
143        <picUrl>http://loci.wisc.edu/files/loci/images/people/Aivar.jpg</picUrl>
144      </properties>
145    </developer>
146  </developers>
147
148  <!-- NB: for loci-base, in case of partial checkout -->
149  <repositories>
150    <repository>
151      <id>loci.releases</id>
152      <url>http://dev.loci.wisc.edu/maven2/releases</url>
153    </repository>
154    <repository>
155      <id>loci.snapshots</id>
156      <url>http://dev.loci.wisc.edu/maven2/snapshots</url>
157    </repository>
158  </repositories>
159
160</project>
Note: See TracBrowser for help on using the repository browser.