Skip to content

Commit f8323d0

Browse files
committed
polishing pom file
1 parent d30c543 commit f8323d0

File tree

2 files changed

+68
-35
lines changed

2 files changed

+68
-35
lines changed

pom.xml

Lines changed: 67 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!-- Copyright (c) 2014-2016 Janith Bandara, This source is a part of -->
4+
<!-- Audit4j - An open source auditing framework. -->
5+
<!-- http://audit4j.org -->
6+
<!-- -->
7+
<!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
8+
<!-- you may not use this file except in compliance with the License. -->
9+
<!-- You may obtain a copy of the License at -->
10+
<!-- -->
11+
<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
12+
<!-- -->
13+
<!-- Unless required by applicable law or agreed to in writing, software -->
14+
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
15+
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
16+
<!-- See the License for the specific language governing permissions and -->
17+
<!-- limitations under the License. -->
18+
119
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
220
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
321
<modelVersion>4.0.0</modelVersion>
@@ -14,25 +32,6 @@
1432
<url>http://audit4j.org</url>
1533
</organization>
1634

17-
<licenses>
18-
<license>
19-
<name>The Apache Software License, Version 2.0</name>
20-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
21-
<distribution>repo</distribution>
22-
</license>
23-
</licenses>
24-
25-
<issueManagement>
26-
<system>github</system>
27-
<url>https://github.com/audit4j/audit4j-core/issues</url>
28-
</issueManagement>
29-
30-
<scm>
31-
<connection>scm:git:[email protected]:audit4j/audit4j-core.git</connection>
32-
<developerConnection>scm:git:[email protected]:audit4j/audit4j-core.git</developerConnection>
33-
<url>scm:git:[email protected]:audit4j/audit4j-core.git</url>
34-
</scm>
35-
3635
<developers>
3736
<developer>
3837
<id>janithb</id>
@@ -48,23 +47,64 @@
4847
</developer>
4948
</developers>
5049

50+
<licenses>
51+
<license>
52+
<name>The Apache Software License, Version 2.0</name>
53+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
54+
<distribution>repo</distribution>
55+
</license>
56+
</licenses>
57+
58+
<scm>
59+
<connection>scm:git:[email protected]:audit4j/audit4j-core.git</connection>
60+
<developerConnection>scm:git:[email protected]:audit4j/audit4j-core.git</developerConnection>
61+
<url>scm:git:[email protected]:audit4j/audit4j-core.git</url>
62+
</scm>
63+
64+
<issueManagement>
65+
<system>github</system>
66+
<url>https://github.com/audit4j/audit4j-core/issues</url>
67+
</issueManagement>
68+
69+
<ciManagement>
70+
<system>travis-ci</system>
71+
<url>https://travis-ci.org/audit4j/audit4j-core</url>
72+
</ciManagement>
73+
74+
<distributionManagement>
75+
<repository>
76+
<id>oss.sonatype.org</id>
77+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
78+
</repository>
79+
<snapshotRepository>
80+
<id>oss.sonatype.org</id>
81+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
82+
</snapshotRepository>
83+
</distributionManagement>
84+
85+
<properties>
86+
<junit.version>4.12</junit.version>
87+
<mockito.version>1.10.19</mockito.version>
88+
<commons-lang3.version>3.4</commons-lang3.version>
89+
</properties>
90+
5191
<dependencies>
5292
<dependency>
5393
<groupId>junit</groupId>
5494
<artifactId>junit</artifactId>
55-
<version>4.12</version>
95+
<version>${junit.version}</version>
5696
<scope>test</scope>
5797
</dependency>
5898
<dependency>
5999
<groupId>org.mockito</groupId>
60100
<artifactId>mockito-core</artifactId>
61-
<version>1.10.19</version>
101+
<version>${mockito.version}</version>
62102
<scope>test</scope>
63103
</dependency>
64104
<dependency>
65105
<groupId>org.apache.commons</groupId>
66106
<artifactId>commons-lang3</artifactId>
67-
<version>3.4</version>
107+
<version>${commons-lang3.version}</version>
68108
</dependency>
69109
<dependency>
70110
<groupId>commons-net</groupId>
@@ -126,17 +166,6 @@
126166
</dependency>
127167
</dependencies>
128168

129-
<distributionManagement>
130-
<repository>
131-
<id>oss.sonatype.org</id>
132-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
133-
</repository>
134-
<snapshotRepository>
135-
<id>oss.sonatype.org</id>
136-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
137-
</snapshotRepository>
138-
</distributionManagement>
139-
140169
<build>
141170
<plugins>
142171
<plugin>
@@ -192,6 +221,10 @@
192221
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
193222
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
194223
</manifest>
224+
<manifestEntries>
225+
<url>${project.url}</url>
226+
<copyright>2014-2016 Janith Bandara</copyright>
227+
</manifestEntries>
195228
</archive>
196229
</configuration>
197230
</plugin>
@@ -346,7 +379,7 @@
346379
</excludes>
347380
</configuration>
348381
</plugin>
349-
382+
350383
<plugin>
351384
<groupId>org.apache.maven.plugins</groupId>
352385
<artifactId>maven-javadoc-plugin</artifactId>

src/main/java/org/audit4j/core/CoreConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public final class CoreConstants {
3131
public static final String APP_NAME = "Audit4j";
3232

3333
/** The Constant RELEASE_VERSION. */
34-
public static final String RELEASE_VERSION = "2.4.0";
34+
public static final String RELEASE_VERSION = "2.4.1";
3535

3636
/** The Constant RELEASE_DATE. */
3737
public static final String RELEASE_DATE = "2015-11-01T12:40:21.077Z";

0 commit comments

Comments
 (0)