[maven-release-plugin] prepare for next development iteration
[JKLU.git] / pom.xml
blob91829709758fde69074690c107c4bdba859a9ad6
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.1-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     <tag>HEAD</tag>
23   </scm>
25   <issueManagement>
26     <system>GitHub</system>
27     <url>https://github.com/rwl/JKLU/issues/</url>
28   </issueManagement>
30   <ciManagement>
31     <system>Travis</system>
32     <url>http://travis-ci.org/rwl/JKLU</url>
33   </ciManagement>
35   <developers>
36     <developer>
37       <id>rwl</id>
38       <name>Richard Lincoln</name>
39       <email>r.w.lincoln@gmail.com</email>
40     </developer>
41   </developers>
43   <distributionManagement>
44     <repository>
45       <id>sonatype-nexus-staging</id>
46       <name>Sonatype OSS Staging Repository</name>
47       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
48     </repository>
49     <snapshotRepository>
50       <id>sonatype-nexus-snapshots</id>
51       <name>Sonatype OSS Snapshot Repository</name>
52       <url>https://oss.sonatype.org/content/repositories/snapshots</url>
53     </snapshotRepository>
54   </distributionManagement>
56   <properties>
57     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
58   </properties>
60   <dependencies>
61         <dependency>
62                 <groupId>com.github.rwl</groupId>
63                 <artifactId>BTFJ</artifactId>
64                 <version>1.0.1</version>
65         </dependency>
66         <dependency>
67                 <groupId>com.github.rwl</groupId>
68                 <artifactId>AMDJ</artifactId>
69                 <version>1.0.1</version>
70         </dependency>
71         <dependency>
72                 <groupId>com.github.rwl</groupId>
73                 <artifactId>COLAMDJ</artifactId>
74                 <version>1.0.1</version>
75         </dependency>
77         <dependency>
78                 <groupId>net.sourceforge.csparsej</groupId>
79                 <artifactId>csparsej</artifactId>
80                 <version>1.1.1</version>
81                 <scope>test</scope>
82         </dependency>
83         <dependency>
84                 <groupId>net.sourceforge.csparsej</groupId>
85                 <artifactId>csparsej</artifactId>
86                 <version>1.1.1</version>
87                 <type>test-jar</type>
88                 <scope>test</scope>
89         </dependency>
91         <dependency>
92                 <groupId>junit</groupId>
93                 <artifactId>junit</artifactId>
94                 <version>3.8.2</version>
95                 <scope>test</scope>
96         </dependency>
97   </dependencies>
99   <build>
100     <plugins>
101        <plugin>
102          <!-- required for static imports -->
103          <groupId>org.apache.maven.plugins</groupId>
104          <artifactId>maven-compiler-plugin</artifactId>
105          <configuration>
106            <source>1.5</source>
107            <target>1.5</target>
108          </configuration>
109       </plugin>
111       <plugin>
112         <groupId>org.apache.maven.plugins</groupId>
113         <artifactId>maven-surefire-plugin</artifactId>
114         <configuration>
115           <includes>
116             <include>**/test/Dklu_*.java</include>
117           </includes>
118         </configuration>
119       </plugin>
121       <plugin>
122         <groupId>org.apache.maven.plugins</groupId>
123         <artifactId>maven-release-plugin</artifactId>
124         <version>2.3</version>
125         <configuration>
126           <!-- need this for gpg plugin to work correctly -->
127           <mavenExecutorId>forked-path</mavenExecutorId>
128         </configuration>
129       </plugin>
130     </plugins>
131   </build>
133   <profiles>
134     <profile>
135       <id>release-sign-artifacts</id>
136       <activation>
137         <property>
138           <name>performRelease</name>
139           <value>true</value>
140         </property>
141       </activation>
142       <build>
143         <plugins>
144           <plugin>
145             <groupId>org.apache.maven.plugins</groupId>
146             <artifactId>maven-gpg-plugin</artifactId>
147             <version>1.4</version>
148             <executions>
149               <execution>
150                 <id>sign-artifacts</id>
151                 <phase>verify</phase>
152                 <goals>
153                   <goal>sign</goal>
154                 </goals>
155               </execution>
156             </executions>
157           </plugin>
158         </plugins>
159       </build>
160     </profile>
161   </profiles>
163   <reporting>
164     <plugins>
165       <plugin>
166         <groupId>org.apache.maven.plugins</groupId>
167         <artifactId>maven-javadoc-plugin</artifactId>
168         <version>2.8.1</version>
169         <configuration>
170         </configuration>
171       </plugin>
172     </plugins>
173   </reporting>
175 </project>