Skip to content

Commit 5a5acc9

Browse files
committed
Maven release setup
1 parent fd3bbae commit 5a5acc9

File tree

1 file changed

+112
-28
lines changed

1 file changed

+112
-28
lines changed

pom.xml

Lines changed: 112 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,113 @@
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>apporiented.com</groupId>
4-
<artifactId>hierarchical-clustering</artifactId>
5-
<version>1.0</version>
6-
<name>Agglomerative hierarchical clustering</name>
7-
<description>Agglomerative hierarchical clustering analysis and visualization implemented in Java</description>
8-
<build>
9-
<plugins>
10-
<plugin>
11-
<artifactId>maven-compiler-plugin</artifactId>
12-
<version>2.3.2</version>
13-
<configuration>
14-
<source>1.6</source>
15-
<target>1.6</target>
16-
</configuration>
17-
</plugin>
18-
</plugins>
19-
</build>
20-
21-
<dependencies>
22-
<dependency>
23-
<groupId>junit</groupId>
24-
<artifactId>junit</artifactId>
25-
<version>4.11</version>
26-
<scope>test</scope>
27-
</dependency>
28-
</dependencies>
1+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>apporiented.com</groupId>
5+
<artifactId>hierarchical-clustering</artifactId>
6+
<version>1.0</version>
7+
<name>Agglomerative hierarchical clustering</name>
8+
<description>Agglomerative hierarchical clustering analysis and visualization implemented in Java</description>
9+
10+
<properties>
11+
<github.global.server>github</github.global.server>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
</properties>
14+
15+
<licenses>
16+
<license>
17+
<name>Apache License 2.0</name>
18+
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
19+
</license>
20+
</licenses>
21+
22+
<scm>
23+
<url>https://github.com/lbehnke/hierarchical-clustering-java</url>
24+
<connection>scm:git:git://github.com/lbehnke/hierarchical-clustering-java.git</connection>
25+
<developerConnection>scm:git:ssh://[email protected]/lbehnke/hierarchical-clustering-java.git</developerConnection>
26+
<tag>HEAD</tag>
27+
</scm>
28+
29+
<organization>
30+
<name>Lars Behnke</name>
31+
<url>https://github.com/lbehnke</url>
32+
</organization>
33+
34+
<build>
35+
<defaultGoal>install</defaultGoal>
36+
37+
<plugins>
38+
<plugin>
39+
<artifactId>maven-compiler-plugin</artifactId>
40+
<version>3.1</version>
41+
<configuration>
42+
<source>1.6</source>
43+
<target>1.6</target>
44+
</configuration>
45+
</plugin>
46+
47+
<plugin>
48+
<artifactId>maven-jar-plugin</artifactId>
49+
<version>2.5</version>
50+
<configuration>
51+
<archive>
52+
<manifest>
53+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
54+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
55+
<mainClass>
56+
com.apporiented.algorithm.clustering.visualization.DendrogramPanel
57+
</mainClass>
58+
</manifest>
59+
</archive>
60+
</configuration>
61+
</plugin>
62+
63+
<plugin>
64+
<artifactId>maven-source-plugin</artifactId>
65+
<version>2.3</version>
66+
<executions>
67+
<execution>
68+
<goals>
69+
<goal>jar</goal>
70+
</goals>
71+
</execution>
72+
</executions>
73+
</plugin>
74+
75+
<plugin>
76+
<artifactId>maven-surefire-plugin</artifactId>
77+
<version>2.17</version>
78+
<configuration>
79+
<includes>
80+
<include>**/*Test.java</include>
81+
</includes>
82+
</configuration>
83+
</plugin>
84+
85+
<plugin>
86+
<artifactId>maven-release-plugin</artifactId>
87+
<version>2.5.1</version>
88+
<configuration>
89+
<tagNameFormat>v@{project.version}</tagNameFormat>
90+
</configuration>
91+
</plugin>
92+
93+
</plugins>
94+
</build>
95+
96+
<dependencies>
97+
<dependency>
98+
<groupId>junit</groupId>
99+
<artifactId>junit</artifactId>
100+
<version>4.11</version>
101+
<scope>test</scope>
102+
</dependency>
103+
</dependencies>
104+
105+
<distributionManagement>
106+
<repository>
107+
<id>staging-repo</id>
108+
<name>Temporary Staging Repository</name>
109+
<url>file://${project.build.directory}/mvn-repo</url>
110+
</repository>
111+
</distributionManagement>
112+
29113
</project>

0 commit comments

Comments
 (0)