Skip to content

Commit 5365f4d

Browse files
committed
hand-crafted maven pom templates
1 parent 5d96d85 commit 5365f4d

File tree

6 files changed

+208
-0
lines changed

6 files changed

+208
-0
lines changed

pom/hamcrest-all.pom

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="ISO-8859-1"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>org.hamcrest</groupId>
8+
<artifactId>hamcrest-parent</artifactId>
9+
<version>@VERSION@</version>
10+
</parent>
11+
12+
<artifactId>hamcrest-all</artifactId>
13+
<packaging>jar</packaging>
14+
<name>Hamcrest All</name>
15+
<description>
16+
A self-contained hamcrest jar containing all of the sub-modules in a single artifact.
17+
</description>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>com.thoughtworks.qdox</groupId>
22+
<artifactId>qdox</artifactId>
23+
<version>1.12</version>
24+
<optional>true</optional>
25+
</dependency>
26+
</dependencies>
27+
</project>

pom/hamcrest-core.pom

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="ISO-8859-1"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>org.hamcrest</groupId>
8+
<artifactId>hamcrest-parent</artifactId>
9+
<version>@VERSION@</version>
10+
</parent>
11+
12+
<artifactId>hamcrest-core</artifactId>
13+
<packaging>jar</packaging>
14+
<name>Hamcrest Core</name>
15+
<description>
16+
This is the core API of hamcrest matcher framework to be used by third-party framework providers. This includes the a foundation set of matcher implementations for common operations.
17+
</description>
18+
</project>

pom/hamcrest-generator.pom

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="ISO-8859-1"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>org.hamcrest</groupId>
8+
<artifactId>hamcrest-parent</artifactId>
9+
<version>@VERSION@</version>
10+
</parent>
11+
12+
<artifactId>hamcrest-generator</artifactId>
13+
<name>Hamcrest generator</name>
14+
<description>
15+
A tool to allow many Matcher implementations to be combined into a single class so users don't have to remember many classes/packages to import. Generates code.
16+
</description>
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>com.thoughtworks.qdox</groupId>
21+
<artifactId>qdox</artifactId>
22+
<version>1.12</version>
23+
</dependency>
24+
</dependencies>
25+
</project>

pom/hamcrest-integration.pom

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="ISO-8859-1"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>org.hamcrest</groupId>
8+
<artifactId>hamcrest-parent</artifactId>
9+
<version>@VERSION@</version>
10+
</parent>
11+
12+
<artifactId>hamcrest-integration</artifactId>
13+
<packaging>jar</packaging>
14+
<name>Hamcrest Integration</name>
15+
<description>
16+
Provides integration between Hamcrest and other testing tools, including JUnit (3 and 4), TestNG, jMock and EasyMock.
17+
</description>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>org.hamcrest</groupId>
22+
<artifactId>hamcrest-library</artifactId>
23+
<version>@VERSION@</version>
24+
</dependency>
25+
26+
<dependency>
27+
<groupId>jmock</groupId>
28+
<artifactId>jmock</artifactId>
29+
<version>1.1.0</version>
30+
<optional>true</optional>
31+
</dependency>
32+
33+
<dependency>
34+
<groupId>org.easymock</groupId>
35+
<artifactId>easymock</artifactId>
36+
<version>2.2</version>
37+
<optional>true</optional>
38+
</dependency>
39+
</dependencies>
40+
</project>

pom/hamcrest-library.pom

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="ISO-8859-1"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>org.hamcrest</groupId>
8+
<artifactId>hamcrest-parent</artifactId>
9+
<version>@VERSION@</version>
10+
</parent>
11+
12+
<artifactId>hamcrest-library</artifactId>
13+
<packaging>jar</packaging>
14+
<name>Hamcrest library</name>
15+
<description>
16+
Hamcrest library of matcher implementations.
17+
</description>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>org.hamcrest</groupId>
22+
<artifactId>hamcrest-core</artifactId>
23+
<version>@VERSION@</version>
24+
</dependency>
25+
</dependencies>
26+
</project>

pom/hamcrest-parent.pom

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<?xml version="1.0" encoding="ISO-8859-1"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>org.hamcrest</groupId>
7+
<artifactId>hamcrest-parent</artifactId>
8+
<version>@VERSION@</version>
9+
<packaging>pom</packaging>
10+
11+
<name>Hamcrest Maven Parent</name>
12+
<url>https://github.com/hamcrest/JavaHamcrest</url>
13+
<description>General parent POM for all hamcrest libraries.</description>
14+
15+
<licenses>
16+
<license>
17+
<name>New BSD License</name>
18+
<url>http://www.opensource.org/licenses/bsd-license.php</url>
19+
<distribution>repo</distribution>
20+
</license>
21+
</licenses>
22+
23+
<scm>
24+
<url>https://github.com/hamcrest/JavaHamcrest</url>
25+
<connection>scm:git:git@github.com:hamcrest/JavaHamcrest.git</connection>
26+
</scm>
27+
28+
<developers>
29+
<developer>
30+
<id>joe.walnes</id>
31+
<name>Joe Walnes</name>
32+
<roles>
33+
<role>Developer</role>
34+
</roles>
35+
</developer>
36+
<developer>
37+
<id>nat.pryce</id>
38+
<name>Nat Pryce</name>
39+
<roles>
40+
<role>Developer</role>
41+
</roles>
42+
</developer>
43+
<developer>
44+
<id>smgfreeman</id>
45+
<name>Steve Freeman</name>
46+
<roles>
47+
<role>Developer</role>
48+
</roles>
49+
</developer>
50+
<developer>
51+
<id>neildunn</id>
52+
<name>Neil Dunn</name>
53+
<roles>
54+
<role>Developer</role>
55+
</roles>
56+
</developer>
57+
<developer>
58+
<id>scarytom</id>
59+
<name>Tom Denley</name>
60+
<roles>
61+
<role>Developer</role>
62+
</roles>
63+
</developer>
64+
</developers>
65+
66+
<modules>
67+
<module>hamcrest-core</module>
68+
<module>hamcrest-generator</module>
69+
<module>hamcrest-library</module>
70+
<module>hamcrest-integration</module>
71+
</modules>
72+
</project>

0 commit comments

Comments
 (0)