Setting version number.
[JKLU.git] / pom.xml
blob59acf7dd042f2e36b160577c1642ec26e77ae681
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">
2   <modelVersion>4.0.0</modelVersion>
3   <groupId>com.github.rwl</groupId>
4   <artifactId>JKLU</artifactId>
5   <version>1.0.0-SNAPSHOT</version>
6   <name>JKLU</name>
7   <description>A sparse LU factorization algorithm suited to circuit simulation.</description>
8   <url>http://github.com/rwl/JKLU</url>
10   <licenses>
11     <license>
12       <name>Gnu LGPL</name>
13       <url>http://www.gnu.org/licenses/lgpl-2.1.txt</url>
14       <distribution>repo</distribution>
15     </license>
16   </licenses>
18   <scm>
19     <url>git@github.com:rwl/JKLU.git</url>
20     <connection>scm:git:git@github.com:rwl/JKLU.git</connection>
21     <developerConnection>scm:git:git@github.com:rwl/JKLU.git</developerConnection>
22   </scm>
24   <issueManagement>
25     <system>GitHub</system>
26     <url>https://github.com/rwl/JKLU/issues/</url>
27   </issueManagement>
29   <ciManagement>
30     <system>Travis</system>
31     <url>http://travis-ci.org/rwl/JKLU</url>
32   </ciManagement>
34   <developers>
35     <developer>
36       <id>rwl</id>
37       <name>Richard Lincoln</name>
38       <email>r.w.lincoln@gmail.com</email>
39     </developer>
40   </developers>
42   <distributionManagement>
43     <repository>
44       <id>sonatype-nexus-staging</id>
45       <name>Sonatype OSS Staging Repository</name>
46       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
47     </repository>
48     <snapshotRepository>
49       <id>sonatype-nexus-snapshots</id>
50       <name>Sonatype OSS Snapshot Repository</name>
51       <url>https://oss.sonatype.org/content/repositories/snapshots</url>
52     </snapshotRepository>
53   </distributionManagement>
55   <properties>
56     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
57   </properties>
59   <dependencies>
60         <dependency>
61                 <groupId>com.github.rwl</groupId>
62                 <artifactId>BTFJ</artifactId>
63                 <version>1.0.1</version>
64         </dependency>
65         <dependency>
66                 <groupId>com.github.rwl</groupId>
67                 <artifactId>AMDJ</artifactId>
68                 <version>1.0.1</version>
69         </dependency>
70         <dependency>
71                 <groupId>com.github.rwl</groupId>
72                 <artifactId>COLAMDJ</artifactId>
73                 <version>1.0.1</version>
74         </dependency>
76         <dependency>
77                 <groupId>net.sourceforge.csparsej</groupId>
78                 <artifactId>csparsej</artifactId>
79                 <version>1.1.1</version>
80                 <scope>test</scope>
81         </dependency>
82         <dependency>
83                 <groupId>net.sourceforge.csparsej</groupId>
84                 <artifactId>csparsej</artifactId>
85                 <version>1.1.1</version>
86                 <type>test-jar</type>
87                 <scope>test</scope>
88         </dependency>
90         <dependency>
91                 <groupId>junit</groupId>
92                 <artifactId>junit</artifactId>
93                 <version>3.8.2</version>
94                 <scope>test</scope>
95         </dependency>
96   </dependencies>
98   <build>
99     <plugins>
100        <plugin>
101          <!-- required for static imports -->
102          <groupId>org.apache.maven.plugins</groupId>
103          <artifactId>maven-compiler-plugin</artifactId>
104          <configuration>
105            <source>1.5</source>
106            <target>1.5</target>
107          </configuration>
108       </plugin>
110       <plugin>
111         <groupId>org.apache.maven.plugins</groupId>
112         <artifactId>maven-surefire-plugin</artifactId>
113         <configuration>
114           <includes>
115             <include>**/test/Dklu_*.java</include>
116           </includes>
117         </configuration>
118       </plugin>
120       <plugin>
121         <groupId>org.apache.maven.plugins</groupId>
122         <artifactId>maven-release-plugin</artifactId>
123         <version>2.3</version>
124         <configuration>
125           <!-- need this for gpg plugin to work correctly -->
126           <mavenExecutorId>forked-path</mavenExecutorId>
127         </configuration>
128       </plugin>
129     </plugins>
130   </build>
132   <profiles>
133     <profile>
134       <id>release-sign-artifacts</id>
135       <activation>
136         <property>
137           <name>performRelease</name>
138           <value>true</value>
139         </property>
140       </activation>
141       <build>
142         <plugins>
143           <plugin>
144             <groupId>org.apache.maven.plugins</groupId>
145             <artifactId>maven-gpg-plugin</artifactId>
146             <version>1.4</version>
147             <executions>
148               <execution>
149                 <id>sign-artifacts</id>
150                 <phase>verify</phase>
151                 <goals>
152                   <goal>sign</goal>
153                 </goals>
154               </execution>
155             </executions>
156           </plugin>
157         </plugins>
158       </build>
159     </profile>
160   </profiles>
162   <reporting>
163     <plugins>
164       <plugin>
165         <groupId>org.apache.maven.plugins</groupId>
166         <artifactId>maven-javadoc-plugin</artifactId>
167         <version>2.8.1</version>
168         <configuration>
169         </configuration>
170       </plugin>
171     </plugins>
172   </reporting>
174 </project>