[maven-release-plugin] prepare release COLAMDJ-1.0.1
[COLAMDJ.git] / pom.xml
blob6e48a6ef383056923ccdfdd8c352fb51a3771043
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>COLAMDJ</artifactId>
5   <version>1.0.1</version>
6   <name>COLAMDJ</name>
7   <description>Column approximate minimum degree ordering algorithm.</description>
8   <url>http://github.com/rwl/COLAMDJ</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/COLAMDJ.git</url>
20     <connection>scm:git:git@github.com:rwl/COLAMDJ.git</connection>
21     <developerConnection>scm:git:git@github.com:rwl/COLAMDJ.git</developerConnection>
22     <tag>COLAMDJ-1.0.1</tag>
23   </scm>
25   <developers>
26     <developer>
27       <id>rwl</id>
28       <name>Richard Lincoln</name>
29       <email>r.w.lincoln@gmail.com</email>
30     </developer>
31   </developers>
33   <distributionManagement>
34     <repository>
35       <id>sonatype-nexus-staging</id>
36       <name>Sonatype OSS Staging Repository</name>
37       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
38     </repository>
39     <snapshotRepository>
40       <id>sonatype-nexus-snapshots</id>
41       <name>Sonatype OSS Snapshot Repository</name>
42       <url>https://oss.sonatype.org/content/repositories/snapshots</url>
43     </snapshotRepository>
44   </distributionManagement>
46   <properties>
47     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
48   </properties>
50   <dependencies>
51         <dependency>
52                 <groupId>junit</groupId>
53                 <artifactId>junit</artifactId>
54                 <version>3.8.2</version>
55                 <scope>test</scope>
56         </dependency>
57   </dependencies>
59   <build>
60     <plugins>
61        <plugin>
62          <!-- required for static imports -->
63          <groupId>org.apache.maven.plugins</groupId>
64          <artifactId>maven-compiler-plugin</artifactId>
65          <configuration>
66            <source>1.5</source>
67            <target>1.5</target>
68          </configuration>
69       </plugin>
71       <plugin>
72         <groupId>org.apache.maven.plugins</groupId>
73         <artifactId>maven-surefire-plugin</artifactId>
74         <configuration>
75           <includes>
76             <include>**/test/Dcolamd_*.java</include>
77           </includes>
78         </configuration>
79       </plugin>
81       <plugin>
82         <groupId>org.apache.maven.plugins</groupId>
83         <artifactId>maven-release-plugin</artifactId>
84         <version>2.3</version>
85         <configuration>
86           <!-- need this for gpg plugin to work correctly -->
87           <mavenExecutorId>forked-path</mavenExecutorId>
88         </configuration>
89       </plugin>
90     </plugins>
91   </build>
93   <profiles>
94     <profile>
95       <id>release-sign-artifacts</id>
96       <activation>
97         <property>
98           <name>performRelease</name>
99           <value>true</value>
100         </property>
101       </activation>
102       <build>
103         <plugins>
104           <plugin>
105             <groupId>org.apache.maven.plugins</groupId>
106             <artifactId>maven-gpg-plugin</artifactId>
107             <version>1.4</version>
108             <executions>
109               <execution>
110                 <id>sign-artifacts</id>
111                 <phase>verify</phase>
112                 <goals>
113                   <goal>sign</goal>
114                 </goals>
115               </execution>
116             </executions>
117           </plugin>
118         </plugins>
119       </build>
120     </profile>
121   </profiles>
123 </project>