Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ae5d56a

Browse files
committed
Fully mavenised project. Removed junit jar.
1 parent 57ef396 commit ae5d56a

File tree

5 files changed

+53
-156
lines changed

5 files changed

+53
-156
lines changed

‎.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,8 @@ hs_err_pid*
2121
.classpath
2222
.project
2323
/bin
24+
25+
# IntelliJ
26+
*.iml
27+
/.idea
28+
/out

‎README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ Cookbook of commonly used Java design patterns based on examples from:
66
* "Head First Design Patterns" - Freeman et al
77
* "Java Design Pattern Essentials" - Tony Brevis
88

9-
I'll be adding new patterns to the project on an ad-hoc basis; I have beer to drink and a day job buried in WebRTC :-)
9+
I'll be adding new patterns to the project on an ad-hoc basis.
1010

1111
Each pattern is contained in its own package - the package-info will provide more details and the Test class
12-
will demonstrate how to use it. Check the javadoc folder too.
13-
14-
The tests are written using [JUnit 4](http://junit.org/).
12+
will demonstrate how to use it.
1513

1614
Any comments/bugs/better ways of doing things, send 'em my way.
1715

‎build.xml

Lines changed: 0 additions & 130 deletions
This file was deleted.

‎libs/junit-4.8.2.jar

-232 KB
Binary file not shown.

‎pom.xml

Lines changed: 46 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,58 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.gazbert</groupId>
66
<artifactId>java-design-patterns-cookbook</artifactId>
77
<packaging>jar</packaging>
88
<version>1.0-SNAPSHOT</version>
99
<name>Java Design Patterns Cookbook</name>
10-
<url>http://maven.apache.org</url>
11-
10+
<description>A cookbook of Design Patterns written in Java.</description>
11+
<url>http://github.com/gazbert/java-design-patterns</url>
12+
<inceptionYear>2014</inceptionYear>
13+
14+
<licenses>
15+
<license>
16+
<name>MIT</name>
17+
<url>http://opensource.org/licenses/MIT</url>
18+
</license>
19+
</licenses>
20+
21+
<developers>
22+
<developer>
23+
<id>gazbert</id>
24+
<name>Gareth Jon Lynch</name>
25+
<url>http://github.com/gazbert/</url>
26+
<roles>
27+
<role>architect</role>
28+
<role>developer</role>
29+
</roles>
30+
<timezone>Europe/London</timezone>
31+
</developer>
32+
</developers>
33+
1234
<dependencies>
1335
<dependency>
1436
<groupId>junit</groupId>
1537
<artifactId>junit</artifactId>
16-
<version>4.8.2</version>
38+
<version>4.12</version>
1739
<scope>test</scope>
18-
</dependency>
19-
40+
</dependency>
2041
</dependencies>
21-
42+
2243
<build>
2344
<defaultGoal>clean assembly:assembly</defaultGoal>
2445
<plugins>
25-
46+
2647
<plugin>
2748
<artifactId>maven-compiler-plugin</artifactId>
2849
<version>3.1</version>
2950
<configuration>
30-
<source>1.7</source>
31-
<target>1.7</target>
51+
<source>1.8</source>
52+
<target>1.8</target>
3253
</configuration>
3354
</plugin>
34-
55+
3556
<plugin>
3657
<artifactId>maven-assembly-plugin</artifactId>
3758
<version>2.4</version>
@@ -43,19 +64,22 @@
4364
</plugin>
4465

4566
<plugin>
46-
<groupId>org.apache.maven.plugins</groupId>
47-
<artifactId>maven-javadoc-plugin</artifactId>
48-
<executions>
49-
<execution>
50-
<id>attach-javadocs</id>
51-
<goals>
52-
<goal>jar</goal>
53-
</goals>
54-
</execution>
55-
</executions>
67+
<groupId>org.apache.maven.plugins</groupId>
68+
<artifactId>maven-javadoc-plugin</artifactId>
69+
<configuration>
70+
<additionalparam>-Xdoclint:none</additionalparam>
71+
</configuration>
72+
<executions>
73+
<execution>
74+
<id>attach-javadocs</id>
75+
<goals>
76+
<goal>jar</goal>
77+
</goals>
78+
</execution>
79+
</executions>
5680
</plugin>
5781

5882
</plugins>
5983
</build>
60-
84+
6185
</project>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /